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}'
56 gs-pathname: '{gs-pathname}'
60 credentials-id: '{ssh-credentials}'
72 !include-raw ../opnfvdocs/docu-build.sh
78 name: 'octopus-verify-{stream}'
83 artifactDaysToKeep: -1
93 credentials-id: '{ssh-credentials}'
94 refspec: '$GERRIT_REFSPEC'
95 choosing-strategy: 'gerrit'
100 - patchset-created-event:
101 exclude-drafts: 'false'
102 exclude-trivial-rebase: 'false'
103 exclude-no-code-change: 'false'
104 - draft-published-event
105 - comment-added-contains-event:
106 comment-contains-value: 'recheck'
107 - comment-added-contains-event:
108 comment-contains-value: 'reverify'
110 - project-compare-type: 'ANT'
111 project-pattern: 'octopus'
113 - branch-compare-type: 'ANT'
114 branch-pattern: '**/{branch}'
118 !include-raw ../opnfvdocs/docu-build.sh
121 name: 'octopus-merge-{stream}'
123 # builder-merge job to run JJB update
125 # This job's purpose is to update all the JJB
134 - gerrit-trigger-scm:
135 credentials-id: '{ssh-credentials}'
137 choosing-strategy: 'default'
142 - change-merged-event
143 - comment-added-contains-event:
144 comment-contains-value: 'remerge'
146 - project-compare-type: 'ANT'
147 project-pattern: 'octopus'
149 - branch-compare-type: 'ANT'
150 branch-pattern: '**/{branch}'
154 !include-raw ../opnfvdocs/docu-build.sh
156 ########################
158 #########################
160 name: octopus-parameter
164 default: '{gs-pathname}'
165 description: "Version directory where the octopus will be stored in gs repository"
167 #########################
169 #########################
171 name: 'octopus-master'
173 - pollscm: "H 7 * * *"
176 name: 'octopus-stable-arno'
178 - pollscm: "H 19 * * *"