blob: 8e4cc339511d60474d0ea4a6585e19870dc01ab2 [file] [log] [blame]
Zack Williams641d1492018-08-17 13:31:53 -07001---
2# CORD API tests using cord-tester, triggered by merge or schedule
3
4- job-template:
5 id: triggered-api-test
6 name: 'verify_{project}{name-extension}_triggered-api-test'
7 description: |
Zack Williams50d451e2018-09-24 12:20:23 -07008 Triggers an api test in a pipeline post-merge and on a schedule.
Zack Williamsb3292082019-10-11 17:15:18 -07009 Created by {id} job-template from ci-management/jjb/triggered-api-test.yaml, using script: {pipeline-script}
Zack Williams641d1492018-08-17 13:31:53 -070010
11 triggers:
12 - cord-infra-gerrit-trigger-merge:
13 gerrit-server-name: '{gerrit-server-name}'
14 project-regexp: '^{project}$'
Zack Williams50d451e2018-09-24 12:20:23 -070015 branch-regexp: '^{branch}$'
Zack Williams641d1492018-08-17 13:31:53 -070016 file-include-regexp: '{all-files-regexp}'
17 dependency-jobs: '{dependency-jobs}'
18 - timed: '{timed-trigger}'
19
20 properties:
21 - cord-infra-properties:
22 build-days-to-keep: '{build-days-to-keep}'
23 artifact-num-to-keep: '{artifact-num-to-keep}'
24
25 wrappers:
26 - lf-infra-wrappers:
27 build-timeout: '60'
28 jenkins-ssh-credential: '{jenkins-ssh-credential}'
29
30 parameters:
31 - string:
Zack Williamsb3292082019-10-11 17:15:18 -070032 name: buildNode
Hung-Wei Chiuf6cbde22021-04-22 22:15:23 -070033 default: 'ubuntu18.04-basebuild-4c-8g'
hwchiu14f97852019-10-08 10:51:11 -070034 description: 'Name of the Jenkins node to run the job on'
Zack Williams641d1492018-08-17 13:31:53 -070035
36 - string:
hwchiu14f97852019-10-08 10:51:11 -070037 name: manifestUrl
38 default: '{gerrit-server-url}/{cord-repo-manifest}'
39 description: 'URL to the repo manifest'
Zack Williams641d1492018-08-17 13:31:53 -070040
41 - string:
hwchiu14f97852019-10-08 10:51:11 -070042 name: manifestBranch
43 default: '{branch}'
44 description: 'Name of the repo branch to use'
Zack Williams641d1492018-08-17 13:31:53 -070045
46 project-type: pipeline
47 concurrent: true
48
Zack Williamsb3292082019-10-11 17:15:18 -070049 dsl: !include-raw-escape: pipeline/{pipeline-script}