2 name: 'sandbox-verify-jobs'
7 #####################################
9 #####################################
16 branch: 'stable/{stream}'
17 gs-pathname: '/{stream}'
19 #####################################
20 # patch verification phases
21 #####################################
24 slave-label: 'opnfv-build-ubuntu'
26 slave-label: 'opnfv-build-ubuntu'
28 slave-label: 'sandbox-virtual'
30 slave-label: 'sandbox-virtual'
31 #####################################
33 #####################################
35 - 'sandbox-verify-{stream}'
36 - 'sandbox-verify-{phase}-{stream}'
37 #####################################
39 #####################################
41 name: 'sandbox-verify-{stream}'
43 project-type: multijob
45 disabled: '{obj:disabled}'
56 use-build-blocker: true
58 - 'sandbox-verify-master'
59 - 'sandbox-verify-colorado'
64 credentials-id: '{ssh-credentials}'
65 refspec: '$GERRIT_REFSPEC'
66 choosing-strategy: 'gerrit'
69 - ssh-agent-credentials:
79 - patchset-created-event:
80 exclude-drafts: 'false'
81 exclude-trivial-rebase: 'false'
82 exclude-no-code-change: 'false'
83 - draft-published-event
84 - comment-added-contains-event:
85 comment-contains-value: 'recheck'
86 - comment-added-contains-event:
87 comment-contains-value: 'reverify'
89 - project-compare-type: 'ANT'
90 project-pattern: '{project}'
92 - branch-compare-type: 'ANT'
93 branch-pattern: '**/{branch}'
96 pattern: 'docs/**|.gitignore'
97 readable-message: true
104 - 'sandbox-virtual-defaults'
107 - description-setter:
108 description: "Built on $NODE_NAME"
111 condition: SUCCESSFUL
113 - name: 'sandbox-verify-basic-{stream}'
114 current-parameters: false
115 predefined-parameters: |
116 GERRIT_BRANCH=$GERRIT_BRANCH
117 GERRIT_REFSPEC=$GERRIT_REFSPEC
118 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
119 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
120 kill-phase-on: FAILURE
124 condition: SUCCESSFUL
126 - name: 'sandbox-verify-build-{stream}'
127 current-parameters: false
128 predefined-parameters: |
129 GERRIT_BRANCH=$GERRIT_BRANCH
130 GERRIT_REFSPEC=$GERRIT_REFSPEC
131 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
132 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
133 kill-phase-on: FAILURE
137 condition: SUCCESSFUL
139 - name: 'sandbox-verify-deploy-virtual-{stream}'
140 current-parameters: false
141 predefined-parameters: |
142 GERRIT_BRANCH=$GERRIT_BRANCH
143 GERRIT_REFSPEC=$GERRIT_REFSPEC
144 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
145 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
146 node-parameters: true
147 kill-phase-on: FAILURE
151 condition: SUCCESSFUL
153 - name: 'sandbox-verify-smoke-test-{stream}'
154 current-parameters: false
155 predefined-parameters: |
156 GERRIT_BRANCH=$GERRIT_BRANCH
157 GERRIT_REFSPEC=$GERRIT_REFSPEC
158 GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
159 GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
160 node-parameters: true
161 kill-phase-on: FAILURE
165 name: 'sandbox-verify-{phase}-{stream}'
167 disabled: '{obj:disabled}'
178 use-build-blocker: true
180 - 'sandbox-verify-deploy-.*'
181 - 'sandbox-verify-test-.*'
185 - gerrit-trigger-scm:
186 credentials-id: '{ssh-credentials}'
187 refspec: '$GERRIT_REFSPEC'
188 choosing-strategy: 'gerrit'
191 - ssh-agent-credentials:
193 - '{ssh-credentials}'
202 - '{installer}-defaults'
203 - '{slave-label}-defaults'
206 - description-setter:
207 description: "Built on $NODE_NAME"
208 - '{project}-verify-{phase}-macro'
209 #####################################
211 #####################################
213 name: 'sandbox-verify-basic-macro'
216 !include-raw: ./basic.sh
219 name: 'sandbox-verify-build-macro'
222 !include-raw: ./build.sh
225 name: 'sandbox-verify-deploy-virtual-macro'
228 !include-raw: ./deploy.sh
231 name: 'sandbox-verify-smoke-test-macro'
234 !include-raw: ./test.sh