screwdriver-data-schema 23.7.0 → 23.8.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.
Files changed (2) hide show
  1. package/config/regex.js +2 -0
  2. package/package.json +1 -1
package/config/regex.js CHANGED
@@ -45,6 +45,8 @@ module.exports = {
45
45
  JOB_NAME: /^(([\w-]+)|(?:stage@([\w-]+):(setup|teardown)))$/,
46
46
  // PR JOB Name can only be PR-1 or PR-1:main, group1: PR-prNum, group2: jobName
47
47
  PR_JOB_NAME: /^(PR-\d+)(?::([\w-]+))?$/,
48
+ // Stage setup or teardown job name. Can be stage@stage-name:setup or stage@stage-name:teardown
49
+ STAGE_SETUP_TEARDOWN_JOB_NAME: /^stage@([\w-]+):(setup|teardown)$/,
48
50
  // Match all possible job name
49
51
  ALL_JOB_NAME: /^(PR-[0-9]+:)?[\w-@:]+$/,
50
52
  // Internal trigger like ~component or ~main
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "screwdriver-data-schema",
3
- "version": "23.7.0",
3
+ "version": "23.8.0",
4
4
  "description": "Internal Data Schema of Screwdriver",
5
5
  "main": "index.js",
6
6
  "scripts": {