Rename jjb-verify and jjb-merge files
[infra/cicd.git] / jjb / infra / jjb-verify-jobs.yaml
1 ---
2 # this job gets triggered when a change is proposed to cicd/jjb
3 # the change is verified using jenkins-jobs test command
4 # result will be send to Gerrit in the form of Verified +1 or -1
5 - project:
6
7     name: infra-jjb-verify
8
9     project: infra/cicd
10
11     stream:
12       - master:
13           branch: '{stream}'
14
15     jobs:
16       - infra-jjb-verify-{stream}
17
18
19 - job-template:
20     name: infra-jjb-verify-{stream}
21
22     node: ubuntu1804
23
24     disabled: false
25
26     concurrent: true
27
28     parameters:
29       - infra-parameters
30       - project-parameters:
31           project: '{project}'
32           branch: '{branch}'
33       - nordix-gerrit-parameters
34
35     scm:
36       - git-scm-gerrit:
37           branch: '{branch}'
38           refspec: $GERRIT_REFSPEC
39
40     triggers:
41       - nordix-gerrit-trigger-patchset-created:
42           project: '{project}'
43           branch: '{branch}'
44           files: 'jjb/**'
45
46     wrappers:
47       - nordixinfra-jjb-creds-wrapper
48
49     builders:
50       - shell:
51           !include-raw-escape: ./jjb-verify.sh