14 slave-label: 'testresults'
18 - '{module}-automate-{stream}'
19 - '{module}-automate-{phase}-{stream}'
20 - '{module}-verify-{stream}'
22 project: 'releng-testresults'
25 name: 'testapi-mongodb-backup'
30 default: 'testresults'
31 description: 'Slave label on Jenkins'
33 project: 'releng-testresults'
37 default: https://gerrit.opnfv.org/gerrit/releng-testresults
38 description: 'Git URL to use on this Jenkins Slave'
50 name: '{module}-verify-{stream}'
56 - 'opnfv-build-ubuntu-defaults'
63 server-name: 'gerrit.opnfv.org'
65 - patchset-created-event:
66 exclude-drafts: 'false'
67 exclude-trivial-rebase: 'false'
68 exclude-no-code-change: 'false'
69 - draft-published-event
70 - comment-added-contains-event:
71 comment-contains-value: 'recheck'
72 - comment-added-contains-event:
73 comment-contains-value: 'reverify'
75 - project-compare-type: 'ANT'
76 project-pattern: '{project}'
78 - branch-compare-type: 'ANT'
79 branch-pattern: '**/{branch}'
82 pattern: '{module}/**'
94 - email-jenkins-admins-on-failure
97 name: '{module}-automate-{stream}'
99 project-type: multijob
115 description: 'Tag name for {module} docker image'
119 description: "Name of the module"
120 - 'opnfv-build-defaults'
133 server-name: 'gerrit.opnfv.org'
135 - change-merged-event
136 - comment-added-contains-event:
137 comment-contains-value: 'remerge'
139 - project-compare-type: 'ANT'
140 project-pattern: '{project}'
142 - branch-compare-type: 'ANT'
143 branch-pattern: '**/{branch}'
145 - compare-type: 'ANT'
146 pattern: '{module}/**'
149 - description-setter:
150 description: "Built on $NODE_NAME"
154 condition: SUCCESSFUL
156 - name: '{module}-automate-docker-deploy-{stream}'
157 current-parameters: false
158 predefined-parameters: |
160 node-label-name: SLAVE_LABEL
161 node-label: testresults
162 kill-phase-on: FAILURE
166 condition: SUCCESSFUL
168 - name: '{module}-automate-generate-doc-{stream}'
169 current-parameters: true
170 kill-phase-on: FAILURE
175 - email-jenkins-admins-on-failure
178 name: '{module}-automate-{phase}-{stream}'
201 - description-setter:
202 description: "Built on $NODE_NAME"
203 - '{module}-automate-{phase}-macro'
205 ################################
207 ################################
209 name: 'docker-update'
212 bash ./ci/docker-update.sh
215 name: 'testapi-automate-generate-doc-macro'
217 - 'testapi-doc-build'
218 - 'upload-doc-artifact'
221 name: 'testapi-doc-build'
224 bash ./ci/htmlize/doc-build.sh
227 name: 'upload-doc-artifact'
230 bash ./ci/htmlize/push-doc-artifacts.sh
233 name: 'reporting-automate-generate-doc-macro'
235 - shell: echo "To Be Done"
238 name: 'testapi-automate-docker-deploy-macro'
241 sudo bash ./ci/docker-deploy.sh "sudo docker run -dti --name testapi -p 8082:8000
242 -e mongodb_url=mongodb://172.17.0.1:27017
243 -e base_url=http://testresults.opnfv.org/test opnfv/testapi" \
244 "http://testresults.opnfv.org/test/" "testapi"
247 name: 'reporting-automate-docker-deploy-macro'
250 sudo bash ./ci/docker-deploy.sh \
251 "sudo docker run -itd --name reporting -p 8084:8000 opnfv/reporting" \
252 "http://testresults.opnfv.org/reporting/index.html" "reporting"
258 bash ./ci/testapi-backup-mongodb.sh
260 ################################
262 ################################
265 name: 'email-publisher'
268 recipients: rohitsakala@gmail.com feng.xiaowei@zte.com.cn morgan.richomme@orange.com
269 notify-every-unstable-build: false
270 send-to-individuals: true