5 - 'pharos-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 pharos"
34 name: 'pharos-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 /usr/local/bin/gsutil cp docs/*.pdf gs://artifacts.opnfv.org/pharos/docs/
76 /usr/local/bin/gsutil cp docs/*.html gs://artifacts.opnfv.org/pharos/docs/
77 /usr/local/bin/gsutil cp docs/release/*.pdf gs://artifacts.opnfv.org/opnfvdocs/docs/release/
78 /usr/local/bin/gsutil cp docs/release/*.html gs://artifacts.opnfv.org/opnfvdocs/docs/release/
79 /usr/local/bin/gsutil cp requirements/*.pdf gs://artifacts.opnfv.org/opnfvdocs/requirements/
80 /usr/local/bin/gsutil cp requirements/*.html gs://artifacts.opnfv.org/opnfvdocs/requirements/
81 /usr/local/bin/gsutil cp design_docs/*.pdf gs://artifacts.opnfv.org/opnfvdocs/design_docs/
82 /usr/local/bin/gsutil cp design_docs/*.html gs://artifacts.opnfv.org/opnfvdocs/design_docs/
91 project-type: freestyle
96 artifactDaysToKeep: -1
105 - gerrit-trigger-scm:
106 credentials-id: '{ssh-credentials}'
107 refspec: '$GERRIT_REFSPEC'
108 choosing-strategy: 'gerrit'
111 - ssh-agent-credentials:
112 user: '{ssh-credentials}'
117 - patchset-created-event:
118 exclude-drafts: 'false'
119 exclude-trivial-rebase: 'false'
120 exclude-no-code-change: 'false'
121 - draft-published-event
122 - comment-added-contains-event:
123 comment-contains-value: 'recheck'
124 - comment-added-contains-event:
125 comment-contains-value: 'reverify'
127 - project-compare-type: 'ANT'
128 project-pattern: 'pharos'
130 - branch-compare-type: 'ANT'
131 branch-pattern: '**/master'
135 !include-raw build-docu.sh
140 # builder-merge job to run JJB update
142 # This job's purpose is to update all the JJB
144 project-type: freestyle
149 artifactDaysToKeep: -1
159 - gerrit-trigger-scm:
160 credentials-id: '{ssh-credentials}'
162 choosing-strategy: 'default'
165 - ssh-agent-credentials:
166 user: '{ssh-credentials}'
171 - change-merged-event
172 - comment-added-contains-event:
173 comment-contains-value: 'remerge'
175 - project-compare-type: 'ANT'
176 project-pattern: 'pharos'
178 - branch-compare-type: 'ANT'
179 branch-pattern: '**/master'
183 !include-raw build-docu.sh
185 /usr/local/bin/gsutil cp docs/*.pdf gs://artifacts.opnfv.org/pharos/docs/
186 /usr/local/bin/gsutil cp docs/*.html gs://artifacts.opnfv.org/pharos/docs/
187 /usr/local/bin/gsutil cp docs/release/*.pdf gs://artifacts.opnfv.org/opnfvdocs/docs/release/
188 /usr/local/bin/gsutil cp docs/release/*.html gs://artifacts.opnfv.org/opnfvdocs/docs/release/
189 /usr/local/bin/gsutil cp requirements/*.pdf gs://artifacts.opnfv.org/opnfvdocs/requirements/
190 /usr/local/bin/gsutil cp requirements/*.html gs://artifacts.opnfv.org/opnfvdocs/requirements/
191 /usr/local/bin/gsutil cp design_docs/*.pdf gs://artifacts.opnfv.org/opnfvdocs/design_docs/
192 /usr/local/bin/gsutil cp design_docs/*.html gs://artifacts.opnfv.org/opnfvdocs/design_docs/