2 ###################################################
3 # All the jobs except verify have been removed!
4 # They will only be enabled on request by projects!
5 ###################################################
7 name: xtesting-project-jobs
9 project: 'functest-xtesting'
12 - 'xtesting-verify-{stream}'
13 - 'xtesting-verify-{phase}-{stream}'
21 branch: 'stable/{stream}'
22 gs-pathname: '/{stream}'
25 branch: 'stable/{stream}'
26 gs-pathname: '/{stream}'
30 - 'unit-tests-and-docs':
31 slave-label: 'opnfv-build-ubuntu'
34 name: 'xtesting-verify-{stream}'
36 disabled: '{obj:disabled}'
38 project-type: 'multijob'
44 - 'opnfv-build-ubuntu-defaults'
50 - 'xtesting-verify-triggers-macro':
57 # we do nothing here as the main stuff will be done
59 echo "Triggering phase jobs!"
61 name: 'xtesting-build-and-unittest'
62 execution-type: PARALLEL
64 - name: 'xtesting-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
77 name: 'xtesting-verify-{phase}-{stream}'
79 disabled: '{obj:disabled}'
90 - '{slave-label}-defaults'
96 - 'xtesting-verify-{phase}-builders-macro'
99 - 'xtesting-verify-{phase}-publishers-macro'
101 ################################
103 ################################
105 name: 'xtesting-verify-triggers-macro'
108 server-name: 'gerrit.opnfv.org'
110 - patchset-created-event:
111 exclude-drafts: 'false'
112 exclude-trivial-rebase: 'false'
113 exclude-no-code-change: 'false'
114 - draft-published-event
115 - comment-added-contains-event:
116 comment-contains-value: 'recheck'
117 - comment-added-contains-event:
118 comment-contains-value: 'reverify'
120 - project-compare-type: 'ANT'
121 project-pattern: '{project}'
123 - branch-compare-type: 'ANT'
124 branch-pattern: '**/{branch}'
125 disable-strict-forbidden-file-verification: 'true'
126 forbidden-file-paths:
128 pattern: 'docs/**|.gitignore'
130 ################################
132 ################################
135 name: 'xtesting-verify-unit-tests-and-docs-builders-macro'
140 ################################
142 ################################
144 name: 'xtesting-verify-unit-tests-and-docs-publishers-macro'
147 results: nosetests.xml
149 report-file: "coverage.xml"
151 health-auto-update: "true"
152 stability-auto-update: "true"
153 zoom-coverage-chart: "true"
163 - email-jenkins-admins-on-failure