Merge "jjb: fix output path in docs uploader"
[releng.git] / jjb / kvmfornfv / kvmfornfv.yml
1 - project:
2     name: kvmfornfv
3     jobs:
4         - 'kvmfornfv-verify-{stream}'
5         - 'kvmfornfv-merge-{stream}'
6
7     # stream:    branch with - in place of / (eg. stable-arno)
8     # branch:    branch (eg. stable/arno)
9     stream:
10         - master:
11             branch: 'master'
12
13     project: 'kvmfornfv'
14
15 - job-template:
16     name: 'kvmfornfv-verify-{stream}'
17
18     node: ericsson-build
19
20     logrotate:
21         daysToKeep: 30
22         numToKeep: 10
23         artifactDaysToKeep: -1
24         artifactNumToKeep: -1
25
26     parameters:
27         - project-parameter:
28             project: '{project}'
29         - gerrit-parameter:
30             branch: 'master'
31         - string:
32             name: GIT_BASE
33             default: https://gerrit.opnfv.org/gerrit/$PROJECT
34             description: "Used for overriding the GIT URL coming from Global Jenkins configuration in case if the stuff is done on none-LF HW."
35
36     scm:
37         - gerrit-trigger-scm:
38             credentials-id: '{ssh-credentials}'
39             refspec: '$GERRIT_REFSPEC'
40             choosing-strategy: 'gerrit'
41
42     triggers:
43         - gerrit:
44             trigger-on:
45                 - patchset-created-event:
46                     exclude-drafts: 'false'
47                     exclude-trivial-rebase: 'false'
48                     exclude-no-code-change: 'false'
49                 - draft-published-event
50                 - comment-added-contains-event:
51                     comment-contains-value: 'recheck'
52                 - comment-added-contains-event:
53                     comment-contains-value: 'reverify'
54             projects:
55               - project-compare-type: 'ANT'
56                 project-pattern: 'kvmfornfv'
57                 branches:
58                   - branch-compare-type: 'ANT'
59                     branch-pattern: '**/master'
60
61     builders:
62         - shell:
63             !include-raw ./kvmfornfv-build.sh
64
65 - job-template:
66     name: 'kvmfornfv-merge-{stream}'
67
68     # builder-merge job to run JJB update
69     #
70     # This job's purpose is to update all the JJB
71
72     node: ericsson-build
73
74     logrotate:
75         daysToKeep: 30
76         numToKeep: 40
77         artifactDaysToKeep: -1
78         artifactNumToKeep: 5
79
80     parameters:
81         - project-parameter:
82             project: '{project}'
83         - gerrit-parameter:
84             branch: 'master'
85         - string:
86             name: GIT_BASE
87             default: https://gerrit.opnfv.org/gerrit/$PROJECT
88             description: "Used for overriding the GIT URL coming from Global Jenkins configuration in case if the stuff is done on none-LF HW."
89
90     scm:
91         - gerrit-trigger-scm:
92             credentials-id: '{ssh-credentials}'
93             refspec: ''
94             choosing-strategy: 'default'
95
96     triggers:
97         - gerrit:
98             trigger-on:
99                 - change-merged-event
100                 - comment-added-contains-event:
101                     comment-contains-value: 'remerge'
102             projects:
103               - project-compare-type: 'ANT'
104                 project-pattern: 'kvmfornfv'
105                 branches:
106                     - branch-compare-type: 'ANT'
107                       branch-pattern: '**/master'
108
109     builders:
110         - shell:
111             !include-raw ./kvmfornfv-build.sh