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 - email-jenkins-admins-on-failure
96 name: '{module}-automate-{stream}'
98 project-type: multijob
114 description: 'Tag name for {module} docker image'
118 description: "Name of the module"
119 - 'opnfv-build-defaults'
132 server-name: 'gerrit.opnfv.org'
134 - change-merged-event
135 - comment-added-contains-event:
136 comment-contains-value: 'remerge'
138 - project-compare-type: 'ANT'
139 project-pattern: '{project}'
141 - branch-compare-type: 'ANT'
142 branch-pattern: '**/{branch}'
144 - compare-type: 'ANT'
145 pattern: 'utils/test/{module}/**'
148 - description-setter:
149 description: "Built on $NODE_NAME"
153 condition: SUCCESSFUL
155 - name: '{module}-automate-docker-deploy-{stream}'
156 current-parameters: false
157 predefined-parameters: |
159 node-label-name: SLAVE_LABEL
160 node-label: testresults
161 kill-phase-on: FAILURE
165 condition: SUCCESSFUL
167 - name: '{module}-automate-generate-doc-{stream}'
168 current-parameters: true
169 kill-phase-on: FAILURE
174 - email-jenkins-admins-on-failure
177 name: '{module}-automate-{phase}-{stream}'
200 - description-setter:
201 description: "Built on $NODE_NAME"
202 - '{module}-automate-{phase}-macro'
204 ################################
206 ################################
208 name: 'docker-update'
211 !include-raw: ./docker-update.sh
214 name: 'testapi-automate-generate-doc-macro'
216 - 'testapi-doc-build'
217 - 'upload-doc-artifact'
220 name: 'testapi-doc-build'
223 bash ./utils/test/testapi/htmlize/doc-build.sh
226 name: 'upload-doc-artifact'
229 bash ./utils/test/testapi/htmlize/push-doc-artifact.sh
232 name: 'reporting-automate-generate-doc-macro'
234 - shell: echo "To Be Done"
237 name: 'testapi-automate-docker-deploy-macro'
240 bash ./jjb/releng/docker-deploy.sh "sudo docker run -dti -p 8082:8000
241 -e mongodb_url=mongodb://172.17.0.1:27017
242 -e base_url=http://testresults.opnfv.org/test opnfv/testapi" \
243 "http://testresults.opnfv.org/test/swagger/APIs" "testapi"
246 name: 'reporting-automate-docker-deploy-macro'
249 bash ./jjb/releng/docker-deploy.sh "sudo docker run -itd -p 8084:8000 opnfv/reporting" \
250 "http://testresults.opnfv.org/reporting2/reporting/index.html" "reporting"
256 bash ./jjb/releng/testapi-backup-mongodb.sh
258 ################################
260 ################################
263 name: 'email-publisher'
266 recipients: rohitsakala@gmail.com feng.xiaowei@zte.com.cn morgan.richomme@orange.com
267 notify-every-unstable-build: false
268 send-to-individuals: true