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}'
27 - 'unit-tests-and-docs':
28 slave-label: 'opnfv-build-ubuntu'
30 slave-label: 'opnfv-build-ubuntu'
32 slave-label: 'opnfv-build-ubuntu-arm'
35 name: 'xtesting-verify-{stream}'
37 disabled: '{obj:disabled}'
39 project-type: 'multijob'
45 - 'opnfv-build-ubuntu-defaults'
51 - 'xtesting-verify-triggers-macro':
58 # we do nothing here as the main stuff will be done
60 echo "Triggering phase jobs!"
62 name: 'xtesting-build-and-unittest'
63 execution-type: PARALLEL
65 - name: 'xtesting-verify-unit-tests-and-docs-{stream}'
66 current-parameters: false
67 predefined-parameters: |
68 GERRIT_BRANCH=$GERRIT_BRANCH
69 GERRIT_REFSPEC=$GERRIT_REFSPEC
70 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
71 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
73 node-parameters: false
74 kill-phase-on: FAILURE
76 - name: 'xtesting-verify-build-x86_64-{stream}'
77 current-parameters: false
78 predefined-parameters: |
79 GERRIT_BRANCH=$GERRIT_BRANCH
80 GERRIT_REFSPEC=$GERRIT_REFSPEC
81 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
82 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
85 node-parameters: false
86 kill-phase-on: FAILURE
88 - name: 'xtesting-verify-build-aarch64-{stream}'
89 current-parameters: false
90 predefined-parameters: |
91 GERRIT_BRANCH=$GERRIT_BRANCH
92 GERRIT_REFSPEC=$GERRIT_REFSPEC
93 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
94 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
97 node-parameters: false
98 kill-phase-on: FAILURE
102 name: 'xtesting-verify-{phase}-{stream}'
104 disabled: '{obj:disabled}'
115 - '{slave-label}-defaults'
121 - 'xtesting-verify-{phase}-builders-macro'
124 - 'xtesting-verify-{phase}-publishers-macro'
127 name: 'xtesting-docs-upload-{stream}'
129 disabled: '{obj:disabled}'
135 - 'opnfv-build-ubuntu-defaults'
141 - 'xtesting-docs-upload-triggers-macro':
146 - xtesting-upload-doc-artifact
148 ################################
150 ################################
152 name: 'xtesting-verify-triggers-macro'
155 server-name: 'gerrit.opnfv.org'
157 - patchset-created-event:
158 exclude-drafts: 'false'
159 exclude-trivial-rebase: 'false'
160 exclude-no-code-change: 'false'
161 - draft-published-event
162 - comment-added-contains-event:
163 comment-contains-value: 'recheck'
164 - comment-added-contains-event:
165 comment-contains-value: 'reverify'
167 - project-compare-type: 'ANT'
168 project-pattern: '{project}'
170 - branch-compare-type: 'ANT'
171 branch-pattern: '**/{branch}'
172 disable-strict-forbidden-file-verification: 'true'
173 forbidden-file-paths:
175 pattern: 'docs/**|.gitignore'
178 name: 'xtesting-docs-upload-triggers-macro'
181 server-name: 'gerrit.opnfv.org'
183 - change-merged-event
184 - comment-added-contains-event:
185 comment-contains-value: 'remerge'
187 - project-compare-type: 'ANT'
188 project-pattern: '{project}'
190 - branch-compare-type: 'ANT'
191 branch-pattern: '**/{branch}'
192 disable-strict-forbidden-file-verification: 'true'
193 forbidden-file-paths:
195 pattern: 'docs/**|.gitignore'
196 ################################
198 ################################
201 name: 'xtesting-verify-unit-tests-and-docs-builders-macro'
207 name: 'xtesting-verify-build-x86_64-builders-macro'
210 echo "Not activated!"
213 name: 'xtesting-verify-build-aarch64-builders-macro'
216 echo "Not activated!"
219 name: 'xtesting-upload-doc-artifact'
222 cd $WORKSPACE && tox -edocs
223 wget -O - https://git.opnfv.org/releng/plain/utils/upload-artifact.sh | bash -s "api/_build" "docs"
224 ################################
226 ################################
228 name: 'xtesting-verify-unit-tests-and-docs-publishers-macro'
231 results: nosetests.xml
233 report-file: "coverage.xml"
235 health-auto-update: "true"
236 stability-auto-update: "true"
237 zoom-coverage-chart: "true"
247 - email-jenkins-admins-on-failure
250 name: 'xtesting-verify-build-x86_64-publishers-macro'
252 - email-jenkins-admins-on-failure
255 name: 'xtesting-verify-build-aarch64-publishers-macro'
257 - email-jenkins-admins-on-failure