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}'
44 # Job template for daily builders
47 # stream: branch with - in place of / (eg. stable)
48 # branch: branch (eg. stable)
50 varsetabove: '{somevar}'
53 daysToKeep: '{build-days-to-keep}'
54 numToKeep: '{build-num-to-keep}'
55 artifactDaysToKeep: '{build-artifact-days-to-keep}'
56 artifactNumToKeep: '{build-artifact-num-to-keep}'
62 gs-pathname: '{gs-pathname}'
66 credentials-id: '{ssh-credentials}'
78 !include-raw ../opnfvdocs/docu-build.sh
84 name: 'octopus-verify-{stream}'
89 artifactDaysToKeep: -1
99 credentials-id: '{ssh-credentials}'
100 refspec: '$GERRIT_REFSPEC'
101 choosing-strategy: 'gerrit'
106 - patchset-created-event:
107 exclude-drafts: 'false'
108 exclude-trivial-rebase: 'false'
109 exclude-no-code-change: 'false'
110 - draft-published-event
111 - comment-added-contains-event:
112 comment-contains-value: 'recheck'
113 - comment-added-contains-event:
114 comment-contains-value: 'reverify'
116 - project-compare-type: 'ANT'
117 project-pattern: 'octopus'
119 - branch-compare-type: 'ANT'
120 branch-pattern: '**/{branch}'
124 !include-raw ../opnfvdocs/docu-build.sh
127 name: 'octopus-merge-{stream}'
129 # builder-merge job to run JJB update
131 # This job's purpose is to update all the JJB
136 artifactDaysToKeep: -1
146 - gerrit-trigger-scm:
147 credentials-id: '{ssh-credentials}'
149 choosing-strategy: 'default'
154 - change-merged-event
155 - comment-added-contains-event:
156 comment-contains-value: 'remerge'
158 - project-compare-type: 'ANT'
159 project-pattern: 'octopus'
161 - branch-compare-type: 'ANT'
162 branch-pattern: '**/{branch}'
166 !include-raw ../opnfvdocs/docu-build.sh
168 ########################
170 #########################
172 name: octopus-parameter
176 default: '{gs-pathname}'
177 description: "Version directory where the octopus will be stored in gs repository"
179 #########################
181 #########################
183 name: 'octopus-master'
185 - pollscm: "H 7 * * *"
188 name: 'octopus-stable-arno'
190 - pollscm: "H 19 * * *"