7 # -------------------------------
9 # -------------------------------
17 branch: 'stable/{stream}'
18 gs-pathname: '/{stream}'
21 # -------------------------------
22 # patch verification phases
23 # -------------------------------
26 slave-label: 'opnfv-build-ubuntu'
28 slave-label: 'opnfv-build-ubuntu'
30 slave-label: 'opnfv-build-ubuntu-arm'
31 # -------------------------------
33 # -------------------------------
35 - 'storperf-verify-{stream}'
36 - 'storperf-verify-{phase}-{stream}'
37 # -------------------------------
39 # -------------------------------
41 name: 'storperf-verify-{stream}'
43 disabled: '{obj:disabled}'
45 project-type: 'multijob'
51 - 'opnfv-build-defaults'
58 server-name: 'gerrit.opnfv.org'
60 - patchset-created-event:
61 exclude-drafts: 'false'
62 exclude-trivial-rebase: 'false'
63 exclude-no-code-change: 'false'
64 - draft-published-event
65 - comment-added-contains-event:
66 comment-contains-value: 'recheck'
67 - comment-added-contains-event:
68 comment-contains-value: 'reverify'
70 - project-compare-type: 'ANT'
71 project-pattern: '{project}'
73 - branch-compare-type: 'ANT'
74 branch-pattern: '**/{branch}'
80 # we do nothing here as the main stuff will be done
82 echo "Triggering phase jobs!"
84 name: 'storperf-build-and-unittest'
85 execution-type: PARALLEL
87 - name: 'storperf-verify-unit-test-{stream}'
88 current-parameters: false
89 predefined-parameters: |
90 GERRIT_BRANCH=$GERRIT_BRANCH
91 GERRIT_REFSPEC=$GERRIT_REFSPEC
92 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
93 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
95 node-parameters: false
96 kill-phase-on: FAILURE
98 - name: 'storperf-verify-build-x86_64-{stream}'
99 current-parameters: false
100 predefined-parameters: |
101 GERRIT_BRANCH=$GERRIT_BRANCH
102 GERRIT_REFSPEC=$GERRIT_REFSPEC
103 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
104 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
107 node-parameters: false
108 kill-phase-on: FAILURE
110 - name: 'storperf-verify-build-aarch64-{stream}'
111 current-parameters: false
112 predefined-parameters: |
113 GERRIT_BRANCH=$GERRIT_BRANCH
114 GERRIT_REFSPEC=$GERRIT_REFSPEC
115 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
116 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
119 node-parameters: false
120 kill-phase-on: FAILURE
124 name: 'storperf-verify-{phase}-{stream}'
126 disabled: '{obj:disabled}'
137 - '{slave-label}-defaults'
143 - 'storperf-verify-{phase}-builders-macro'
146 - 'storperf-verify-{phase}-publishers-macro'
147 # -------------------------------
149 # -------------------------------
151 name: 'storperf-verify-unit-test-builders-macro'
154 $WORKSPACE/ci/verify.sh
157 name: 'storperf-verify-build-x86_64-builders-macro'
160 $WORKSPACE/ci/verify-build.sh
163 name: 'storperf-verify-build-aarch64-builders-macro'
166 $WORKSPACE/ci/verify-build.sh
167 # -------------------------------
169 # -------------------------------
171 name: 'storperf-verify-unit-test-publishers-macro'
174 results: nosetests.xml
176 report-file: "coverage.xml"
178 health-auto-update: "true"
179 stability-auto-update: "true"
180 zoom-coverage-chart: "true"
190 - email-jenkins-admins-on-failure
193 name: 'storperf-verify-build-x86_64-publishers-macro'
195 - email-jenkins-admins-on-failure
198 name: 'storperf-verify-build-aarch64-publishers-macro'
200 - email-jenkins-admins-on-failure