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}/
90 results: nosetests.xml
92 report-file: "coverage.xml"
94 health-auto-update: "false"
95 stability-auto-update: "false"
96 zoom-coverage-chart: "true"
108 name: '{module}-automate-{stream}'
110 project-type: multijob
126 description: 'Tag name for {module} docker image'
130 description: "Name of the module"
131 - 'opnfv-build-defaults'
144 server-name: 'gerrit.opnfv.org'
146 - change-merged-event
147 - comment-added-contains-event:
148 comment-contains-value: 'remerge'
150 - project-compare-type: 'ANT'
151 project-pattern: '{project}'
153 - branch-compare-type: 'ANT'
154 branch-pattern: '**/{branch}'
156 - compare-type: 'ANT'
157 pattern: 'utils/test/{module}/**'
160 - description-setter:
161 description: "Built on $NODE_NAME"
165 condition: SUCCESSFUL
167 - name: '{module}-automate-docker-deploy-{stream}'
168 current-parameters: false
169 predefined-parameters: |
171 node-label-name: SLAVE_LABEL
172 node-label: testresults
173 kill-phase-on: FAILURE
177 condition: SUCCESSFUL
179 - name: '{module}-automate-generate-doc-{stream}'
180 current-parameters: true
181 kill-phase-on: FAILURE
188 name: '{module}-automate-{phase}-{stream}'
211 - description-setter:
212 description: "Built on $NODE_NAME"
213 - '{module}-automate-{phase}-macro'
215 ################################
217 ################################
219 name: 'docker-update'
222 !include-raw: ./docker-update.sh
225 name: 'testapi-automate-generate-doc-macro'
227 - 'testapi-doc-build'
228 - 'upload-doc-artifact'
231 name: 'testapi-doc-build'
234 bash ./utils/test/testapi/htmlize/doc-build.sh
237 name: 'upload-doc-artifact'
240 bash ./utils/test/testapi/htmlize/push-doc-artifact.sh
243 name: 'reporting-automate-generate-doc-macro'
245 - shell: echo "To Be Done"
248 name: 'testapi-automate-docker-deploy-macro'
251 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"
253 name: 'reporting-automate-docker-deploy-macro'
256 bash ./jjb/releng/docker-deploy.sh 'sudo docker run -itd -p 8084:8000 -e SERVER_URL=http://testresults.opnfv.org/reporting2:8084 opnfv/reporting' "http://testresults.opnfv.org/reporting2/reporting/index.html"
262 bash ./jjb/releng/testapi-backup-mongodb.sh
264 ################################
266 ################################
269 name: 'email-publisher'
272 recipients: rohitsakala@gmail.com feng.xiaowei@zte.com.cn morgan.richomme@orange.com
273 notify-every-unstable-build: false
274 send-to-individuals: true