Zack Williams | 15bc4a5 | 2018-07-23 15:31:58 -0700 | [diff] [blame] | 1 | --- |
| 2 | # CORD API tests through synchronizer updates |
| 3 | |
| 4 | - job-template: |
| 5 | id: synchronizer-update |
| 6 | name: 'verify_{project}_synchronizer-update' |
| 7 | description: | |
| 8 | Created by {id} job-template from ci-management/jjb/xos-synchronizer-update.yaml |
| 9 | |
| 10 | triggers: |
| 11 | - cord-infra-gerrit-trigger-patchset: |
| 12 | gerrit-server-name: '{gerrit-server-name}' |
| 13 | project-regexp: '^{project}$' |
| 14 | branch-regexp: '{branch-regexp}' |
Zack Williams | ba2aea0 | 2018-12-17 22:37:45 -0700 | [diff] [blame] | 15 | file-include-regexp: '{code-files-regexp}' |
Zack Williams | 15bc4a5 | 2018-07-23 15:31:58 -0700 | [diff] [blame] | 16 | dependency-jobs: '{dependency-jobs}' |
| 17 | |
| 18 | properties: |
| 19 | - cord-infra-properties: |
| 20 | build-days-to-keep: '{build-days-to-keep}' |
| 21 | artifact-num-to-keep: '{artifact-num-to-keep}' |
| 22 | |
| 23 | wrappers: |
| 24 | - lf-infra-wrappers: |
| 25 | build-timeout: '60' |
| 26 | jenkins-ssh-credential: '{jenkins-ssh-credential}' |
| 27 | |
| 28 | parameters: |
| 29 | - string: |
Zack Williams | b329208 | 2019-10-11 17:15:18 -0700 | [diff] [blame] | 30 | name: buildNode |
Hung-Wei Chiu | f6cbde2 | 2021-04-22 22:15:23 -0700 | [diff] [blame] | 31 | default: 'ubuntu18.04-basebuild-4c-8g' |
hwchiu | 14f9785 | 2019-10-08 10:51:11 -0700 | [diff] [blame] | 32 | description: 'Name of the Jenkins node to run the job on' |
Zack Williams | 15bc4a5 | 2018-07-23 15:31:58 -0700 | [diff] [blame] | 33 | |
| 34 | - string: |
hwchiu | 14f9785 | 2019-10-08 10:51:11 -0700 | [diff] [blame] | 35 | name: manifestUrl |
| 36 | default: '{gerrit-server-url}/{cord-repo-manifest}' |
| 37 | description: 'URL to the repo manifest' |
Zack Williams | 15bc4a5 | 2018-07-23 15:31:58 -0700 | [diff] [blame] | 38 | |
| 39 | - string: |
hwchiu | 14f9785 | 2019-10-08 10:51:11 -0700 | [diff] [blame] | 40 | name: manifestBranch |
| 41 | default: '$GERRIT_BRANCH' |
| 42 | description: 'Name of the repo branch to use' |
Zack Williams | 15bc4a5 | 2018-07-23 15:31:58 -0700 | [diff] [blame] | 43 | |
| 44 | - string: |
hwchiu | 14f9785 | 2019-10-08 10:51:11 -0700 | [diff] [blame] | 45 | name: gerritProject |
| 46 | default: '$GERRIT_PROJECT' |
| 47 | description: 'Name of the Gerrit project' |
Zack Williams | 15bc4a5 | 2018-07-23 15:31:58 -0700 | [diff] [blame] | 48 | |
| 49 | - string: |
hwchiu | 14f9785 | 2019-10-08 10:51:11 -0700 | [diff] [blame] | 50 | name: gerritChangeNumber |
| 51 | default: '$GERRIT_CHANGE_NUMBER' |
| 52 | description: 'Changeset number in Gerrit' |
Zack Williams | 15bc4a5 | 2018-07-23 15:31:58 -0700 | [diff] [blame] | 53 | |
| 54 | - string: |
hwchiu | 14f9785 | 2019-10-08 10:51:11 -0700 | [diff] [blame] | 55 | name: gerritPatchsetNumber |
| 56 | default: '$GERRIT_PATCHSET_NUMBER' |
| 57 | description: 'PatchSet number in Gerrit' |
Zack Williams | 15bc4a5 | 2018-07-23 15:31:58 -0700 | [diff] [blame] | 58 | |
| 59 | project-type: pipeline |
| 60 | concurrent: true |
| 61 | |
| 62 | dsl: !include-raw-escape: pipeline/xos-synchronizer-update.groovy |