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}'
38 project-type: 'multijob'
44 - 'opnfv-build-ubuntu-defaults'
50 - 'functest-verify-triggers-macro':
57 # we do nothing here as the main stuff will be done
59 echo "Triggering phase jobs!"
61 name: 'functest-build-and-unittest'
62 execution-type: PARALLEL
64 - name: 'functest-verify-unit-tests-and-docs-{stream}'
65 current-parameters: false
66 predefined-parameters: |
67 GERRIT_BRANCH=$GERRIT_BRANCH
68 GERRIT_REFSPEC=$GERRIT_REFSPEC
69 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
70 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
72 node-parameters: false
73 kill-phase-on: FAILURE
75 - name: 'functest-verify-build-x86_64-{stream}'
76 current-parameters: false
77 predefined-parameters: |
78 GERRIT_BRANCH=$GERRIT_BRANCH
79 GERRIT_REFSPEC=$GERRIT_REFSPEC
80 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
81 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
84 node-parameters: false
85 kill-phase-on: FAILURE
87 - name: 'functest-verify-build-aarch64-{stream}'
88 current-parameters: false
89 predefined-parameters: |
90 GERRIT_BRANCH=$GERRIT_BRANCH
91 GERRIT_REFSPEC=$GERRIT_REFSPEC
92 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
93 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
96 node-parameters: false
97 kill-phase-on: FAILURE
101 name: 'functest-verify-{phase}-{stream}'
103 disabled: '{obj:disabled}'
114 - '{slave-label}-defaults'
120 - 'functest-verify-{phase}-builders-macro'
123 - 'functest-verify-{phase}-publishers-macro'
126 name: 'functest-docs-upload-{stream}'
128 disabled: '{obj:disabled}'
134 - 'opnfv-build-ubuntu-defaults'
140 - 'functest-docs-upload-triggers-macro':
145 - functest-upload-doc-artifact
147 ################################
149 ################################
151 name: 'functest-verify-triggers-macro'
154 server-name: 'gerrit.opnfv.org'
156 - patchset-created-event:
157 exclude-drafts: 'false'
158 exclude-trivial-rebase: 'false'
159 exclude-no-code-change: 'false'
160 - draft-published-event
161 - comment-added-contains-event:
162 comment-contains-value: 'recheck'
163 - comment-added-contains-event:
164 comment-contains-value: 'reverify'
166 - project-compare-type: 'ANT'
167 project-pattern: '{project}'
169 - branch-compare-type: 'ANT'
170 branch-pattern: '**/{branch}'
171 disable-strict-forbidden-file-verification: 'true'
172 forbidden-file-paths:
174 pattern: 'docs/**|.gitignore'
176 name: 'functest-docs-upload-triggers-macro'
179 server-name: 'gerrit.opnfv.org'
181 - change-merged-event
182 - comment-added-contains-event:
183 comment-contains-value: 'remerge'
185 - project-compare-type: 'ANT'
186 project-pattern: '{project}'
188 - branch-compare-type: 'ANT'
189 branch-pattern: '**/{branch}'
190 disable-strict-forbidden-file-verification: 'true'
191 forbidden-file-paths:
193 pattern: 'docs/**|.gitignore'
194 ################################
196 ################################
199 name: 'functest-verify-unit-tests-and-docs-builders-macro'
204 name: 'functest-verify-build-x86_64-builders-macro'
207 echo "Not activated!"
209 name: 'functest-verify-build-aarch64-builders-macro'
212 echo "Not activated!"
214 name: 'functest-upload-doc-artifact'
217 cd $WORKSPACE && tox -edocs
218 wget -O - https://git.opnfv.org/releng/plain/utils/upload-artifact.sh | bash -s "api/_build" "docs"
219 ################################
221 ################################
223 name: 'functest-verify-unit-tests-and-docs-publishers-macro'
226 results: nosetests.xml
228 report-file: "coverage.xml"
230 health-auto-update: "true"
231 stability-auto-update: "true"
232 zoom-coverage-chart: "true"
242 - email-jenkins-admins-on-failure
244 name: 'functest-verify-build-x86_64-publishers-macro'
246 - email-jenkins-admins-on-failure
248 name: 'functest-verify-build-aarch64-publishers-macro'
250 - email-jenkins-admins-on-failure