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 ###############################
33 echo "Hello world from octopus"
36 name: 'octopus-daily-{stream}'
38 # Job template for daily builders
41 # stream: branch with - in place of / (eg. stable)
42 # branch: branch (eg. stable)
44 varsetabove: '{somevar}'
50 gs-pathname: '{gs-pathname}'
54 credentials-id: '{ssh-credentials}'
66 !include-raw ../opnfvdocs/docu-build.sh
72 name: 'octopus-verify-{stream}'
81 credentials-id: '{ssh-credentials}'
82 refspec: '$GERRIT_REFSPEC'
83 choosing-strategy: 'gerrit'
88 - patchset-created-event:
89 exclude-drafts: 'false'
90 exclude-trivial-rebase: 'false'
91 exclude-no-code-change: 'false'
92 - draft-published-event
93 - comment-added-contains-event:
94 comment-contains-value: 'recheck'
95 - comment-added-contains-event:
96 comment-contains-value: 'reverify'
98 - project-compare-type: 'ANT'
99 project-pattern: 'octopus'
101 - branch-compare-type: 'ANT'
102 branch-pattern: '**/{branch}'
106 !include-raw ../opnfvdocs/docu-build.sh
109 name: 'octopus-merge-{stream}'
111 # builder-merge job to run JJB update
113 # This job's purpose is to update all the JJB
122 - gerrit-trigger-scm:
123 credentials-id: '{ssh-credentials}'
125 choosing-strategy: 'default'
130 - change-merged-event
131 - comment-added-contains-event:
132 comment-contains-value: 'remerge'
134 - project-compare-type: 'ANT'
135 project-pattern: 'octopus'
137 - branch-compare-type: 'ANT'
138 branch-pattern: '**/{branch}'
142 !include-raw ../opnfvdocs/docu-build.sh
144 ########################
146 #########################
148 name: octopus-parameter
152 default: '{gs-pathname}'
153 description: "Version directory where the octopus will be stored in gs repository"
155 #########################
157 #########################
159 name: 'octopus-master'
161 - pollscm: "H 7 * * *"
164 name: 'octopus-stable-arno'
166 - pollscm: "H 19 * * *"