blob: 3369ad5fdce20eed1ae61ab2e2398e07f8fd0295 [file] [log] [blame]
Zack Williams92f9b1f2018-04-11 09:58:49 -07001---
2# CORD API tests using cord-tester
3
4- job-template:
5 id: api-test
6 name: 'verify_{project}_api-test'
7 description: |
8 <!-- Managed by Jenkins Job Builder -->
9 Created by api-test job-template from ci-management/jjb/api-test.yaml
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 Williamsc27ca2d2018-04-11 13:16:45 -070016 file-include-regexp: '{all-files-regexp}'
Zack Williams92f9b1f2018-04-11 09:58:49 -070017 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 node: 'ubuntu16.04-basebuild-4c-8g'
30 project-type: pipeline
31 concurrent: true
32
33 # Run the master branch Jenkinsfile from cord-tester against all other revisions
34 pipeline-scm:
Zack Williamsc27ca2d2018-04-11 13:16:45 -070035 script-path: 'Jenkinsfile/verify-api-tests-JenkinsFile'
Zack Williams92f9b1f2018-04-11 09:58:49 -070036 scm:
37 - git:
38 url: '{gerrit-server-url}/cord-tester'
39 branches:
40 - 'master'