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