blob: 815d54be80edd31fad7a6f64570d2ccb07f4d3b6 [file] [log] [blame]
---
# CORD API tests using cord-tester, triggered by merge or schedule
- job-template:
id: triggered-api-test
name: 'verify_{project}{name-extension}_triggered-api-test'
description: |
Triggers an api test in a pipeline post-merge and on a schedule.
Created by {id} job-template from ci-management/jjb/triggered-api-test.yaml, using script: {pipeline-script}
triggers:
- cord-infra-gerrit-trigger-merge:
gerrit-server-name: '{gerrit-server-name}'
project-regexp: '^{project}$'
branch-regexp: '^{branch}$'
file-include-regexp: '{all-files-regexp}'
dependency-jobs: '{dependency-jobs}'
- timed: '{timed-trigger}'
properties:
- cord-infra-properties:
build-days-to-keep: '{build-days-to-keep}'
artifact-num-to-keep: '{artifact-num-to-keep}'
wrappers:
- lf-infra-wrappers:
build-timeout: '60'
jenkins-ssh-credential: '{jenkins-ssh-credential}'
parameters:
- string:
name: buildNode
default: 'ubuntu18.04-basebuild-4c-8g'
description: 'Name of the Jenkins node to run the job on'
- string:
name: manifestUrl
default: '{gerrit-server-url}/{cord-repo-manifest}'
description: 'URL to the repo manifest'
- string:
name: manifestBranch
default: '{branch}'
description: 'Name of the repo branch to use'
project-type: pipeline
concurrent: true
dsl: !include-raw-escape: pipeline/{pipeline-script}
# [EOF]