2 ###################################################
3 # All the jobs except verify have been removed!
4 # They will only be enabled on request by projects!
5 ###################################################
7 name: functest-project-jobs
12 - 'functest-verify-{stream}'
13 - 'functest-verify-{phase}-{stream}'
14 - 'functest-docs-upload-{stream}'
22 branch: 'stable/{stream}'
26 branch: 'stable/{stream}'
30 branch: 'stable/{stream}'
31 gs-pathname: '/{stream}'
35 - 'unit-tests-and-docs':
36 slave-label: 'opnfv-build-ubuntu'
38 slave-label: 'opnfv-build-ubuntu'
40 slave-label: 'opnfv-build-ubuntu-arm'
43 name: 'functest-verify-{stream}'
45 disabled: '{obj:disabled}'
47 project-type: 'multijob'
53 - 'opnfv-build-ubuntu-defaults'
59 - 'functest-verify-triggers-macro':
66 # we do nothing here as the main stuff will be done
68 echo "Triggering phase jobs!"
70 name: 'functest-build-and-unittest'
71 execution-type: PARALLEL
73 - name: 'functest-verify-unit-tests-and-docs-{stream}'
74 current-parameters: false
75 predefined-parameters: |
76 GERRIT_BRANCH=$GERRIT_BRANCH
77 GERRIT_REFSPEC=$GERRIT_REFSPEC
78 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
79 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
81 node-parameters: false
82 kill-phase-on: FAILURE
84 - name: 'functest-verify-build-x86_64-{stream}'
85 current-parameters: false
86 predefined-parameters: |
87 GERRIT_BRANCH=$GERRIT_BRANCH
88 GERRIT_REFSPEC=$GERRIT_REFSPEC
89 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
90 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
93 node-parameters: false
94 kill-phase-on: FAILURE
96 - name: 'functest-verify-build-aarch64-{stream}'
97 current-parameters: false
98 predefined-parameters: |
99 GERRIT_BRANCH=$GERRIT_BRANCH
100 GERRIT_REFSPEC=$GERRIT_REFSPEC
101 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
102 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
105 node-parameters: false
106 kill-phase-on: FAILURE
110 name: 'functest-verify-{phase}-{stream}'
112 disabled: '{obj:disabled}'
123 - '{slave-label}-defaults'
129 - 'functest-verify-{phase}-builders-macro'
132 - 'functest-verify-{phase}-publishers-macro'
135 name: 'functest-docs-upload-{stream}'
137 disabled: '{obj:disabled}'
143 - 'opnfv-build-ubuntu-defaults'
149 - 'functest-docs-upload-triggers-macro':
154 - functest-upload-doc-artifact
156 ################################
158 ################################
160 name: 'functest-verify-triggers-macro'
163 server-name: 'gerrit.opnfv.org'
165 - patchset-created-event:
166 exclude-drafts: 'false'
167 exclude-trivial-rebase: 'false'
168 exclude-no-code-change: 'false'
169 - draft-published-event
170 - comment-added-contains-event:
171 comment-contains-value: 'recheck'
172 - comment-added-contains-event:
173 comment-contains-value: 'reverify'
175 - project-compare-type: 'ANT'
176 project-pattern: '{project}'
178 - branch-compare-type: 'ANT'
179 branch-pattern: '**/{branch}'
180 disable-strict-forbidden-file-verification: 'true'
181 forbidden-file-paths:
183 pattern: 'docs/**|.gitignore'
186 name: 'functest-docs-upload-triggers-macro'
189 server-name: 'gerrit.opnfv.org'
191 - change-merged-event
192 - comment-added-contains-event:
193 comment-contains-value: 'remerge'
195 - project-compare-type: 'ANT'
196 project-pattern: '{project}'
198 - branch-compare-type: 'ANT'
199 branch-pattern: '**/{branch}'
200 disable-strict-forbidden-file-verification: 'true'
201 forbidden-file-paths:
203 pattern: 'docs/**|.gitignore'
204 ################################
206 ################################
209 name: 'functest-verify-unit-tests-and-docs-builders-macro'
215 name: 'functest-verify-build-x86_64-builders-macro'
218 echo "Not activated!"
221 name: 'functest-verify-build-aarch64-builders-macro'
224 echo "Not activated!"
227 name: 'functest-upload-doc-artifact'
230 cd $WORKSPACE && tox -edocs
231 wget -O - https://git.opnfv.org/releng/plain/utils/upload-artifact.sh | bash -s "api/build" "docs"
232 ################################
234 ################################
236 name: 'functest-verify-unit-tests-and-docs-publishers-macro'
239 results: nosetests.xml
241 report-file: "coverage.xml"
243 health-auto-update: "true"
244 stability-auto-update: "true"
245 zoom-coverage-chart: "true"
255 - email-jenkins-admins-on-failure
258 name: 'functest-verify-build-x86_64-publishers-macro'
260 - email-jenkins-admins-on-failure
263 name: 'functest-verify-build-aarch64-publishers-macro'
265 - email-jenkins-admins-on-failure