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 bash ./utils/test/{module}/run_test.sh
89 results: nosetests.xml
91 report-file: "coverage.xml"
93 health-auto-update: "false"
94 stability-auto-update: "false"
95 zoom-coverage-chart: "true"
107 name: '{module}-automate-{stream}'
109 project-type: multijob
125 description: 'Tag name for {module} docker image'
129 description: "Name of the module"
130 - 'opnfv-build-defaults'
143 server-name: 'gerrit.opnfv.org'
145 - change-merged-event
146 - comment-added-contains-event:
147 comment-contains-value: 'remerge'
149 - project-compare-type: 'ANT'
150 project-pattern: '{project}'
152 - branch-compare-type: 'ANT'
153 branch-pattern: '**/{branch}'
155 - compare-type: 'ANT'
156 pattern: 'utils/test/{module}/**'
159 - description-setter:
160 description: "Built on $NODE_NAME"
164 condition: SUCCESSFUL
166 - name: '{module}-automate-docker-deploy-{stream}'
167 current-parameters: false
168 predefined-parameters: |
170 node-label-name: SLAVE_LABEL
171 node-label: testresults
172 kill-phase-on: FAILURE
176 condition: SUCCESSFUL
178 - name: '{module}-automate-generate-doc-{stream}'
179 current-parameters: true
180 kill-phase-on: FAILURE
187 name: '{module}-automate-{phase}-{stream}'
210 - description-setter:
211 description: "Built on $NODE_NAME"
212 - '{module}-automate-{phase}-macro'
214 ################################
216 ################################
218 name: 'docker-update'
221 !include-raw: ./docker-update.sh
224 name: 'testapi-automate-generate-doc-macro'
226 - 'testapi-doc-build'
227 - 'upload-doc-artifact'
230 name: 'testapi-doc-build'
233 bash ./utils/test/testapi/htmlize/doc-build.sh
236 name: 'upload-doc-artifact'
239 bash ./utils/test/testapi/htmlize/push-doc-artifact.sh
242 name: 'reporting-automate-generate-doc-macro'
244 - shell: echo "To Be Done"
247 name: 'testapi-automate-docker-deploy-macro'
250 bash ./jjb/releng/docker-deploy.sh 'sudo docker run -dti -p 8082:8000 -e mongodb_url=mongodb://172.17.0.1:27017 -e swagger_url=http://testresults.opnfv.org/test opnfv/testapi' "http://testresults.opnfv.org/test/swagger/APIs"
252 name: 'reporting-automate-docker-deploy-macro'
255 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"
261 bash ./jjb/releng/testapi-backup-mongodb.sh
263 ################################
265 ################################
268 name: 'email-publisher'
271 recipients: rohitsakala@gmail.com feng.xiaowei@zte.com.cn morgan.richomme@orange.com
272 notify-every-unstable-build: false
273 send-to-individuals: true