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 ###############################
34 artifactDaysToKeep: -1
39 echo "Hello world from octopus"
42 name: 'octopus-daily-{stream}'
46 # Job template for daily builders
49 # stream: branch with - in place of / (eg. stable)
50 # branch: branch (eg. stable)
52 varsetabove: '{somevar}'
55 daysToKeep: '{build-days-to-keep}'
56 numToKeep: '{build-num-to-keep}'
57 artifactDaysToKeep: '{build-artifact-days-to-keep}'
58 artifactNumToKeep: '{build-artifact-num-to-keep}'
64 gs-pathname: '{gs-pathname}'
68 credentials-id: '{ssh-credentials}'
80 !include-raw ../opnfvdocs/docu-build.sh
86 name: 'octopus-verify-{stream}'
93 artifactDaysToKeep: -1
102 - gerrit-trigger-scm:
103 credentials-id: '{ssh-credentials}'
104 refspec: '$GERRIT_REFSPEC'
105 choosing-strategy: 'gerrit'
110 - patchset-created-event:
111 exclude-drafts: 'false'
112 exclude-trivial-rebase: 'false'
113 exclude-no-code-change: 'false'
114 - draft-published-event
115 - comment-added-contains-event:
116 comment-contains-value: 'recheck'
117 - comment-added-contains-event:
118 comment-contains-value: 'reverify'
120 - project-compare-type: 'ANT'
121 project-pattern: 'octopus'
123 - branch-compare-type: 'ANT'
124 branch-pattern: '**/{branch}'
128 !include-raw ../opnfvdocs/docu-build.sh
131 name: 'octopus-merge-{stream}'
135 # builder-merge job to run JJB update
137 # This job's purpose is to update all the JJB
142 artifactDaysToKeep: -1
152 - gerrit-trigger-scm:
153 credentials-id: '{ssh-credentials}'
155 choosing-strategy: 'default'
160 - change-merged-event
161 - comment-added-contains-event:
162 comment-contains-value: 'remerge'
164 - project-compare-type: 'ANT'
165 project-pattern: 'octopus'
167 - branch-compare-type: 'ANT'
168 branch-pattern: '**/{branch}'
172 !include-raw ../opnfvdocs/docu-build.sh
174 ########################
176 #########################
178 name: octopus-parameter
182 default: '{gs-pathname}'
183 description: "Version directory where the octopus will be stored in gs repository"
185 #########################
187 #########################
189 name: 'octopus-master'
191 - pollscm: "H 7 * * *"
194 name: 'octopus-stable-arno'
196 - pollscm: "H 19 * * *"