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'
69 server-name: 'gerrit.opnfv.org'
71 - patchset-created-event:
72 exclude-drafts: 'false'
73 exclude-trivial-rebase: 'false'
74 exclude-no-code-change: 'false'
75 - draft-published-event
76 - comment-added-contains-event:
77 comment-contains-value: 'recheck'
78 - comment-added-contains-event:
79 comment-contains-value: 'reverify'
81 - project-compare-type: 'ANT'
82 project-pattern: '{project}'
84 - branch-compare-type: 'ANT'
85 branch-pattern: '**/{branch}'
88 pattern: '{module}/**'
100 - email-jenkins-admins-on-failure
103 name: '{module}-automate-{stream}'
105 project-type: multijob
121 description: 'Tag name for {module} docker image'
125 description: "Name of the module"
126 - 'opnfv-build-defaults'
139 server-name: 'gerrit.opnfv.org'
141 - change-merged-event
142 - comment-added-contains-event:
143 comment-contains-value: 'remerge'
145 - project-compare-type: 'ANT'
146 project-pattern: '{project}'
148 - branch-compare-type: 'ANT'
149 branch-pattern: '**/{branch}'
151 - compare-type: 'ANT'
152 pattern: '{module}/**'
155 - description-setter:
156 description: "Built on $NODE_NAME"
160 condition: SUCCESSFUL
162 - name: '{module}-automate-docker-deploy-{stream}'
163 current-parameters: false
164 predefined-parameters: |
166 node-label-name: SLAVE_LABEL
167 node-label: testresults
168 kill-phase-on: FAILURE
172 condition: SUCCESSFUL
174 - name: '{module}-automate-generate-doc-{stream}'
175 current-parameters: true
176 kill-phase-on: FAILURE
181 - email-jenkins-admins-on-failure
184 name: '{module}-automate-{phase}-{stream}'
207 - description-setter:
208 description: "Built on $NODE_NAME"
209 - '{module}-automate-{phase}-macro'
211 ################################
213 ################################
215 name: 'docker-update'
218 bash ./ci/docker-update.sh
221 name: 'testapi-automate-generate-doc-macro'
223 - 'testapi-doc-build'
224 - 'upload-doc-artifact'
227 name: 'testapi-doc-build'
230 bash ./ci/htmlize/doc-build.sh
233 name: 'upload-doc-artifact'
236 bash ./ci/htmlize/push-doc-artifacts.sh
239 name: 'reporting-automate-generate-doc-macro'
241 - shell: echo "To Be Done"
244 name: 'testapi-automate-docker-deploy-macro'
247 sudo bash ./ci/docker-deploy.sh "sudo docker run -dti --name testapi -p 8082:8000
248 -e mongodb_url=mongodb://172.17.0.1:27017
249 -e base_url=http://testresults.opnfv.org/test opnfv/testapi" \
250 "http://testresults.opnfv.org/test/" "testapi"
253 name: 'reporting-automate-docker-deploy-macro'
256 sudo bash ./ci/docker-deploy.sh \
257 "sudo docker run -itd --name reporting -p 8084:8000 opnfv/reporting" \
258 "http://testresults.opnfv.org/reporting/index.html" "reporting"
264 bash ./ci/testapi-backup-mongodb.sh
266 ################################
268 ################################
271 name: 'email-publisher'
274 recipients: rohitsakala@gmail.com feng.xiaowei@zte.com.cn morgan.richomme@orange.com
275 notify-every-unstable-build: false
276 send-to-individuals: true