screwdriver-data-schema 21.15.0 → 21.16.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/core/scm.js +16 -1
- package/package.json +1 -1
- package/plugins/scm.js +1 -1
package/core/scm.js
CHANGED
|
@@ -251,7 +251,22 @@ const SCHEMA_HOOK = Joi.object()
|
|
|
251
251
|
releaseAuthor: Joi.string()
|
|
252
252
|
.allow('')
|
|
253
253
|
.optional()
|
|
254
|
-
.label('Author of the event')
|
|
254
|
+
.label('Author of the event'),
|
|
255
|
+
|
|
256
|
+
addedFiles: Joi.array()
|
|
257
|
+
.items(Joi.string().allow(''))
|
|
258
|
+
.optional()
|
|
259
|
+
.label('Added files of head commit'),
|
|
260
|
+
|
|
261
|
+
modifiedFiles: Joi.array()
|
|
262
|
+
.items(Joi.string().allow(''))
|
|
263
|
+
.optional()
|
|
264
|
+
.label('Modified files of head commit'),
|
|
265
|
+
|
|
266
|
+
removedFiles: Joi.array()
|
|
267
|
+
.items(Joi.string().allow(''))
|
|
268
|
+
.optional()
|
|
269
|
+
.label('Removed files of head commit')
|
|
255
270
|
})
|
|
256
271
|
.label('SCM Hook');
|
|
257
272
|
|
package/package.json
CHANGED