Fix git-scm configuration
[infra/cicd.git] / jjb / infra / jjb-merge.yaml
1 ---
2 - project:
3
4     name: infra-jjb-merge
5
6     project: infra/cicd
7
8     stream:
9       - master:
10           branch: '{stream}'
11
12     jobs:
13       - infra-jjb-merge-{stream}
14
15
16 - job-template:
17     name: infra-jjb-merge-{stream}
18
19     node: ubuntu1804
20
21     disabled: false
22
23     concurrent: false
24
25     parameters:
26       - infra-parameters
27       - project-parameters:
28           project: '{project}'
29           branch: '{branch}'
30       - nordix-gerrit-parameters
31
32     scm:
33       - git-scm:
34           branch: '{branch}'
35           refspec: ''
36
37     triggers:
38       - nordix-gerrit-trigger-change-merged:
39           project: '{project}'
40           branch: '{branch}'
41           files: 'jjb/**'
42
43     wrappers:
44       - nordixinfra-jjb-creds-wrapper
45
46     builders:
47       - shell:
48           !include-raw-escape: ./jjb-merge.sh