blob: d3bcff7606c8895b7e42c26fb47fb716df82a853 [file] [log] [blame]
Zack Williams96953b22018-04-16 15:27:40 -07001---
2# release and repo manifest related jobs
3
4- job-template:
5 id: verify-repo-manifest
6 name: 'verify_{project}_repo-manifest'
7 description: |
8 <!-- Managed by Jenkins Job Builder -->
9 Created by verify-repo-manifest job-template from ci-management/jjb/release.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}'
16 file-include-regexp: '{all-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: '{build-timeout}'
27 jenkins-ssh-credential: '{jenkins-ssh-credential}'
28
29 scm:
30 - lf-infra-gerrit-scm:
31 git-url: '$GIT_URL/$GERRIT_PROJECT'
32 refspec: '$GERRIT_REFSPEC'
33 branch: '$GERRIT_BRANCH'
34 submodule-recursive: 'false'
35 choosing-strategy: gerrit
36 jenkins-ssh-credential: '{jenkins-ssh-credential}'
37
38 node: '{build-node}'
39 project-type: freestyle
40 concurrent: true
41
42 builders:
43 - shell: |
44 #/usr/bin/env bash
45 set -eu -o pipefail
46 ./validate_manifest.sh
47