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}'
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: 'functest-verify-{stream}'
37 disabled: '{obj:disabled}'
39 project-type: 'multijob'
45 - 'opnfv-build-ubuntu-defaults'
51 - 'functest-verify-triggers-macro':
58 # we do nothing here as the main stuff will be done
60 echo "Triggering phase jobs!"
62 name: 'functest-build-and-unittest'
63 execution-type: PARALLEL
65 - name: 'functest-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: 'functest-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: 'functest-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: 'functest-verify-{phase}-{stream}'
104 disabled: '{obj:disabled}'
115 - '{slave-label}-defaults'
121 - 'functest-verify-{phase}-builders-macro'
124 - 'functest-verify-{phase}-publishers-macro'
127 name: 'functest-docs-upload-{stream}'
129 disabled: '{obj:disabled}'
135 - 'opnfv-build-ubuntu-defaults'
141 - 'functest-docs-upload-triggers-macro':
146 - functest-upload-doc-artifact
148 ################################
150 ################################
152 name: 'functest-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: 'functest-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: 'functest-verify-unit-tests-and-docs-builders-macro'
207 name: 'functest-verify-build-x86_64-builders-macro'
210 echo "Not activated!"
213 name: 'functest-verify-build-aarch64-builders-macro'
216 echo "Not activated!"
219 name: 'functest-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: 'functest-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: 'functest-verify-build-x86_64-publishers-macro'
252 - email-jenkins-admins-on-failure
255 name: 'functest-verify-build-aarch64-publishers-macro'
257 - email-jenkins-admins-on-failure