Rename jjb-verify and jjb-merge files
[infra/cicd.git] / jjb / infra / jjb-merge-jobs.yaml
1 ---
2 # this job gets triggered when a change is merged in cicd/jjb
3 # the updates to the jobs are deployed to jenkins using jenkins-jobs update command
4 # result will be send to Gerrit in the form of a comment
5 - project:
6
7     name: infra-jjb-merge
8
9     project: infra/cicd
10
11     stream:
12       - master:
13           branch: '{stream}'
14
15     jobs:
16       - infra-jjb-merge-{stream}
17
18
19 - job-template:
20     name: infra-jjb-merge-{stream}
21
22     node: ubuntu1804
23
24     disabled: false
25
26     concurrent: false
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:
37           branch: '{branch}'
38           refspec: ''
39
40     triggers:
41       - nordix-gerrit-trigger-change-merged:
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-merge.sh