4 - 'opnfvdocs-daily-{stream}'
8 # stream: branch with - in place of / (eg. stable-helium)
9 # branch: branch (eg. stable/helium)
17 name: 'opnfvdocs-daily-{stream}'
19 # Job template for daily builders
22 # stream: branch with - in place of / (eg. stable)
23 # branch: branch (eg. stable)
25 project-type: freestyle
28 daysToKeep: '{build-days-to-keep}'
29 numToKeep: '{build-num-to-keep}'
30 artifactDaysToKeep: '{build-artifact-days-to-keep}'
31 artifactNumToKeep: '{build-artifact-num-to-keep}'
39 credentials-id: '{ssh-credentials}'
44 - ssh-agent-credentials:
45 user: '{ssh-credentials}'
52 !include-raw build-docu.sh
55 /usr/local/bin/gsutil cp docs/*.pdf gs://artifacts.opnfv.org/opnfvdocs/docs/
56 /usr/local/bin/gsutil cp docs/*.html gs://artifacts.opnfv.org/opnfvdocs/docs/
57 /usr/local/bin/gsutil cp docs/release/*.pdf gs://artifacts.opnfv.org/opnfvdocs/docs/release/
58 /usr/local/bin/gsutil cp docs/release/*.html gs://artifacts.opnfv.org/opnfvdocs/docs/release/
59 /usr/local/bin/gsutil cp requirements/*.pdf gs://artifacts.opnfv.org/opnfvdocs/requirements/
60 /usr/local/bin/gsutil cp requirements/*.html gs://artifacts.opnfv.org/opnfvdocs/requirements/
61 /usr/local/bin/gsutil cp design_docs/*.pdf gs://artifacts.opnfv.org/opnfvdocs/design_docs/
62 /usr/local/bin/gsutil cp design_docs/*.html gs://artifacts.opnfv.org/opnfvdocs/design_docs/
65 name: 'opnfvdocs-verify'
67 project-type: freestyle
72 artifactDaysToKeep: -1
82 credentials-id: '{ssh-credentials}'
83 refspec: '$GERRIT_REFSPEC'
84 choosing-strategy: 'gerrit'
87 - ssh-agent-credentials:
88 user: '{ssh-credentials}'
93 - patchset-created-event:
94 exclude-drafts: 'false'
95 exclude-trivial-rebase: 'false'
96 exclude-no-code-change: 'false'
97 - draft-published-event
98 - comment-added-contains-event:
99 comment-contains-value: 'recheck'
100 - comment-added-contains-event:
101 comment-contains-value: 'reverify'
103 - project-compare-type: 'ANT'
104 project-pattern: 'opnfvdocs'
106 - branch-compare-type: 'ANT'
107 branch-pattern: '**/master'
111 !include-raw build-docu.sh
114 name: 'opnfvdocs-merge'
116 # builder-merge job to run JJB update
118 # This job's purpose is to update all the JJB
120 project-type: freestyle
125 artifactDaysToKeep: -1
135 - gerrit-trigger-scm:
136 credentials-id: '{ssh-credentials}'
138 choosing-strategy: 'default'
141 - ssh-agent-credentials:
142 user: '{ssh-credentials}'
147 - change-merged-event
148 - comment-added-contains-event:
149 comment-contains-value: 'remerge'
151 - project-compare-type: 'ANT'
152 project-pattern: 'opnfvdocs'
154 - branch-compare-type: 'ANT'
155 branch-pattern: '**/master'
159 !include-raw build-docu.sh
161 /usr/local/bin/gsutil cp docs/*.pdf gs://artifacts.opnfv.org/opnfvdocs/docs/
162 /usr/local/bin/gsutil cp docs/*.html gs://artifacts.opnfv.org/opnfvdocs/docs/
163 /usr/local/bin/gsutil cp docs/release/*.pdf gs://artifacts.opnfv.org/opnfvdocs/docs/release/
164 /usr/local/bin/gsutil cp docs/release/*.html gs://artifacts.opnfv.org/opnfvdocs/docs/release/
165 /usr/local/bin/gsutil cp requirements/*.pdf gs://artifacts.opnfv.org/opnfvdocs/requirements/
166 /usr/local/bin/gsutil cp requirements/*.html gs://artifacts.opnfv.org/opnfvdocs/requirements/
167 /usr/local/bin/gsutil cp design_docs/*.pdf gs://artifacts.opnfv.org/opnfvdocs/design_docs/
168 /usr/local/bin/gsutil cp design_docs/*.html gs://artifacts.opnfv.org/opnfvdocs/design_docs/