1 #################################
2 # job configuration for pharos
3 #################################
7 - 'pharos-daily-{stream}'
8 - 'pharos-merge-{stream}'
9 - 'pharos-verify-{stream}'
10 - 'pharos-maas-pilot-{stream}'
12 # stream: branch with - in place of / (eg. stable-arno)
13 # branch: branch (eg. stable/arno)
24 ##############################
26 ##############################
28 name: 'pharos-daily-{stream}'
30 # Job template for daily builders
33 # stream: branch with - in place of / (eg. stable)
34 # branch: branch (eg. stable)
36 varsetabove: '{somevar}'
39 daysToKeep: '{build-days-to-keep}'
40 numToKeep: '{build-num-to-keep}'
41 artifactDaysToKeep: '{build-artifact-days-to-keep}'
42 artifactNumToKeep: '{build-artifact-num-to-keep}'
48 gs-pathname: '{gs-pathname}'
52 credentials-id: '{ssh-credentials}'
64 !include-raw ../opnfvdocs/docu-build.sh
70 name: 'pharos-verify-{stream}'
75 artifactDaysToKeep: -1
85 credentials-id: '{ssh-credentials}'
86 refspec: '$GERRIT_REFSPEC'
87 choosing-strategy: 'gerrit'
92 - patchset-created-event:
93 exclude-drafts: 'false'
94 exclude-trivial-rebase: 'false'
95 exclude-no-code-change: 'false'
96 - draft-published-event
97 - comment-added-contains-event:
98 comment-contains-value: 'recheck'
99 - comment-added-contains-event:
100 comment-contains-value: 'reverify'
102 - project-compare-type: 'ANT'
103 project-pattern: 'pharos'
105 - branch-compare-type: 'ANT'
106 branch-pattern: '**/{branch}'
110 !include-raw ../opnfvdocs/docu-build.sh
113 name: 'pharos-merge-{stream}'
115 # builder-merge job to run JJB update
117 # This job's purpose is to update all the JJB
122 artifactDaysToKeep: -1
132 - gerrit-trigger-scm:
133 credentials-id: '{ssh-credentials}'
135 choosing-strategy: 'default'
140 - change-merged-event
141 - comment-added-contains-event:
142 comment-contains-value: 'remerge'
144 - project-compare-type: 'ANT'
145 project-pattern: 'pharos'
147 - branch-compare-type: 'ANT'
148 branch-pattern: '**/{branch}'
152 !include-raw ../opnfvdocs/docu-build.sh
155 name: 'pharos-maas-pilot-{stream}'
159 project-type: freestyle
162 daysToKeep: '{build-days-to-keep}'
163 numToKeep: '{build-num-to-keep}'
164 artifactDaysToKeep: '{build-artifact-days-to-keep}'
165 artifactNumToKeep: '{build-artifact-num-to-keep}'
173 credentials-id: '{ssh-credentials}'
178 - pollscm: '@midnight'
183 ########################
185 ########################
187 name: pharos-parameter
191 default: '{gs-pathname}'
192 description: "Version directory where the pharos documents will be stored in gs repository"
194 ########################
196 #########################
198 name: 'pharos-master'
200 - pollscm: "H 6 * * *"
203 name: 'pharos-stable-arno'
205 - pollscm: "H 18 * * *"