1 #################################
2 # job configuration for pharos
3 #################################
8 - 'pharos-daily-{stream}'
9 - 'pharos-merge-{stream}'
10 - 'pharos-verify-{stream}'
12 # stream: branch with - in place of / (eg. stable-arno)
13 # branch: branch (eg. stable/arno)
24 ##############################
26 ##############################
30 project-type: freestyle
35 artifactDaysToKeep: -1
40 echo "Hello world from pharos"
43 name: 'pharos-daily-{stream}'
47 # Job template for daily builders
50 # stream: branch with - in place of / (eg. stable)
51 # branch: branch (eg. stable)
53 project-type: freestyle
54 varsetabove: '{somevar}'
57 daysToKeep: '{build-days-to-keep}'
58 numToKeep: '{build-num-to-keep}'
59 artifactDaysToKeep: '{build-artifact-days-to-keep}'
60 artifactNumToKeep: '{build-artifact-num-to-keep}'
66 gs-pathname: '{gs-pathname}'
70 credentials-id: '{ssh-credentials}'
82 !include-raw ../opnfvdocs/docu-build.sh
88 name: 'pharos-verify-{stream}'
92 project-type: freestyle
97 artifactDaysToKeep: -1
106 - gerrit-trigger-scm:
107 credentials-id: '{ssh-credentials}'
108 refspec: '$GERRIT_REFSPEC'
109 choosing-strategy: 'gerrit'
114 - patchset-created-event:
115 exclude-drafts: 'false'
116 exclude-trivial-rebase: 'false'
117 exclude-no-code-change: 'false'
118 - draft-published-event
119 - comment-added-contains-event:
120 comment-contains-value: 'recheck'
121 - comment-added-contains-event:
122 comment-contains-value: 'reverify'
124 - project-compare-type: 'ANT'
125 project-pattern: 'pharos'
127 - branch-compare-type: 'ANT'
128 branch-pattern: '**/{branch}'
132 !include-raw ../opnfvdocs/docu-build.sh
135 name: 'pharos-merge-{stream}'
139 # builder-merge job to run JJB update
141 # This job's purpose is to update all the JJB
143 project-type: freestyle
148 artifactDaysToKeep: -1
158 - gerrit-trigger-scm:
159 credentials-id: '{ssh-credentials}'
161 choosing-strategy: 'default'
166 - change-merged-event
167 - comment-added-contains-event:
168 comment-contains-value: 'remerge'
170 - project-compare-type: 'ANT'
171 project-pattern: 'pharos'
173 - branch-compare-type: 'ANT'
174 branch-pattern: '**/{branch}'
178 !include-raw ../opnfvdocs/docu-build.sh
180 ########################
182 ########################
184 name: pharos-parameter
188 default: '{gs-pathname}'
189 description: "Version directory where the pharos documents will be stored in gs repository"
191 ########################
193 #########################
195 name: 'pharos-master'
197 - pollscm: "H 6 * * *"
200 name: 'pharos-stable-arno'
202 - pollscm: "H 18 * * *"