Gary Wu | 0bb72f5 | 2017-07-13 12:32:14 -0700 | [diff] [blame] | 1 | --- |
| 2 | - job-template: |
| 3 | name: '{project-name}-{stream}-verify-csit-{functionality}' |
| 4 | disabled: false |
| 5 | |
| 6 | project-type: freestyle |
| 7 | build-node: 'ubuntu1604-docker-8c-8g' |
| 8 | node: '{build-node}' |
| 9 | |
| 10 | properties: |
| 11 | - lf-infra-properties: |
Gary Wu | dc7a7c1 | 2017-08-08 07:49:05 -0700 | [diff] [blame] | 12 | project: 'integration' |
Gary Wu | 0bb72f5 | 2017-07-13 12:32:14 -0700 | [diff] [blame] | 13 | build-days-to-keep: '{build-days-to-keep}' |
| 14 | |
| 15 | parameters: |
| 16 | - infra-parameters: |
Gary Wu | dc7a7c1 | 2017-08-08 07:49:05 -0700 | [diff] [blame] | 17 | project: 'integration' |
Gary Wu | 0bb72f5 | 2017-07-13 12:32:14 -0700 | [diff] [blame] | 18 | branch: '{branch}' |
| 19 | refspec: 'refs/heads/{branch}' |
| 20 | artifacts: '{archive-artifacts}' |
| 21 | - integration-test-plan: |
| 22 | test-plan: 'plans/{project-name}/{functionality}' |
| 23 | - integration-test-options: |
| 24 | test-options: '{robot-options}' |
| 25 | |
| 26 | scm: |
| 27 | - gerrit-trigger-scm: |
| 28 | refspec: '$GERRIT_REFSPEC' |
| 29 | choosing-strategy: 'gerrit' |
| 30 | submodule-recursive: '{submodule-recursive}' |
| 31 | |
| 32 | wrappers: |
| 33 | - lf-infra-wrappers: |
| 34 | build-timeout: '{build-timeout}' |
| 35 | jenkins-ssh-credential: '{jenkins-ssh-credential}' |
| 36 | |
| 37 | triggers: |
| 38 | - gerrit-trigger-patch-submitted: |
| 39 | server: '{server-name}' |
| 40 | project: 'integration' |
| 41 | branch: '{branch}' |
| 42 | files: 'test/csit/**/{project-name}/**' |
| 43 | |
| 44 | builders: |
| 45 | - integration-install-robotframework |
| 46 | - inject: |
| 47 | properties-file: 'env.properties' |
| 48 | - integration-run-test |
| 49 | |
| 50 | publishers: |
| 51 | - integration-robot: |
| 52 | unstable-if: 0.0 |
| 53 | pass-if: 100.0 |
| 54 | - lf-infra-publish |
| 55 | |
| 56 | - job-template: |
Jessica Wagantall | f3e2db7 | 2017-11-14 00:52:23 -0800 | [diff] [blame] | 57 | name: '{project-name}-{stream}-verify-csit-{functionality}-testng' |
| 58 | disabled: false |
| 59 | |
| 60 | project-type: freestyle |
| 61 | build-node: 'ubuntu1604-docker-8c-8g' |
| 62 | node: '{build-node}' |
| 63 | |
| 64 | properties: |
| 65 | - lf-infra-properties: |
| 66 | project: 'integration' |
| 67 | build-days-to-keep: '{build-days-to-keep}' |
| 68 | |
| 69 | parameters: |
| 70 | - infra-parameters: |
| 71 | project: 'integration' |
| 72 | branch: '{branch}' |
| 73 | refspec: 'refs/heads/{branch}' |
| 74 | artifacts: '{archive-artifacts}' |
| 75 | - integration-test-plan: |
| 76 | test-plan: 'plans/{project-name}/{functionality}' |
| 77 | - integration-test-options: |
| 78 | test-options: '{robot-options}' |
| 79 | - html-publisher-dir: |
| 80 | html-dir: '{html-dir}' |
| 81 | - html-publisher-files: |
| 82 | html-files: '{html-files}' |
| 83 | |
| 84 | scm: |
| 85 | - gerrit-trigger-scm: |
| 86 | refspec: '$GERRIT_REFSPEC' |
| 87 | choosing-strategy: 'gerrit' |
| 88 | submodule-recursive: '{submodule-recursive}' |
| 89 | |
| 90 | wrappers: |
| 91 | - lf-infra-wrappers: |
| 92 | build-timeout: '{build-timeout}' |
| 93 | jenkins-ssh-credential: '{jenkins-ssh-credential}' |
| 94 | |
| 95 | triggers: |
| 96 | - gerrit-trigger-patch-submitted: |
| 97 | server: '{server-name}' |
| 98 | project: 'integration' |
| 99 | branch: '{branch}' |
| 100 | files: 'test/csit/**/{project-name}/**' |
| 101 | |
| 102 | builders: |
| 103 | - integration-install-robotframework |
| 104 | - inject: |
| 105 | properties-file: 'env.properties' |
| 106 | - integration-run-test |
| 107 | |
| 108 | publishers: |
Jessica Wagantall | f3e2db7 | 2017-11-14 00:52:23 -0800 | [diff] [blame] | 109 | - testng: |
| 110 | pattern: archives/testng-results.xml |
| 111 | escape-test-description: true |
| 112 | escape-exception-msg: true |
| 113 | show-failed-builds: true |
Yuli Shlosberg | 4708df9 | 2018-01-10 14:07:26 +0200 | [diff] [blame] | 114 | unstable-on-skipped-tests: false |
| 115 | failure-on-failed-test-config: false |
Jessica Wagantall | de39320 | 2018-01-09 18:37:43 -0800 | [diff] [blame] | 116 | - junit: |
| 117 | results: archives/testng-results.xml |
| 118 | health-scale-factor: 1.0 |
Yuli Shlosberg | 4708df9 | 2018-01-10 14:07:26 +0200 | [diff] [blame] | 119 | allow-empty-results: true |
Jessica Wagantall | de39320 | 2018-01-09 18:37:43 -0800 | [diff] [blame] | 120 | - integration-robot: |
| 121 | unstable-if: 0.0 |
| 122 | pass-if: 100.0 |
Jessica Wagantall | f3e2db7 | 2017-11-14 00:52:23 -0800 | [diff] [blame] | 123 | - html-publisher: |
Yuli Shlosberg | 4708df9 | 2018-01-10 14:07:26 +0200 | [diff] [blame] | 124 | allow-missing: true |
Jessica Wagantall | f3e2db7 | 2017-11-14 00:52:23 -0800 | [diff] [blame] | 125 | dir: '{html-dir}' |
| 126 | files: '{html-files}' |
| 127 | keep-all: false |
| 128 | link-to-last-build: false |
| 129 | name: ExtentReport |
Jessica Wagantall | de39320 | 2018-01-09 18:37:43 -0800 | [diff] [blame] | 130 | - lf-infra-publish |
Jessica Wagantall | f3e2db7 | 2017-11-14 00:52:23 -0800 | [diff] [blame] | 131 | |
| 132 | - job-template: |
Gary Wu | 0bb72f5 | 2017-07-13 12:32:14 -0700 | [diff] [blame] | 133 | name: '{project-name}-{stream}-csit-{functionality}' |
| 134 | disabled: false |
| 135 | |
| 136 | project-type: freestyle |
| 137 | build-node: 'ubuntu1604-docker-8c-8g' |
| 138 | node: '{build-node}' |
| 139 | |
| 140 | properties: |
| 141 | - lf-infra-properties: |
Gary Wu | dc7a7c1 | 2017-08-08 07:49:05 -0700 | [diff] [blame] | 142 | project: 'integration' |
Gary Wu | 0bb72f5 | 2017-07-13 12:32:14 -0700 | [diff] [blame] | 143 | build-days-to-keep: '{build-days-to-keep}' |
| 144 | |
| 145 | parameters: |
| 146 | - infra-parameters: |
Gary Wu | dc7a7c1 | 2017-08-08 07:49:05 -0700 | [diff] [blame] | 147 | project: 'integration' |
Gary Wu | 0bb72f5 | 2017-07-13 12:32:14 -0700 | [diff] [blame] | 148 | branch: '{branch}' |
| 149 | refspec: 'refs/heads/{branch}' |
| 150 | artifacts: '{archive-artifacts}' |
| 151 | - integration-test-plan: |
| 152 | test-plan: 'plans/{project-name}/{functionality}' |
| 153 | - integration-test-options: |
| 154 | test-options: '{robot-options}' |
| 155 | |
| 156 | scm: |
| 157 | - gerrit-trigger-scm: |
| 158 | refspec: '' |
| 159 | choosing-strategy: 'default' |
| 160 | submodule-recursive: '{submodule-recursive}' |
| 161 | |
| 162 | wrappers: |
| 163 | - lf-infra-wrappers: |
| 164 | build-timeout: '{build-timeout}' |
| 165 | jenkins-ssh-credential: '{jenkins-ssh-credential}' |
| 166 | |
| 167 | triggers: |
| 168 | - gerrit-trigger-patch-merged: |
| 169 | server: '{server-name}' |
| 170 | project: 'integration' |
| 171 | branch: '{branch}' |
| 172 | files: 'test/csit/**/{project-name}/**' |
| 173 | - timed: '@daily' |
| 174 | - reverse: |
| 175 | jobs: '{obj:trigger_jobs}' |
| 176 | |
| 177 | builders: |
| 178 | - integration-install-robotframework |
| 179 | - inject: |
| 180 | properties-file: 'env.properties' |
| 181 | - integration-run-test |
| 182 | |
| 183 | publishers: |
| 184 | - integration-robot: |
| 185 | unstable-if: 0.0 |
| 186 | pass-if: 100.0 |
| 187 | - lf-infra-publish |
Yuli Shlosberg | 6edd8ba | 2017-11-30 18:00:27 +0200 | [diff] [blame] | 188 | |
| 189 | - job-template: |
| 190 | name: '{project-name}-{stream}-csit-{functionality}-testng' |
| 191 | disabled: false |
| 192 | |
| 193 | project-type: freestyle |
| 194 | build-node: 'ubuntu1604-docker-8c-8g' |
| 195 | node: '{build-node}' |
| 196 | |
| 197 | properties: |
| 198 | - lf-infra-properties: |
| 199 | project: 'integration' |
| 200 | build-days-to-keep: '{build-days-to-keep}' |
| 201 | |
| 202 | parameters: |
| 203 | - infra-parameters: |
| 204 | project: 'integration' |
| 205 | branch: '{branch}' |
| 206 | refspec: 'refs/heads/{branch}' |
| 207 | artifacts: '{archive-artifacts}' |
| 208 | - integration-test-plan: |
| 209 | test-plan: 'plans/{project-name}/{functionality}' |
| 210 | - integration-test-options: |
| 211 | test-options: '{robot-options}' |
| 212 | - html-publisher-dir: |
| 213 | html-dir: '{html-dir}' |
| 214 | - html-publisher-files: |
| 215 | html-files: '{html-files}' |
| 216 | |
| 217 | scm: |
| 218 | - gerrit-trigger-scm: |
| 219 | refspec: '' |
| 220 | choosing-strategy: 'default' |
| 221 | submodule-recursive: '{submodule-recursive}' |
| 222 | |
| 223 | wrappers: |
| 224 | - lf-infra-wrappers: |
| 225 | build-timeout: '{build-timeout}' |
| 226 | jenkins-ssh-credential: '{jenkins-ssh-credential}' |
| 227 | |
| 228 | triggers: |
| 229 | - gerrit-trigger-patch-merged: |
| 230 | server: '{server-name}' |
| 231 | project: 'integration' |
| 232 | branch: '{branch}' |
| 233 | files: 'test/csit/**/{project-name}/**' |
| 234 | - timed: '@daily' |
| 235 | - reverse: |
| 236 | jobs: '{obj:trigger_jobs}' |
| 237 | |
| 238 | builders: |
| 239 | - integration-install-robotframework |
| 240 | - inject: |
| 241 | properties-file: 'env.properties' |
| 242 | - integration-run-test |
| 243 | |
| 244 | publishers: |
| 245 | - integration-robot: |
| 246 | unstable-if: 0.0 |
| 247 | pass-if: 100.0 |
Yuli Shlosberg | 6edd8ba | 2017-11-30 18:00:27 +0200 | [diff] [blame] | 248 | - testng: |
| 249 | pattern: archives/testng-results.xml |
| 250 | escape-test-description: true |
| 251 | escape-exception-msg: true |
| 252 | show-failed-builds: true |
Yuli Shlosberg | 4708df9 | 2018-01-10 14:07:26 +0200 | [diff] [blame] | 253 | unstable-on-skipped-tests: false |
| 254 | failure-on-failed-test-config: false |
| 255 | - junit: |
| 256 | results: archives/testng-results.xml |
| 257 | health-scale-factor: 1.0 |
| 258 | allow-empty-results: true |
Yuli Shlosberg | 6edd8ba | 2017-11-30 18:00:27 +0200 | [diff] [blame] | 259 | - html-publisher: |
Yuli Shlosberg | 4708df9 | 2018-01-10 14:07:26 +0200 | [diff] [blame] | 260 | allow-missing: true |
Yuli Shlosberg | 6edd8ba | 2017-11-30 18:00:27 +0200 | [diff] [blame] | 261 | dir: '{html-dir}' |
| 262 | files: '{html-files}' |
| 263 | keep-all: false |
| 264 | link-to-last-build: false |
Jessica Wagantall | de39320 | 2018-01-09 18:37:43 -0800 | [diff] [blame] | 265 | name: ExtentReport |
Jessica Wagantall | a1638b1 | 2018-01-18 17:15:41 -0800 | [diff] [blame] | 266 | - lf-infra-publish |