3 name: testresults-automate
14 slave-label: 'testresults'
18 - '{module}-automate-{stream}'
19 - '{module}-automate-{phase}-{stream}'
20 - '{module}-verify-{stream}'
22 project: 'releng-testresults'
25 name: 'testapi-mongodb-backup'
30 default: 'testresults'
31 description: 'Slave label on Jenkins'
33 project: 'releng-testresults'
37 default: https://gerrit.opnfv.org/gerrit/releng-testresults
38 description: 'Git URL to use on this Jenkins Slave'
51 recipients: serena.feng.711@gmail.com
52 notify-every-unstable-build: true
53 send-to-individuals: true
56 name: '{module}-verify-{stream}'
62 - 'opnfv-build-ubuntu-defaults'
68 - gerrit-trigger-patchset-created:
69 server: 'gerrit.opnfv.org'
84 - email-jenkins-admins-on-failure
87 name: '{module}-automate-{stream}'
89 project-type: multijob
105 description: 'Tag name for {module} docker image'
109 description: "Name of the module"
110 - 'opnfv-build-defaults'
122 - gerrit-trigger-change-merged:
128 - description-setter:
129 description: "Built on $NODE_NAME"
133 condition: SUCCESSFUL
135 - name: '{module}-automate-docker-deploy-{stream}'
136 current-parameters: false
137 predefined-parameters: |
139 node-label-name: SLAVE_LABEL
140 node-label: testresults
141 kill-phase-on: FAILURE
145 condition: SUCCESSFUL
147 - name: '{module}-automate-generate-doc-{stream}'
148 current-parameters: true
149 kill-phase-on: FAILURE
154 - email-jenkins-admins-on-failure
157 name: '{module}-automate-{phase}-{stream}'
180 - description-setter:
181 description: "Built on $NODE_NAME"
182 - '{module}-automate-{phase}-macro'
184 ################################
186 ################################
188 name: 'docker-update'
191 bash ./ci/docker-update.sh
194 name: 'testapi-automate-generate-doc-macro'
196 - 'testapi-doc-build'
197 - 'upload-doc-artifact'
200 name: 'testapi-doc-build'
203 bash ./ci/htmlize/doc-build.sh
206 name: 'upload-doc-artifact'
209 bash ./ci/htmlize/push-doc-artifacts.sh
212 name: 'reporting-automate-generate-doc-macro'
214 - shell: echo "To Be Done"
217 name: 'testapi-automate-docker-deploy-macro'
220 sudo bash ./ci/docker-deploy.sh "sudo docker run -dti --name testapi -p 8082:8000
221 -e mongodb_url=mongodb://172.17.0.1:27017
222 -e base_url=http://testresults.opnfv.org/test opnfv/testapi" \
223 "http://testresults.opnfv.org/test/" "testapi"
226 name: 'reporting-automate-docker-deploy-macro'
229 sudo bash ./ci/docker-deploy.sh \
230 "sudo docker run -itd --name reporting -p 8084:8000 opnfv/reporting" \
231 "http://testresults.opnfv.org/reporting/index.html" "reporting"
237 bash ./ci/testapi-backup-mongodb.sh
239 ################################
241 ################################
244 name: 'email-publisher'
247 recipients: rohitsakala@gmail.com feng.xiaowei@zte.com.cn morgan.richomme@orange.com
248 notify-every-unstable-build: false
249 send-to-individuals: true