Zack Williams | 92f9b1f | 2018-04-11 09:58:49 -0700 | [diff] [blame] | 1 | --- |
| 2 | # CORD API tests using cord-tester |
| 3 | |
| 4 | - job-template: |
| 5 | id: api-test |
Zack Williams | 9d68aa3 | 2018-07-12 11:50:37 -0700 | [diff] [blame] | 6 | name: 'verify_{project}{name-extension}_api-test' |
Zack Williams | 92f9b1f | 2018-04-11 09:58:49 -0700 | [diff] [blame] | 7 | description: | |
Zack Williams | 0efdd26 | 2018-06-28 14:17:29 -0700 | [diff] [blame] | 8 | Created by {id} job-template from ci-management/jjb/api-test.yaml, using pipeline: {pipeline_script} |
| 9 | |
Zack Williams | 92f9b1f | 2018-04-11 09:58:49 -0700 | [diff] [blame] | 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}' |
Zack Williams | c27ca2d | 2018-04-11 13:16:45 -0700 | [diff] [blame] | 16 | file-include-regexp: '{all-files-regexp}' |
Zack Williams | 92f9b1f | 2018-04-11 09:58:49 -0700 | [diff] [blame] | 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 | |
Kailash Khalasi | f0cb082 | 2018-05-18 13:08:02 -0700 | [diff] [blame] | 29 | parameters: |
| 30 | - string: |
| 31 | name: executorNode |
| 32 | default: 'ubuntu16.04-basebuild-4c-8g' |
| 33 | description: 'Name of the Jenkins node to run the job on' |
| 34 | |
| 35 | - string: |
| 36 | name: manifestUrl |
| 37 | default: '{gerrit-server-url}/{cord-repo-manifest}' |
| 38 | description: 'URL to the repo manifest' |
| 39 | |
| 40 | - string: |
| 41 | name: manifestBranch |
| 42 | default: '$GERRIT_BRANCH' |
| 43 | description: 'Name of the repo branch to use' |
| 44 | |
| 45 | - string: |
| 46 | name: gerritProject |
| 47 | default: '$GERRIT_PROJECT' |
| 48 | description: 'Name of the Gerrit project' |
| 49 | |
| 50 | - string: |
| 51 | name: gerritChangeNumber |
| 52 | default: '$GERRIT_CHANGE_NUMBER' |
| 53 | description: 'Changeset number in Gerrit' |
| 54 | |
| 55 | - string: |
| 56 | name: gerritPatchsetNumber |
| 57 | default: '$GERRIT_PATCHSET_NUMBER' |
| 58 | description: 'PatchSet number in Gerrit' |
| 59 | |
Zack Williams | 92f9b1f | 2018-04-11 09:58:49 -0700 | [diff] [blame] | 60 | project-type: pipeline |
| 61 | concurrent: true |
| 62 | |
Kailash Khalasi | f4c0fa9 | 2018-05-30 14:11:58 -0700 | [diff] [blame] | 63 | dsl: !include-raw-escape: pipeline/{pipeline_script} |