5 - 'octopus-daily-{stream}'
9 # stream: branch with - in place of / (eg. stable-helium)
10 # branch: branch (eg. stable/helium)
21 project-type: freestyle
26 artifactDaysToKeep: -1
31 echo "Hello world from octopus"
34 name: 'octopus-daily-{stream}'
36 # Job template for daily builders
39 # stream: branch with - in place of / (eg. stable)
40 # branch: branch (eg. stable)
42 project-type: freestyle
43 varsetabove: '{somevar}'
46 daysToKeep: '{build-days-to-keep}'
47 numToKeep: '{build-num-to-keep}'
48 artifactDaysToKeep: '{build-artifact-days-to-keep}'
49 artifactNumToKeep: '{build-artifact-num-to-keep}'
57 credentials-id: '{ssh-credentials}'
62 - ssh-agent-credentials:
63 user: '{ssh-credentials}'
73 !include-raw build-docu.sh
75 gsutil cp docs/*.pdf gs://artifacts.opnfv.org/octopus/docs/
76 gsutil cp docs/*.html gs://artifacts.opnfv.org/octopus/docs/
83 name: 'octopus-verify'
85 project-type: freestyle
90 artifactDaysToKeep: -1
100 credentials-id: '{ssh-credentials}'
101 refspec: '$GERRIT_REFSPEC'
102 choosing-strategy: 'gerrit'
105 - ssh-agent-credentials:
106 user: '{ssh-credentials}'
111 - patchset-created-event:
112 exclude-drafts: 'false'
113 exclude-trivial-rebase: 'false'
114 exclude-no-code-change: 'false'
115 - draft-published-event
116 - comment-added-contains-event:
117 comment-contains-value: 'recheck'
118 - comment-added-contains-event:
119 comment-contains-value: 'reverify'
121 - project-compare-type: 'ANT'
122 project-pattern: 'octopus'
124 - branch-compare-type: 'ANT'
125 branch-pattern: '**/master'
129 !include-raw build-docu.sh
132 name: 'octopus-merge'
134 # builder-merge job to run JJB update
136 # This job's purpose is to update all the JJB
138 project-type: freestyle
143 artifactDaysToKeep: -1
153 - gerrit-trigger-scm:
154 credentials-id: '{ssh-credentials}'
156 choosing-strategy: 'default'
159 - ssh-agent-credentials:
160 user: '{ssh-credentials}'
165 - change-merged-event
166 - comment-added-contains-event:
167 comment-contains-value: 'remerge'
169 - project-compare-type: 'ANT'
170 project-pattern: 'octopus'
172 - branch-compare-type: 'ANT'
173 branch-pattern: '**/master'
177 !include-raw build-docu.sh
179 gsutil cp docs/*.pdf gs://artifacts.opnfv.org/octopus/docs/
180 gsutil cp docs/*.html gs://artifacts.opnfv.org/octopus/docs/