3 name: testresults-automate
14 slave-label: 'testresults'
18 - '{module}-automate-{stream}'
19 - '{module}-automate-{phase}-{stream}'
21 project: 'releng-testresults'
24 name: 'testapi-mongodb-backup'
29 default: 'testresults'
30 description: 'Slave label on Jenkins'
32 node-eligibility: 'ignore-offline'
34 project: 'releng-testresults'
38 default: https://gerrit.opnfv.org/gerrit/releng-testresults
39 description: 'Git URL to use on this Jenkins Slave'
52 recipients: serena.feng.711@gmail.com
53 notify-every-unstable-build: true
54 send-to-individuals: true
57 name: '{module}-automate-{stream}'
59 project-type: multijob
75 description: 'Tag name for {module} docker image'
79 description: "Name of the module"
80 - 'opnfv-build-defaults'
92 - gerrit-trigger-change-merged:
99 description: "Built on $NODE_NAME"
103 condition: SUCCESSFUL
105 - name: '{module}-automate-docker-deploy-{stream}'
106 current-parameters: false
107 predefined-parameters: |
109 node-label-name: SLAVE_LABEL
110 node-label: testresults
111 kill-phase-on: FAILURE
115 condition: SUCCESSFUL
117 - name: '{module}-automate-generate-doc-{stream}'
118 current-parameters: true
119 kill-phase-on: FAILURE
124 - email-jenkins-admins-on-failure
127 name: '{module}-automate-{phase}-{stream}'
150 - description-setter:
151 description: "Built on $NODE_NAME"
152 - '{module}-automate-{phase}-macro'
154 ################################
156 ################################
158 name: 'docker-update'
161 bash ./ci/docker-update.sh
164 name: 'testapi-automate-generate-doc-macro'
166 - 'testapi-doc-build'
167 - 'upload-doc-artifact'
170 name: 'testapi-doc-build'
173 bash ./ci/htmlize/doc-build.sh
176 name: 'upload-doc-artifact'
179 bash ./ci/htmlize/push-doc-artifacts.sh
182 name: 'reporting-automate-generate-doc-macro'
184 - shell: echo "To Be Done"
187 name: 'testapi-automate-docker-deploy-macro'
190 sudo bash ./ci/docker-deploy.sh "sudo docker run -dti --name testapi -p 8082:8000
191 -e mongodb_url=mongodb://172.17.0.1:27017
192 -e base_url=http://testresults.opnfv.org/test opnfv/testapi" \
193 "http://testresults.opnfv.org/test/" "testapi"
196 name: 'reporting-automate-docker-deploy-macro'
199 sudo bash ./ci/docker-deploy.sh \
200 "sudo docker run -itd --name reporting -p 8084:8000 opnfv/reporting" \
201 "http://testresults.opnfv.org/reporting/index.html" "reporting"
207 bash ./ci/testapi-backup-mongodb.sh
209 ################################
211 ################################
214 name: 'email-publisher'
217 recipients: rohitsakala@gmail.com feng.xiaowei@zte.com.cn morgan.richomme@orange.com
218 notify-every-unstable-build: false
219 send-to-individuals: true