1 ###################################################
2 # All the jobs except verify have been removed!
3 # They will only be enabled on request by projects!
4 ###################################################
6 name: functest-project-jobs
11 - 'functest-verify-{stream}'
12 - 'functest-verify-{phase}-{stream}'
13 - 'functest-docs-upload-{stream}'
21 branch: 'stable/{stream}'
22 gs-pathname: '/{stream}'
26 - 'unit-tests-and-docs':
27 slave-label: 'opnfv-build-ubuntu'
29 slave-label: 'opnfv-build-ubuntu'
31 slave-label: 'opnfv-build-ubuntu-arm'
34 name: 'functest-verify-{stream}'
36 disabled: '{obj:disabled}'
42 - 'opnfv-build-defaults'
48 - 'functest-verify-triggers-macro'
53 # we do nothing here as the main stuff will be done
55 echo "Triggering phase jobs!"
57 name: 'functest-build-and-unittest'
58 execution-type: PARALLEL
60 - name: 'functest-verify-unit-tests-and-docs-{stream}'
61 current-parameters: false
62 predefined-parameters: |
63 GERRIT_BRANCH=$GERRIT_BRANCH
64 GERRIT_REFSPEC=$GERRIT_REFSPEC
65 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
66 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
68 node-parameters: false
69 kill-phase-on: FAILURE
71 - name: 'functest-verify-build-x86_64-{stream}'
72 current-parameters: false
73 predefined-parameters: |
74 GERRIT_BRANCH=$GERRIT_BRANCH
75 GERRIT_REFSPEC=$GERRIT_REFSPEC
76 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
77 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
80 node-parameters: false
81 kill-phase-on: FAILURE
83 - name: 'functest-verify-build-aarch64-{stream}'
84 current-parameters: false
85 predefined-parameters: |
86 GERRIT_BRANCH=$GERRIT_BRANCH
87 GERRIT_REFSPEC=$GERRIT_REFSPEC
88 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
89 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
92 node-parameters: false
93 kill-phase-on: FAILURE
97 name: 'functest-verify-{phase}-{stream}'
99 disabled: '{obj:disabled}'
105 - '{slave-label}-defaults'
111 - 'functest-verify-{phase}-builders-macro'
114 - 'functest-verify-{phase}-publishers-macro'
117 name: 'functest-docs-upload-{stream}'
119 disabled: '{obj:disabled}'
125 - 'opnfv-build-ubuntu-defaults'
131 - 'functest-docs-upload-triggers-macro'
134 - functest-upload-doc-artifact
136 ################################
138 ################################
140 name: 'functest-verify-triggers-macro'
143 server-name: 'gerrit.opnfv.org'
145 - patchset-created-event:
146 exclude-drafts: 'false'
147 exclude-trivial-rebase: 'false'
148 exclude-no-code-change: 'false'
149 - draft-published-event
150 - comment-added-contains-event:
151 comment-contains-value: 'recheck'
152 - comment-added-contains-event:
153 comment-contains-value: 'reverify'
155 - project-compare-type: 'ANT'
156 project-pattern: '{project}'
158 - branch-compare-type: 'ANT'
159 branch-pattern: '**/{branch}'
160 disable-strict-forbidden-file-verification: 'true'
161 forbidden-file-paths:
163 pattern: 'docs/**|.gitignore'
165 name: 'functest-docs-upload-triggers-macro'
168 server-name: 'gerrit.opnfv.org'
170 - change-merged-event
171 - comment-added-contains-event:
172 comment-contains-value: 'remerge'
174 - project-compare-type: 'ANT'
175 project-pattern: '{project}'
177 - branch-compare-type: 'ANT'
178 branch-pattern: '**/{branch}'
179 disable-strict-forbidden-file-verification: 'true'
180 forbidden-file-paths:
182 pattern: 'docs/**|.gitignore'
183 ################################
185 ################################
188 name: 'functest-verify-unit-tests-and-docs-builders-macro'
193 name: 'functest-verify-build-x86_64-builders-macro'
196 echo "Not activated!"
198 name: 'functest-verify-build-aarch64-builders-macro'
201 echo "Not activated!"
203 name: 'functest-upload-doc-artifact'
206 cd $WORKSPACE && tox -edocs
207 wget -O - https://git.opnfv.org/releng/plain/utils/upload-artifact.sh | bash -s "api/_build" "docs"
208 ################################
210 ################################
212 name: 'functest-verify-unit-tests-and-docs-publishers-macro'
215 results: nosetests.xml
217 report-file: "coverage.xml"
219 health-auto-update: "true"
220 stability-auto-update: "true"
221 zoom-coverage-chart: "true"
231 - email-jenkins-admins-on-failure
233 name: 'functest-verify-build-x86_64-publishers-macro'
235 - email-jenkins-admins-on-failure
237 name: 'functest-verify-build-aarch64-publishers-macro'
239 - email-jenkins-admins-on-failure