6 #--------------------------------
8 #--------------------------------
15 #--------------------------------
16 # patch verification phases
17 #--------------------------------
20 slave-label: 'opnfv-build-ubuntu'
22 slave-label: 'opnfv-build-ubuntu'
24 slave-label: 'opnfv-build-ubuntu-arm'
25 #--------------------------------
27 #--------------------------------
29 - 'storperf-verify-{stream}'
30 - 'storperf-verify-{phase}-{stream}'
31 #--------------------------------
33 #--------------------------------
35 name: 'storperf-verify-{stream}'
37 disabled: '{obj:disabled}'
39 project-type: 'multijob'
45 - 'opnfv-build-defaults'
52 server-name: 'gerrit.opnfv.org'
54 - patchset-created-event:
55 exclude-drafts: 'false'
56 exclude-trivial-rebase: 'false'
57 exclude-no-code-change: 'false'
58 - draft-published-event
59 - comment-added-contains-event:
60 comment-contains-value: 'recheck'
61 - comment-added-contains-event:
62 comment-contains-value: 'reverify'
64 - project-compare-type: 'ANT'
65 project-pattern: '{project}'
67 - branch-compare-type: 'ANT'
68 branch-pattern: '**/{branch}'
74 # we do nothing here as the main stuff will be done
76 echo "Triggering phase jobs!"
78 name: 'storperf-build-and-unittest'
79 execution-type: PARALLEL
81 - name: 'storperf-verify-unit-test-{stream}'
82 current-parameters: false
83 predefined-parameters: |
84 GERRIT_BRANCH=$GERRIT_BRANCH
85 GERRIT_REFSPEC=$GERRIT_REFSPEC
86 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
87 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
89 node-parameters: false
90 kill-phase-on: FAILURE
92 - name: 'storperf-verify-build-x86_64-{stream}'
93 current-parameters: false
94 predefined-parameters: |
95 GERRIT_BRANCH=$GERRIT_BRANCH
96 GERRIT_REFSPEC=$GERRIT_REFSPEC
97 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
98 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
101 node-parameters: false
102 kill-phase-on: FAILURE
104 - name: 'storperf-verify-build-aarch64-{stream}'
105 current-parameters: false
106 predefined-parameters: |
107 GERRIT_BRANCH=$GERRIT_BRANCH
108 GERRIT_REFSPEC=$GERRIT_REFSPEC
109 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
110 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
113 node-parameters: false
114 kill-phase-on: FAILURE
118 name: 'storperf-verify-{phase}-{stream}'
120 disabled: '{obj:disabled}'
131 - '{slave-label}-defaults'
137 - 'storperf-verify-{phase}-builders-macro'
140 - 'storperf-verify-{phase}-publishers-macro'
141 #--------------------------------
143 #--------------------------------
145 name: 'storperf-verify-unit-test-builders-macro'
148 $WORKSPACE/ci/verify.sh
150 name: 'storperf-verify-build-x86_64-builders-macro'
153 $WORKSPACE/ci/verify-build.sh
155 name: 'storperf-verify-build-aarch64-builders-macro'
158 $WORKSPACE/ci/verify-build.sh
159 #--------------------------------
161 #--------------------------------
163 name: 'storperf-verify-unit-test-publishers-macro'
166 results: nosetests.xml
168 report-file: "coverage.xml"
170 health-auto-update: "true"
171 stability-auto-update: "true"
172 zoom-coverage-chart: "true"
182 - email-jenkins-admins-on-failure
184 name: 'storperf-verify-build-x86_64-publishers-macro'
186 - email-jenkins-admins-on-failure
188 name: 'storperf-verify-build-aarch64-publishers-macro'
190 - email-jenkins-admins-on-failure