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-ubuntu-defaults'
48 - 'functest-verify-triggers-macro':
55 # we do nothing here as the main stuff will be done
57 echo "Triggering phase jobs!"
59 name: 'functest-build-and-unittest'
60 execution-type: PARALLEL
62 - name: 'functest-verify-unit-tests-and-docs-{stream}'
63 current-parameters: false
64 predefined-parameters: |
65 GERRIT_BRANCH=$GERRIT_BRANCH
66 GERRIT_REFSPEC=$GERRIT_REFSPEC
67 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
68 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
70 node-parameters: false
71 kill-phase-on: FAILURE
73 - name: 'functest-verify-build-x86_64-{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
82 node-parameters: false
83 kill-phase-on: FAILURE
85 - name: 'functest-verify-build-aarch64-{stream}'
86 current-parameters: false
87 predefined-parameters: |
88 GERRIT_BRANCH=$GERRIT_BRANCH
89 GERRIT_REFSPEC=$GERRIT_REFSPEC
90 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
91 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
94 node-parameters: false
95 kill-phase-on: FAILURE
99 name: 'functest-verify-{phase}-{stream}'
101 disabled: '{obj:disabled}'
112 - '{slave-label}-defaults'
118 - 'functest-verify-{phase}-builders-macro'
121 - 'functest-verify-{phase}-publishers-macro'
124 name: 'functest-docs-upload-{stream}'
126 disabled: '{obj:disabled}'
132 - 'opnfv-build-ubuntu-defaults'
138 - 'functest-docs-upload-triggers-macro':
143 - functest-upload-doc-artifact
145 ################################
147 ################################
149 name: 'functest-verify-triggers-macro'
152 server-name: 'gerrit.opnfv.org'
154 - patchset-created-event:
155 exclude-drafts: 'false'
156 exclude-trivial-rebase: 'false'
157 exclude-no-code-change: 'false'
158 - draft-published-event
159 - comment-added-contains-event:
160 comment-contains-value: 'recheck'
161 - comment-added-contains-event:
162 comment-contains-value: 'reverify'
164 - project-compare-type: 'ANT'
165 project-pattern: '{project}'
167 - branch-compare-type: 'ANT'
168 branch-pattern: '**/{branch}'
169 disable-strict-forbidden-file-verification: 'true'
170 forbidden-file-paths:
172 pattern: 'docs/**|.gitignore'
174 name: 'functest-docs-upload-triggers-macro'
177 server-name: 'gerrit.opnfv.org'
179 - change-merged-event
180 - comment-added-contains-event:
181 comment-contains-value: 'remerge'
183 - project-compare-type: 'ANT'
184 project-pattern: '{project}'
186 - branch-compare-type: 'ANT'
187 branch-pattern: '**/{branch}'
188 disable-strict-forbidden-file-verification: 'true'
189 forbidden-file-paths:
191 pattern: 'docs/**|.gitignore'
192 ################################
194 ################################
197 name: 'functest-verify-unit-tests-and-docs-builders-macro'
202 name: 'functest-verify-build-x86_64-builders-macro'
205 echo "Not activated!"
207 name: 'functest-verify-build-aarch64-builders-macro'
210 echo "Not activated!"
212 name: 'functest-upload-doc-artifact'
215 cd $WORKSPACE && tox -edocs
216 wget -O - https://git.opnfv.org/releng/plain/utils/upload-artifact.sh | bash -s "api/_build" "docs"
217 ################################
219 ################################
221 name: 'functest-verify-unit-tests-and-docs-publishers-macro'
224 results: nosetests.xml
226 report-file: "coverage.xml"
228 health-auto-update: "true"
229 stability-auto-update: "true"
230 zoom-coverage-chart: "true"
240 - email-jenkins-admins-on-failure
242 name: 'functest-verify-build-x86_64-publishers-macro'
244 - email-jenkins-admins-on-failure
246 name: 'functest-verify-build-aarch64-publishers-macro'
248 - email-jenkins-admins-on-failure