OPENDEV: Add additional parameters to SCM module
[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           ssh-credentials-id: nordixinfra-nordix-gerrit-ssh
38           branch: '{branch}'
39           refspec: $GERRIT_REFSPEC
40           wipe_workspace: true
41           clean_before: false
42
43     triggers:
44       - nordix-gerrit-trigger-patchset-created:
45           project: '{project}'
46           branch: '{branch}'
47           files: 'jjb/**'
48           skip-vote:
49             successful: false
50             failed: false
51             unstable: false
52             notbuilt: false
53
54     wrappers:
55       - nordixinfra-jjb-creds-wrapper
56
57     builders:
58       - shell:
59           !include-raw-escape: ./jjb-verify.sh