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':
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}'
107 - '{slave-label}-defaults'
113 - 'functest-verify-{phase}-builders-macro'
116 - 'functest-verify-{phase}-publishers-macro'
119 name: 'functest-docs-upload-{stream}'
121 disabled: '{obj:disabled}'
127 - 'opnfv-build-ubuntu-defaults'
133 - 'functest-docs-upload-triggers-macro':
138 - functest-upload-doc-artifact
140 ################################
142 ################################
144 name: 'functest-verify-triggers-macro'
147 server-name: 'gerrit.opnfv.org'
149 - patchset-created-event:
150 exclude-drafts: 'false'
151 exclude-trivial-rebase: 'false'
152 exclude-no-code-change: 'false'
153 - draft-published-event
154 - comment-added-contains-event:
155 comment-contains-value: 'recheck'
156 - comment-added-contains-event:
157 comment-contains-value: 'reverify'
159 - project-compare-type: 'ANT'
160 project-pattern: '{project}'
162 - branch-compare-type: 'ANT'
163 branch-pattern: '**/{branch}'
164 disable-strict-forbidden-file-verification: 'true'
165 forbidden-file-paths:
167 pattern: 'docs/**|.gitignore'
169 name: 'functest-docs-upload-triggers-macro'
172 server-name: 'gerrit.opnfv.org'
174 - change-merged-event
175 - comment-added-contains-event:
176 comment-contains-value: 'remerge'
178 - project-compare-type: 'ANT'
179 project-pattern: '{project}'
181 - branch-compare-type: 'ANT'
182 branch-pattern: '**/{branch}'
183 disable-strict-forbidden-file-verification: 'true'
184 forbidden-file-paths:
186 pattern: 'docs/**|.gitignore'
187 ################################
189 ################################
192 name: 'functest-verify-unit-tests-and-docs-builders-macro'
197 name: 'functest-verify-build-x86_64-builders-macro'
200 echo "Not activated!"
202 name: 'functest-verify-build-aarch64-builders-macro'
205 echo "Not activated!"
207 name: 'functest-upload-doc-artifact'
210 cd $WORKSPACE && tox -edocs
211 wget -O - https://git.opnfv.org/releng/plain/utils/upload-artifact.sh | bash -s "api/_build" "docs"
212 ################################
214 ################################
216 name: 'functest-verify-unit-tests-and-docs-publishers-macro'
219 results: nosetests.xml
221 report-file: "coverage.xml"
223 health-auto-update: "true"
224 stability-auto-update: "true"
225 zoom-coverage-chart: "true"
235 - email-jenkins-admins-on-failure
237 name: 'functest-verify-build-x86_64-publishers-macro'
239 - email-jenkins-admins-on-failure
241 name: 'functest-verify-build-aarch64-publishers-macro'
243 - email-jenkins-admins-on-failure