13 slave-label: 'testresults'
17 - '{module}-automate-{stream}'
18 - '{module}-automate-{phase}-{stream}'
19 - '{module}-verify-{stream}'
24 name: 'testapi-mongodb-backup'
29 default: 'testresults'
30 description: 'Slave label on Jenkins'
36 default: https://gerrit.opnfv.org/gerrit/releng
37 description: 'Git URL to use on this Jenkins Slave'
49 name: '{module}-verify-{stream}'
55 - 'opnfv-build-ubuntu-defaults'
62 server-name: 'gerrit.opnfv.org'
64 - patchset-created-event:
65 exclude-drafts: 'false'
66 exclude-trivial-rebase: 'false'
67 exclude-no-code-change: 'false'
68 - draft-published-event
69 - comment-added-contains-event:
70 comment-contains-value: 'recheck'
71 - comment-added-contains-event:
72 comment-contains-value: 'reverify'
74 - project-compare-type: 'ANT'
75 project-pattern: '{project}'
77 - branch-compare-type: 'ANT'
78 branch-pattern: '**/{branch}'
81 pattern: 'utils/test/{module}/**'
85 cd ./utils/test/{module}/
93 name: '{module}-automate-{stream}'
95 project-type: multijob
111 description: 'Tag name for {module} docker image'
115 description: "Name of the module"
116 - 'opnfv-build-defaults'
129 server-name: 'gerrit.opnfv.org'
131 - change-merged-event
132 - comment-added-contains-event:
133 comment-contains-value: 'remerge'
135 - project-compare-type: 'ANT'
136 project-pattern: '{project}'
138 - branch-compare-type: 'ANT'
139 branch-pattern: '**/{branch}'
141 - compare-type: 'ANT'
142 pattern: 'utils/test/{module}/**'
145 - description-setter:
146 description: "Built on $NODE_NAME"
150 condition: SUCCESSFUL
152 - name: '{module}-automate-docker-deploy-{stream}'
153 current-parameters: false
154 predefined-parameters: |
156 node-label-name: SLAVE_LABEL
157 node-label: testresults
158 kill-phase-on: FAILURE
162 condition: SUCCESSFUL
164 - name: '{module}-automate-generate-doc-{stream}'
165 current-parameters: true
166 kill-phase-on: FAILURE
173 name: '{module}-automate-{phase}-{stream}'
196 - description-setter:
197 description: "Built on $NODE_NAME"
198 - '{module}-automate-{phase}-macro'
200 ################################
202 ################################
204 name: 'docker-update'
207 !include-raw: ./docker-update.sh
210 name: 'testapi-automate-generate-doc-macro'
212 - 'testapi-doc-build'
213 - 'upload-doc-artifact'
216 name: 'testapi-doc-build'
219 bash ./utils/test/testapi/htmlize/doc-build.sh
222 name: 'upload-doc-artifact'
225 bash ./utils/test/testapi/htmlize/push-doc-artifact.sh
228 name: 'reporting-automate-generate-doc-macro'
230 - shell: echo "To Be Done"
233 name: 'testapi-automate-docker-deploy-macro'
236 bash ./jjb/releng/docker-deploy.sh "sudo docker run -dti -p 8082:8000
237 -e mongodb_url=mongodb://172.17.0.1:27017
238 -e base_url=http://testresults.opnfv.org/test opnfv/testapi" \
239 "http://testresults.opnfv.org/test/swagger/APIs" "testapi"
242 name: 'reporting-automate-docker-deploy-macro'
245 bash ./jjb/releng/docker-deploy.sh "sudo docker run -itd -p 8084:8000 opnfv/reporting" \
246 "http://testresults.opnfv.org/reporting2/reporting/index.html" "reporting"
252 bash ./jjb/releng/testapi-backup-mongodb.sh
254 ################################
256 ################################
259 name: 'email-publisher'
262 recipients: rohitsakala@gmail.com feng.xiaowei@zte.com.cn morgan.richomme@orange.com
263 notify-every-unstable-build: false
264 send-to-individuals: true