2 ###################################################
3 # All the jobs except verify have been removed!
4 # They will only be enabled on request by projects!
5 ###################################################
7 name: xtesting-project-jobs
9 project: 'functest-xtesting'
12 - 'xtesting-verify-{stream}'
13 - 'xtesting-verify-{phase}-{stream}'
14 - 'xtesting-docs-upload-{stream}'
22 branch: 'stable/{stream}'
23 gs-pathname: '/{stream}'
26 branch: 'stable/{stream}'
27 gs-pathname: '/{stream}'
31 - 'unit-tests-and-docs':
32 slave-label: 'opnfv-build-ubuntu'
34 slave-label: 'opnfv-build-ubuntu'
36 slave-label: 'opnfv-build-ubuntu-arm'
39 name: 'xtesting-verify-{stream}'
41 disabled: '{obj:disabled}'
43 project-type: 'multijob'
49 - 'opnfv-build-ubuntu-defaults'
55 - 'xtesting-verify-triggers-macro':
62 # we do nothing here as the main stuff will be done
64 echo "Triggering phase jobs!"
66 name: 'xtesting-build-and-unittest'
67 execution-type: PARALLEL
69 - name: 'xtesting-verify-unit-tests-and-docs-{stream}'
70 current-parameters: false
71 predefined-parameters: |
72 GERRIT_BRANCH=$GERRIT_BRANCH
73 GERRIT_REFSPEC=$GERRIT_REFSPEC
74 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
75 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
77 node-parameters: false
78 kill-phase-on: FAILURE
80 - name: 'xtesting-verify-build-x86_64-{stream}'
81 current-parameters: false
82 predefined-parameters: |
83 GERRIT_BRANCH=$GERRIT_BRANCH
84 GERRIT_REFSPEC=$GERRIT_REFSPEC
85 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
86 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
89 node-parameters: false
90 kill-phase-on: FAILURE
92 - name: 'xtesting-verify-build-aarch64-{stream}'
93 current-parameters: false
94 predefined-parameters: |
95 GERRIT_BRANCH=$GERRIT_BRANCH
96 GERRIT_REFSPEC=$GERRIT_REFSPEC
97 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
98 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
101 node-parameters: false
102 kill-phase-on: FAILURE
106 name: 'xtesting-verify-{phase}-{stream}'
108 disabled: '{obj:disabled}'
119 - '{slave-label}-defaults'
125 - 'xtesting-verify-{phase}-builders-macro'
128 - 'xtesting-verify-{phase}-publishers-macro'
131 name: 'xtesting-docs-upload-{stream}'
133 disabled: '{obj:disabled}'
139 - 'opnfv-build-ubuntu-defaults'
145 - 'xtesting-docs-upload-triggers-macro':
150 - xtesting-upload-doc-artifact
152 ################################
154 ################################
156 name: 'xtesting-verify-triggers-macro'
159 server-name: 'gerrit.opnfv.org'
161 - patchset-created-event:
162 exclude-drafts: 'false'
163 exclude-trivial-rebase: 'false'
164 exclude-no-code-change: 'false'
165 - draft-published-event
166 - comment-added-contains-event:
167 comment-contains-value: 'recheck'
168 - comment-added-contains-event:
169 comment-contains-value: 'reverify'
171 - project-compare-type: 'ANT'
172 project-pattern: '{project}'
174 - branch-compare-type: 'ANT'
175 branch-pattern: '**/{branch}'
176 disable-strict-forbidden-file-verification: 'true'
177 forbidden-file-paths:
179 pattern: 'docs/**|.gitignore'
182 name: 'xtesting-docs-upload-triggers-macro'
185 server-name: 'gerrit.opnfv.org'
187 - change-merged-event
188 - comment-added-contains-event:
189 comment-contains-value: 'remerge'
191 - project-compare-type: 'ANT'
192 project-pattern: '{project}'
194 - branch-compare-type: 'ANT'
195 branch-pattern: '**/{branch}'
196 disable-strict-forbidden-file-verification: 'true'
197 forbidden-file-paths:
199 pattern: 'docs/**|.gitignore'
200 ################################
202 ################################
205 name: 'xtesting-verify-unit-tests-and-docs-builders-macro'
211 name: 'xtesting-verify-build-x86_64-builders-macro'
214 echo "Not activated!"
217 name: 'xtesting-verify-build-aarch64-builders-macro'
220 echo "Not activated!"
223 name: 'xtesting-upload-doc-artifact'
226 cd $WORKSPACE && tox -edocs
227 wget -O - https://git.opnfv.org/releng/plain/utils/upload-artifact.sh | bash -s "api/_build" "docs"
228 ################################
230 ################################
232 name: 'xtesting-verify-unit-tests-and-docs-publishers-macro'
235 results: nosetests.xml
237 report-file: "coverage.xml"
239 health-auto-update: "true"
240 stability-auto-update: "true"
241 zoom-coverage-chart: "true"
251 - email-jenkins-admins-on-failure
254 name: 'xtesting-verify-build-x86_64-publishers-macro'
256 - email-jenkins-admins-on-failure
259 name: 'xtesting-verify-build-aarch64-publishers-macro'
261 - email-jenkins-admins-on-failure