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}/
95 name: '{module}-automate-{stream}'
97 project-type: multijob
113 description: 'Tag name for {module} docker image'
117 description: "Name of the module"
118 - 'opnfv-build-defaults'
131 server-name: 'gerrit.opnfv.org'
133 - change-merged-event
134 - comment-added-contains-event:
135 comment-contains-value: 'remerge'
137 - project-compare-type: 'ANT'
138 project-pattern: '{project}'
140 - branch-compare-type: 'ANT'
141 branch-pattern: '**/{branch}'
143 - compare-type: 'ANT'
144 pattern: 'utils/test/{module}/**'
147 - description-setter:
148 description: "Built on $NODE_NAME"
152 condition: SUCCESSFUL
154 - name: '{module}-automate-docker-deploy-{stream}'
155 current-parameters: false
156 predefined-parameters: |
158 node-label-name: SLAVE_LABEL
159 node-label: testresults
160 kill-phase-on: FAILURE
164 condition: SUCCESSFUL
166 - name: '{module}-automate-generate-doc-{stream}'
167 current-parameters: true
168 kill-phase-on: FAILURE
175 name: '{module}-automate-{phase}-{stream}'
198 - description-setter:
199 description: "Built on $NODE_NAME"
200 - '{module}-automate-{phase}-macro'
202 ################################
204 ################################
206 name: 'docker-update'
209 !include-raw: ./docker-update.sh
212 name: 'testapi-automate-generate-doc-macro'
214 - 'testapi-doc-build'
215 - 'upload-doc-artifact'
218 name: 'testapi-doc-build'
221 bash ./utils/test/testapi/htmlize/doc-build.sh
224 name: 'upload-doc-artifact'
227 bash ./utils/test/testapi/htmlize/push-doc-artifact.sh
230 name: 'reporting-automate-generate-doc-macro'
232 - shell: echo "To Be Done"
235 name: 'testapi-automate-docker-deploy-macro'
238 bash ./jjb/releng/docker-deploy.sh "sudo docker run -dti -p 8082:8000
239 -e mongodb_url=mongodb://172.17.0.1:27017
240 -e base_url=http://testresults.opnfv.org/test opnfv/testapi" \
241 "http://testresults.opnfv.org/test/swagger/APIs" "testapi"
244 name: 'reporting-automate-docker-deploy-macro'
247 bash ./jjb/releng/docker-deploy.sh "sudo docker run -itd -p 8084:8000 opnfv/reporting" \
248 "http://testresults.opnfv.org/reporting2/reporting/index.html" "reporting"
254 bash ./jjb/releng/testapi-backup-mongodb.sh
256 ################################
258 ################################
261 name: 'email-publisher'
264 recipients: rohitsakala@gmail.com feng.xiaowei@zte.com.cn morgan.richomme@orange.com
265 notify-every-unstable-build: false
266 send-to-individuals: true