1 ################################
2 # job configuration for Octopus
3 ################################
8 - 'octopus-daily-{stream}'
9 - 'octopus-merge-{stream}'
10 - 'octopus-verify-{stream}'
12 # stream: branch with - in place of / (eg. stable-arno)
13 # branch: branch (eg. stable/arno)
24 ###############################
26 ###############################
31 project-type: freestyle
36 artifactDaysToKeep: -1
41 echo "Hello world from octopus"
44 name: 'octopus-daily-{stream}'
48 # Job template for daily builders
51 # stream: branch with - in place of / (eg. stable)
52 # branch: branch (eg. stable)
54 project-type: freestyle
55 varsetabove: '{somevar}'
58 daysToKeep: '{build-days-to-keep}'
59 numToKeep: '{build-num-to-keep}'
60 artifactDaysToKeep: '{build-artifact-days-to-keep}'
61 artifactNumToKeep: '{build-artifact-num-to-keep}'
67 gs-pathname: '{gs-pathname}'
71 credentials-id: '{ssh-credentials}'
83 !include-raw ../opnfvdocs/docu-build.sh
89 name: 'octopus-verify-{stream}'
93 project-type: freestyle
98 artifactDaysToKeep: -1
107 - gerrit-trigger-scm:
108 credentials-id: '{ssh-credentials}'
109 refspec: '$GERRIT_REFSPEC'
110 choosing-strategy: 'gerrit'
115 - patchset-created-event:
116 exclude-drafts: 'false'
117 exclude-trivial-rebase: 'false'
118 exclude-no-code-change: 'false'
119 - draft-published-event
120 - comment-added-contains-event:
121 comment-contains-value: 'recheck'
122 - comment-added-contains-event:
123 comment-contains-value: 'reverify'
125 - project-compare-type: 'ANT'
126 project-pattern: 'octopus'
128 - branch-compare-type: 'ANT'
129 branch-pattern: '**/{branch}'
133 !include-raw ../opnfvdocs/docu-build.sh
136 name: 'octopus-merge-{stream}'
140 # builder-merge job to run JJB update
142 # This job's purpose is to update all the JJB
144 project-type: freestyle
149 artifactDaysToKeep: -1
159 - gerrit-trigger-scm:
160 credentials-id: '{ssh-credentials}'
162 choosing-strategy: 'default'
168 - change-merged-event
169 - comment-added-contains-event:
170 comment-contains-value: 'remerge'
172 - project-compare-type: 'ANT'
173 project-pattern: 'octopus'
175 - branch-compare-type: 'ANT'
176 branch-pattern: '**/{branch}'
180 !include-raw ../opnfvdocs/docu-build.sh
183 ########################
185 #########################
187 name: octopus-parameter
191 default: '{gs-pathname}'
192 description: "Version directory where the octopus will be stored in gs repository"
194 #########################
196 #########################
198 name: 'octopus-master'
200 - pollscm: "H 7 * * *"
203 name: 'octopus-stable-arno'
205 - pollscm: "H 19 * * *"