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}/
91 results: nosetests.xml
93 report-file: "coverage.xml"
95 health-auto-update: "false"
96 stability-auto-update: "false"
97 zoom-coverage-chart: "true"
109 name: '{module}-automate-{stream}'
111 project-type: multijob
127 description: 'Tag name for {module} docker image'
131 description: "Name of the module"
132 - 'opnfv-build-defaults'
145 server-name: 'gerrit.opnfv.org'
147 - change-merged-event
148 - comment-added-contains-event:
149 comment-contains-value: 'remerge'
151 - project-compare-type: 'ANT'
152 project-pattern: '{project}'
154 - branch-compare-type: 'ANT'
155 branch-pattern: '**/{branch}'
157 - compare-type: 'ANT'
158 pattern: 'utils/test/{module}/**'
161 - description-setter:
162 description: "Built on $NODE_NAME"
166 condition: SUCCESSFUL
168 - name: '{module}-automate-docker-deploy-{stream}'
169 current-parameters: false
170 predefined-parameters: |
172 node-label-name: SLAVE_LABEL
173 node-label: testresults
174 kill-phase-on: FAILURE
178 condition: SUCCESSFUL
180 - name: '{module}-automate-generate-doc-{stream}'
181 current-parameters: true
182 kill-phase-on: FAILURE
189 name: '{module}-automate-{phase}-{stream}'
212 - description-setter:
213 description: "Built on $NODE_NAME"
214 - '{module}-automate-{phase}-macro'
216 ################################
218 ################################
220 name: 'docker-update'
223 !include-raw: ./docker-update.sh
226 name: 'testapi-automate-generate-doc-macro'
228 - 'testapi-doc-build'
229 - 'upload-doc-artifact'
232 name: 'testapi-doc-build'
235 bash ./utils/test/testapi/htmlize/doc-build.sh
238 name: 'upload-doc-artifact'
241 bash ./utils/test/testapi/htmlize/push-doc-artifact.sh
244 name: 'reporting-automate-generate-doc-macro'
246 - shell: echo "To Be Done"
249 name: 'testapi-automate-docker-deploy-macro'
252 bash ./jjb/releng/docker-deploy.sh 'sudo docker run -dti -p 8082:8000 -e mongodb_url=mongodb://172.17.0.1:27017 -e base_url=http://testresults.opnfv.org/test opnfv/testapi' "http://testresults.opnfv.org/test/swagger/APIs"
254 name: 'reporting-automate-docker-deploy-macro'
257 bash ./jjb/releng/docker-deploy.sh 'sudo docker run -itd -p 8084:8000 opnfv/reporting' "http://testresults.opnfv.org/reporting2/reporting/index.html"
263 bash ./jjb/releng/testapi-backup-mongodb.sh
265 ################################
267 ################################
270 name: 'email-publisher'
273 recipients: rohitsakala@gmail.com feng.xiaowei@zte.com.cn morgan.richomme@orange.com
274 notify-every-unstable-build: false
275 send-to-individuals: true