Tucker McKnight
Change "regex" to "glob" The goal here is to allow branch names -- and eventually tag names -- to be specified as a glob instead of a specific string. So that way people can say "generate pages for everything matching release/**" or "the 20 most recent tags matching "v1*" and "v2*" etc.
5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27
"artifactSteps": {
"items": {
"additionalProperties": false,
"properties": {
"command": {
"type": "string"
},
"copyFrom": {
"type": "string"
},
"copyTo": {
"type": "string"
}
},
"required": [
"command",
"copyFrom",
"copyTo"
],
"type": "object"
},
"type": "array"
},
5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27
37 38 39 40
},
"regex": {
"type": "string"
"regex",
37 38 39 40
"glob": {
"type": "string"
},
"glob",
54
54
"buildSteps": {
"items": {
"additionalProperties": false,
"properties": {
"command": {
"type": "string"
},
"copyFrom": {
"type": "string"
},
"copyTo": {
"type": "string"
}
},
"required": [
"command",
"copyFrom",
"copyTo"
],
"type": "object"
},
"type": "array"
},
109 110 111 112
},
"regex": {
"type": "string"
"regex",
109 110 111 112
"glob": {
"type": "string"
},
"glob",
53 54 55 56 57 58
branchesToPull: Array<string | {regex: string, max: number}>,
tags?: Array<string | {regex: string, max: number}>,
buildSteps?:
command: string,
copyFrom: string,
copyTo: string,
53 54 55 56 57 58
branchesToPull: Array<string | {glob: string, max: number}>,
tags?: Array<string | {glob: string, max: number}>,
buildSteps?: {
command: string,
copyFrom: string,
copyTo: string,