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}'
76 - ssh-agent-credentials:
77 user: '{ssh-credentials}'
87 !include-raw ../opnfvdocs/docu-build.sh
93 name: 'octopus-verify-{stream}'
97 project-type: freestyle
102 artifactDaysToKeep: -1
103 artifactNumToKeep: -1
111 - gerrit-trigger-scm:
112 credentials-id: '{ssh-credentials}'
113 refspec: '$GERRIT_REFSPEC'
114 choosing-strategy: 'gerrit'
117 - ssh-agent-credentials:
118 user: '{ssh-credentials}'
123 - patchset-created-event:
124 exclude-drafts: 'false'
125 exclude-trivial-rebase: 'false'
126 exclude-no-code-change: 'false'
127 - draft-published-event
128 - comment-added-contains-event:
129 comment-contains-value: 'recheck'
130 - comment-added-contains-event:
131 comment-contains-value: 'reverify'
133 - project-compare-type: 'ANT'
134 project-pattern: 'octopus'
136 - branch-compare-type: 'ANT'
137 branch-pattern: '**/{branch}'
141 !include-raw ../opnfvdocs/docu-build.sh
144 name: 'octopus-merge-{stream}'
148 # builder-merge job to run JJB update
150 # This job's purpose is to update all the JJB
152 project-type: freestyle
157 artifactDaysToKeep: -1
167 - gerrit-trigger-scm:
168 credentials-id: '{ssh-credentials}'
170 choosing-strategy: 'default'
173 - ssh-agent-credentials:
174 user: '{ssh-credentials}'
179 - change-merged-event
180 - comment-added-contains-event:
181 comment-contains-value: 'remerge'
183 - project-compare-type: 'ANT'
184 project-pattern: 'octopus'
186 - branch-compare-type: 'ANT'
187 branch-pattern: '**/{branch}'
191 !include-raw ../opnfvdocs/docu-build.sh
194 ########################
196 #########################
198 name: octopus-parameter
202 default: '{gs-pathname}'
203 description: "Version directory where the octopus will be stored in gs repository"
205 #########################
207 #########################
209 name: 'octopus-master'
211 - pollscm: "H 7 * * *"
214 name: 'octopus-stable-arno'
216 - pollscm: "H 19 * * *"