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 project: 'releng-testresults'
36 default: https://gerrit.opnfv.org/gerrit/releng-testresults
37 description: 'Git URL to use on this Jenkins Slave'
50 recipients: serena.feng.711@gmail.com
51 notify-every-unstable-build: true
52 send-to-individuals: true
55 name: '{module}-automate-{stream}'
57 project-type: multijob
73 description: 'Tag name for {module} docker image'
77 description: "Name of the module"
78 - 'opnfv-build-defaults'
90 - gerrit-trigger-change-merged:
97 description: "Built on $NODE_NAME"
101 condition: SUCCESSFUL
103 - name: '{module}-automate-docker-deploy-{stream}'
104 current-parameters: false
105 predefined-parameters: |
107 node-label-name: SLAVE_LABEL
108 node-label: testresults
109 kill-phase-on: FAILURE
113 condition: SUCCESSFUL
115 - name: '{module}-automate-generate-doc-{stream}'
116 current-parameters: true
117 kill-phase-on: FAILURE
122 - email-jenkins-admins-on-failure
125 name: '{module}-automate-{phase}-{stream}'
148 - description-setter:
149 description: "Built on $NODE_NAME"
150 - '{module}-automate-{phase}-macro'
152 ################################
154 ################################
156 name: 'docker-update'
159 bash ./ci/docker-update.sh
162 name: 'testapi-automate-generate-doc-macro'
164 - 'testapi-doc-build'
165 - 'upload-doc-artifact'
168 name: 'testapi-doc-build'
171 bash ./ci/htmlize/doc-build.sh
174 name: 'upload-doc-artifact'
177 bash ./ci/htmlize/push-doc-artifacts.sh
180 name: 'reporting-automate-generate-doc-macro'
182 - shell: echo "To Be Done"
185 name: 'testapi-automate-docker-deploy-macro'
188 sudo bash ./ci/docker-deploy.sh "sudo docker run -dti --name testapi -p 8082:8000
189 -e mongodb_url=mongodb://172.17.0.1:27017
190 -e base_url=http://testresults.opnfv.org/test opnfv/testapi" \
191 "http://testresults.opnfv.org/test/" "testapi"
194 name: 'reporting-automate-docker-deploy-macro'
197 sudo bash ./ci/docker-deploy.sh \
198 "sudo docker run -itd --name reporting -p 8084:8000 opnfv/reporting" \
199 "http://testresults.opnfv.org/reporting/index.html" "reporting"
205 bash ./ci/testapi-backup-mongodb.sh
207 ################################
209 ################################
212 name: 'email-publisher'
215 recipients: rohitsakala@gmail.com feng.xiaowei@zte.com.cn morgan.richomme@orange.com
216 notify-every-unstable-build: false
217 send-to-individuals: true