6 #--------------------------------
8 #--------------------------------
16 branch: 'stable/{stream}'
17 gs-pathname: '/{stream}'
20 #--------------------------------
21 # patch verification phases
22 #--------------------------------
25 slave-label: 'opnfv-build-ubuntu'
27 slave-label: 'opnfv-build-ubuntu'
29 slave-label: 'opnfv-build-ubuntu-arm'
30 #--------------------------------
32 #--------------------------------
34 - 'storperf-verify-{stream}'
35 - 'storperf-verify-{phase}-{stream}'
36 #--------------------------------
38 #--------------------------------
40 name: 'storperf-verify-{stream}'
42 disabled: '{obj:disabled}'
44 project-type: 'multijob'
50 - 'opnfv-build-defaults'
57 server-name: 'gerrit.opnfv.org'
59 - patchset-created-event:
60 exclude-drafts: 'false'
61 exclude-trivial-rebase: 'false'
62 exclude-no-code-change: 'false'
63 - draft-published-event
64 - comment-added-contains-event:
65 comment-contains-value: 'recheck'
66 - comment-added-contains-event:
67 comment-contains-value: 'reverify'
69 - project-compare-type: 'ANT'
70 project-pattern: '{project}'
72 - branch-compare-type: 'ANT'
73 branch-pattern: '**/{branch}'
79 # we do nothing here as the main stuff will be done
81 echo "Triggering phase jobs!"
83 name: 'storperf-build-and-unittest'
84 execution-type: PARALLEL
86 - name: 'storperf-verify-unit-test-{stream}'
87 current-parameters: false
88 predefined-parameters: |
89 GERRIT_BRANCH=$GERRIT_BRANCH
90 GERRIT_REFSPEC=$GERRIT_REFSPEC
91 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
92 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
94 node-parameters: false
95 kill-phase-on: FAILURE
97 - name: 'storperf-verify-build-x86_64-{stream}'
98 current-parameters: false
99 predefined-parameters: |
100 GERRIT_BRANCH=$GERRIT_BRANCH
101 GERRIT_REFSPEC=$GERRIT_REFSPEC
102 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
103 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
106 node-parameters: false
107 kill-phase-on: FAILURE
109 - name: 'storperf-verify-build-aarch64-{stream}'
110 current-parameters: false
111 predefined-parameters: |
112 GERRIT_BRANCH=$GERRIT_BRANCH
113 GERRIT_REFSPEC=$GERRIT_REFSPEC
114 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
115 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
118 node-parameters: false
119 kill-phase-on: FAILURE
123 name: 'storperf-verify-{phase}-{stream}'
125 disabled: '{obj:disabled}'
136 - '{slave-label}-defaults'
142 - 'storperf-verify-{phase}-builders-macro'
145 - 'storperf-verify-{phase}-publishers-macro'
146 #--------------------------------
148 #--------------------------------
150 name: 'storperf-verify-unit-test-builders-macro'
153 $WORKSPACE/ci/verify.sh
155 name: 'storperf-verify-build-x86_64-builders-macro'
158 $WORKSPACE/ci/verify-build.sh
160 name: 'storperf-verify-build-aarch64-builders-macro'
163 $WORKSPACE/ci/verify-build.sh
164 #--------------------------------
166 #--------------------------------
168 name: 'storperf-verify-unit-test-publishers-macro'
171 results: nosetests.xml
173 report-file: "coverage.xml"
175 health-auto-update: "true"
176 stability-auto-update: "true"
177 zoom-coverage-chart: "true"
187 - email-jenkins-admins-on-failure
189 name: 'storperf-verify-build-x86_64-publishers-macro'
191 - email-jenkins-admins-on-failure
193 name: 'storperf-verify-build-aarch64-publishers-macro'
195 - email-jenkins-admins-on-failure