You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The type of the [SCM Data Generator](#scm-data-generator) to be used
70
+
71
+
*Default:* GitScmDataGenerator
72
+
73
+
You can set this to `null` if you don't want any Scm Data Generator to be used.
74
+
75
+
You can also pass your own custom scm generator class.
76
+
64
77
## Data Generators
65
78
66
79
Data generators are the strategies used to generate information about the revision being deployed. A data generator must return an object which contains a property called `revisionKey` which uniquely identifies the current revision. A generator can add any other data that it deems relevant to the data object that it returns.
@@ -155,6 +168,36 @@ The file containing your project's version number. Must be a JSON file with a to
155
168
156
169
*Default:*`package.json`
157
170
171
+
## SCM Data Generators
172
+
173
+
SCM Data generators are the strategies used to collect extra information about the revision being deployed. An scm data generator must return an object which contains properties that it deems relevant to the revision being deployed .
174
+
175
+
### Git generator
176
+
177
+
This generator uses the information available from the git repository of your ember-cli application.
178
+
179
+
#### Data fields returned
180
+
181
+
##### sha
182
+
183
+
The SHA of the commit being deployed
184
+
185
+
##### email
186
+
187
+
Committer's email
188
+
189
+
##### name
190
+
191
+
Committer's name
192
+
193
+
##### branch
194
+
195
+
Git branch being deployed
196
+
197
+
##### timestamp
198
+
199
+
Commit's timestamp
200
+
158
201
## Prerequisites
159
202
160
203
The following properties are expected to be present on the deployment `context` object:
0 commit comments