Brian O'Connor | 9fbe772 | 2017-10-27 12:44:04 -0700 | [diff] [blame] | 1 | --- |
| 2 | |
| 3 | - job_boiler_plate: &job_boiler_plate |
| 4 | name: job-boiler-plate |
| 5 | |
| 6 | project-type: freestyle |
| 7 | node: '{build-node}' |
| 8 | |
| 9 | ###################### |
| 10 | # Default parameters # |
| 11 | ###################### |
| 12 | |
| 13 | branch: master |
| 14 | submodule-recursive: true |
| 15 | git-url: '$GIT_URL/$GERRIT_PROJECT' |
| 16 | |
| 17 | ##################### |
| 18 | # Job Configuration # |
| 19 | ##################### |
| 20 | |
| 21 | properties: |
| 22 | - lf-infra-properties: |
| 23 | project: '{project}' |
| 24 | build-days-to-keep: '{build-days-to-keep}' |
| 25 | #- github: |
| 26 | # url: '{git-url}/{github-org}/{project}' |
| 27 | |
| 28 | parameters: |
| 29 | - lf-infra-parameters: |
| 30 | project: '{project}' |
Ray Milkey | e0b54ef | 2017-10-31 16:17:34 -0700 | [diff] [blame] | 31 | branch: '{stream}' |
Brian O'Connor | 9fbe772 | 2017-10-27 12:44:04 -0700 | [diff] [blame] | 32 | stream: '{stream}' |
| 33 | lftools-version: '{lftools-version}' |
| 34 | |
| 35 | wrappers: |
| 36 | - lf-infra-wrappers: |
| 37 | build-timeout: '{build-timeout}' |
| 38 | jenkins-ssh-credential: '{jenkins-ssh-credential}' |
| 39 | |
| 40 | |
| 41 | - verify_boiler_plate: &verify_boiler_plate |
| 42 | name: verify_boiler_plate |
| 43 | |
| 44 | concurrent: true |
| 45 | |
| 46 | scm: |
Brian O'Connor | e78aff6 | 2017-10-30 14:08:51 -0700 | [diff] [blame] | 47 | - lf-infra-gerrit-scm: |
| 48 | git-url: '{git-url}' |
Brian O'Connor | 9fbe772 | 2017-10-27 12:44:04 -0700 | [diff] [blame] | 49 | refspec: '$GERRIT_REFSPEC' |
| 50 | branch: '$GERRIT_BRANCH' |
| 51 | submodule-recursive: '{submodule-recursive}' |
Brian O'Connor | e78aff6 | 2017-10-30 14:08:51 -0700 | [diff] [blame] | 52 | choosing-strategy: gerrit |
Brian O'Connor | 9fbe772 | 2017-10-27 12:44:04 -0700 | [diff] [blame] | 53 | jenkins-ssh-credential: '{jenkins-ssh-credential}' |
| 54 | |
| 55 | triggers: |
| 56 | - gerrit: |
| 57 | #server-name: '{gerrit-server-name}' |
| 58 | server-name: 'ONOS Project Gerrit' |
| 59 | #trigger-on: '{obj:gerrit_verify_triggers}' |
| 60 | trigger-on: |
| 61 | - patchset-created-event: |
| 62 | exclude-drafts: true |
| 63 | exclude-trivial-rebase: false |
| 64 | exclude-no-code-change: true |
| 65 | - draft-published-event |
Brian O'Connor | edd8741 | 2017-10-30 19:27:08 -0700 | [diff] [blame] | 66 | - comment-added-contains-event: |
| 67 | comment-contains-value: '(?i)^.*recheck$' |
Brian O'Connor | 9fbe772 | 2017-10-27 12:44:04 -0700 | [diff] [blame] | 68 | projects: |
| 69 | - project-compare-type: PLAIN |
Ray Milkey | 20beeae | 2017-10-31 15:26:10 -0700 | [diff] [blame] | 70 | project-pattern: '{project}' |
Brian O'Connor | 9fbe772 | 2017-10-27 12:44:04 -0700 | [diff] [blame] | 71 | branches: |
| 72 | - branch-compare-type: ANT |
Ray Milkey | e0b54ef | 2017-10-31 16:17:34 -0700 | [diff] [blame] | 73 | branch-pattern: '**/{stream}' |
Ray Milkey | c0c94f5 | 2017-10-30 17:36:14 -0700 | [diff] [blame] | 74 | #file-paths: '{obj:gerrit_trigger_file_paths}' |
Brian O'Connor | 9fbe772 | 2017-10-27 12:44:04 -0700 | [diff] [blame] | 75 | |
Ray Milkey | 8e46220 | 2017-11-02 10:18:37 -0700 | [diff] [blame] | 76 | - daily_boiler_plate: &daily_boiler_plate |
| 77 | name: daily_boiler_plate |
| 78 | |
| 79 | concurrent: true |
| 80 | |
| 81 | scm: |
| 82 | - lf-infra-gerrit-scm: |
| 83 | git-url: '{git-url}' |
| 84 | refspec: '$GERRIT_REFSPEC' |
| 85 | branch: '$GERRIT_BRANCH' |
| 86 | submodule-recursive: '{submodule-recursive}' |
| 87 | choosing-strategy: gerrit |
| 88 | jenkins-ssh-credential: '{jenkins-ssh-credential}' |
| 89 | |
| 90 | triggers: |
| 91 | - timed: '@daily' |
| 92 | |
Ray Milkey | c6e9a85 | 2018-01-30 13:27:06 -0800 | [diff] [blame] | 93 | # FIXME - there is a Slack integration plugin in 2.0.3 |
| 94 | publishers: |
| 95 | - raw: |
| 96 | xml: | |
| 97 | <jenkins.plugins.slack.SlackNotifier plugin="slack@2.3"> |
| 98 | <baseUrl/> |
| 99 | <teamDomain/> |
| 100 | <authToken/> |
| 101 | <authTokenCredentialId>slack-token</authTokenCredentialId> |
| 102 | <botUser>false</botUser> |
| 103 | <room>build-status</room> |
| 104 | <startNotification>false</startNotification> |
| 105 | <notifySuccess>false</notifySuccess> |
| 106 | <notifyAborted>true</notifyAborted> |
| 107 | <notifyNotBuilt>true</notifyNotBuilt> |
| 108 | <notifyUnstable>true</notifyUnstable> |
| 109 | <notifyRegression>true</notifyRegression> |
| 110 | <notifyFailure>true</notifyFailure> |
| 111 | <notifyBackToNormal>true</notifyBackToNormal> |
| 112 | <notifyRepeatedFailure>false</notifyRepeatedFailure> |
| 113 | <includeTestSummary>false</includeTestSummary> |
| 114 | <includeFailedTests>false</includeFailedTests> |
| 115 | <commitInfoChoice>AUTHORS_AND_TITLES</commitInfoChoice> |
| 116 | <includeCustomMessage>false</includeCustomMessage> |
| 117 | <customMessage/> |
| 118 | </jenkins.plugins.slack.SlackNotifier> |
| 119 | |
| 120 | |
| 121 | |
Ray Milkey | d9f7366 | 2017-11-06 10:29:51 -0800 | [diff] [blame] | 122 | - hourly_boiler_plate: &hourly_boiler_plate |
| 123 | name: hourly_boiler_plate |
| 124 | |
| 125 | concurrent: true |
| 126 | |
| 127 | scm: |
| 128 | - lf-infra-gerrit-scm: |
| 129 | git-url: '{git-url}' |
| 130 | refspec: '$GERRIT_REFSPEC' |
| 131 | branch: '$GERRIT_BRANCH' |
| 132 | submodule-recursive: '{submodule-recursive}' |
| 133 | choosing-strategy: gerrit |
| 134 | jenkins-ssh-credential: '{jenkins-ssh-credential}' |
| 135 | |
| 136 | triggers: |
| 137 | - timed: '@hourly' |
| 138 | |
Ray Milkey | c6e9a85 | 2018-01-30 13:27:06 -0800 | [diff] [blame] | 139 | # FIXME - there is a Slack integration plugin in 2.0.3 |
| 140 | publishers: |
| 141 | - raw: |
| 142 | xml: | |
| 143 | <jenkins.plugins.slack.SlackNotifier plugin="slack@2.3"> |
| 144 | <baseUrl/> |
| 145 | <teamDomain/> |
| 146 | <authToken/> |
| 147 | <authTokenCredentialId>slack-token</authTokenCredentialId> |
| 148 | <botUser>false</botUser> |
| 149 | <room>build-status</room> |
| 150 | <startNotification>false</startNotification> |
| 151 | <notifySuccess>false</notifySuccess> |
| 152 | <notifyAborted>true</notifyAborted> |
| 153 | <notifyNotBuilt>true</notifyNotBuilt> |
| 154 | <notifyUnstable>true</notifyUnstable> |
| 155 | <notifyRegression>true</notifyRegression> |
| 156 | <notifyFailure>true</notifyFailure> |
| 157 | <notifyBackToNormal>true</notifyBackToNormal> |
| 158 | <notifyRepeatedFailure>false</notifyRepeatedFailure> |
| 159 | <includeTestSummary>false</includeTestSummary> |
| 160 | <includeFailedTests>false</includeFailedTests> |
| 161 | <commitInfoChoice>AUTHORS_AND_TITLES</commitInfoChoice> |
| 162 | <includeCustomMessage>false</includeCustomMessage> |
| 163 | <customMessage/> |
| 164 | </jenkins.plugins.slack.SlackNotifier> |
| 165 | |
| 166 | |
Ray Milkey | 4309d9b | 2017-11-17 13:41:46 -0800 | [diff] [blame] | 167 | - release_build_boiler_plate: &release_build_boiler_plate |
| 168 | name: release_build_boiler_plate |
| 169 | |
| 170 | concurrent: true |
| 171 | |
| 172 | parameters: |
| 173 | - lf-infra-parameters: |
| 174 | project: '{project}' |
| 175 | branch: '{stream}' |
| 176 | stream: '{stream}' |
| 177 | lftools-version: '{lftools-version}' |
| 178 | |
| 179 | - string: |
| 180 | name: ONOS_VERSION |
| 181 | default: '1.12' |
Ray Milkey | b40e567 | 2018-01-26 10:10:45 -0800 | [diff] [blame] | 182 | description: 'Version tag of ONOS to build' |
Ray Milkey | 4309d9b | 2017-11-17 13:41:46 -0800 | [diff] [blame] | 183 | |
| 184 | - string: |
| 185 | name: ONOS_NEXT_VERSION |
| 186 | default: '1.13.0-SNAPSHOT' |
Ray Milkey | b40e567 | 2018-01-26 10:10:45 -0800 | [diff] [blame] | 187 | description: 'Version of ONOS to reset tree to' |
| 188 | |
| 189 | scm: |
| 190 | - lf-infra-gerrit-scm: |
| 191 | git-url: '{git-url}' |
| 192 | refspec: '$GERRIT_REFSPEC' |
| 193 | branch: '$GERRIT_BRANCH' |
| 194 | submodule-recursive: '{submodule-recursive}' |
| 195 | choosing-strategy: gerrit |
| 196 | jenkins-ssh-credential: '{jenkins-ssh-credential}' |
| 197 | |
| 198 | - docker_build_boiler_plate: &docker_build_boiler_plate |
| 199 | name: release_build_boiler_plate |
| 200 | |
| 201 | concurrent: true |
| 202 | |
| 203 | parameters: |
| 204 | - lf-infra-parameters: |
| 205 | project: '{project}' |
| 206 | branch: '{stream}' |
| 207 | stream: '{stream}' |
| 208 | lftools-version: '{lftools-version}' |
| 209 | |
| 210 | - string: |
| 211 | name: ONOS_TAG |
| 212 | default: '' |
| 213 | description: 'Tag of ONOS to build' |
Ray Milkey | 4309d9b | 2017-11-17 13:41:46 -0800 | [diff] [blame] | 214 | |
| 215 | scm: |
| 216 | - lf-infra-gerrit-scm: |
| 217 | git-url: '{git-url}' |
| 218 | refspec: '$GERRIT_REFSPEC' |
| 219 | branch: '$GERRIT_BRANCH' |
| 220 | submodule-recursive: '{submodule-recursive}' |
| 221 | choosing-strategy: gerrit |
| 222 | jenkins-ssh-credential: '{jenkins-ssh-credential}' |
| 223 | |
Brian O'Connor | 9fbe772 | 2017-10-27 12:44:04 -0700 | [diff] [blame] | 224 | - job-template: |
| 225 | #default name is global |
| 226 | name: '{project-name}-{stream}-verify' |
| 227 | |
| 228 | # Job template for Java verify jobs |
| 229 | # |
| 230 | # The purpose of this job templte is to run "maven clean install" for |
| 231 | # projects using this template. |
| 232 | # |
| 233 | # Required Variables: |
| 234 | # branch: git branch (eg. master) |
| 235 | |
| 236 | <<: *job_boiler_plate |
| 237 | # yamllint disable-line rule:key-duplicates |
| 238 | <<: *verify_boiler_plate |
| 239 | |
| 240 | builders: |
| 241 | #put shell scripts in file then make sure shell check is installed on verify vms |
Ray Milkey | 7aa4346 | 2017-10-30 16:15:23 -0700 | [diff] [blame] | 242 | - shell: !include-raw-escape: onos-verify.sh |
Yuta HIGUCHI | 02e46d3 | 2017-10-31 10:17:47 -0700 | [diff] [blame] | 243 | # JJB 1.6.2 does not support parameter expansion on filename? |
| 244 | #- shell: !include-raw-escape: {project-name}-verify.sh |
| 245 | |
| 246 | # workaround for lack of parameter expansion support in shell: (see above) |
| 247 | - job-template: |
| 248 | #default name is global |
| 249 | name: 'onos-yang-tools-{stream}-verify' |
| 250 | |
| 251 | # Job template for Java verify jobs |
| 252 | # |
| 253 | # The purpose of this job templte is to run "maven clean install" for |
| 254 | # projects using this template. |
| 255 | # |
| 256 | # Required Variables: |
| 257 | # branch: git branch (eg. master) |
| 258 | |
| 259 | <<: *job_boiler_plate |
| 260 | # yamllint disable-line rule:key-duplicates |
| 261 | <<: *verify_boiler_plate |
| 262 | |
| 263 | builders: |
| 264 | #put shell scripts in file then make sure shell check is installed on verify vms |
| 265 | - shell: !include-raw-escape: onos-yang-tools-verify.sh |
| 266 | |
Ray Milkey | 83d912a | 2017-11-01 13:49:31 -0700 | [diff] [blame] | 267 | # workaround for lack of parameter expansion support in shell: (see above) |
| 268 | - job-template: |
| 269 | #default name is global |
Yuta HIGUCHI | 28821fd | 2017-11-17 16:11:19 -0800 | [diff] [blame] | 270 | name: 'onos-app-samples-{stream}-verify' |
| 271 | |
| 272 | # Job template for Java verify jobs |
| 273 | # |
| 274 | # The purpose of this job templte is to run "maven clean install" for |
| 275 | # projects using this template. |
| 276 | # |
| 277 | # Required Variables: |
| 278 | # branch: git branch (eg. master) |
| 279 | |
| 280 | <<: *job_boiler_plate |
| 281 | # yamllint disable-line rule:key-duplicates |
| 282 | <<: *verify_boiler_plate |
| 283 | |
| 284 | builders: |
| 285 | #put shell scripts in file then make sure shell check is installed on verify vms |
| 286 | - shell: !include-raw-escape: onos-app-samples-verify.sh |
| 287 | |
Yuta HIGUCHI | 1ac8323 | 2017-11-17 16:37:57 -0800 | [diff] [blame] | 288 | # workaround for lack of parameter expansion support in shell: (see above) |
| 289 | - job-template: |
| 290 | #default name is global |
| 291 | name: 'onos-loxi-{stream}-verify' |
| 292 | |
| 293 | # Job template for Java verify jobs |
| 294 | # |
| 295 | # The purpose of this job templte is to run "maven clean install" for |
| 296 | # projects using this template. |
| 297 | # |
| 298 | # Required Variables: |
| 299 | # branch: git branch (eg. master) |
| 300 | |
| 301 | <<: *job_boiler_plate |
| 302 | # yamllint disable-line rule:key-duplicates |
| 303 | <<: *verify_boiler_plate |
| 304 | |
| 305 | builders: |
| 306 | #put shell scripts in file then make sure shell check is installed on verify vms |
| 307 | - shell: !include-raw-escape: onos-loxi-verify.sh |
Yuta HIGUCHI | 28821fd | 2017-11-17 16:11:19 -0800 | [diff] [blame] | 308 | |
| 309 | # workaround for lack of parameter expansion support in shell: (see above) |
| 310 | - job-template: |
| 311 | #default name is global |
Ray Milkey | 83d912a | 2017-11-01 13:49:31 -0700 | [diff] [blame] | 312 | name: 'onos-gui-{stream}-verify' |
| 313 | |
| 314 | # Job template for Java verify jobs |
| 315 | # |
| 316 | # The purpose of this job templte is to run "maven clean install" for |
| 317 | # projects using this template. |
| 318 | # |
| 319 | # Required Variables: |
| 320 | # branch: git branch (eg. master) |
| 321 | |
| 322 | <<: *job_boiler_plate |
| 323 | # yamllint disable-line rule:key-duplicates |
| 324 | <<: *verify_boiler_plate |
| 325 | |
| 326 | builders: |
| 327 | #put shell scripts in file then make sure shell check is installed on verify vms |
| 328 | - shell: !include-raw-escape: onos-gui-verify.sh |
| 329 | |
Ray Milkey | 8e46220 | 2017-11-02 10:18:37 -0700 | [diff] [blame] | 330 | - job-template: |
| 331 | #default name is global |
| 332 | name: 'onos-{stream}-release-build-verify' |
| 333 | |
| 334 | # Job template for Java release check jobs |
| 335 | # |
| 336 | |
| 337 | <<: *job_boiler_plate |
| 338 | # yamllint disable-line rule:key-duplicates |
Ray Milkey | 29c5434 | 2017-11-06 16:43:01 -0800 | [diff] [blame] | 339 | <<: *daily_boiler_plate |
Ray Milkey | 8e46220 | 2017-11-02 10:18:37 -0700 | [diff] [blame] | 340 | |
| 341 | builders: |
Ray Milkey | 8fae9a7 | 2017-11-17 10:03:54 -0800 | [diff] [blame] | 342 | |
Ray Milkey | 8e46220 | 2017-11-02 10:18:37 -0700 | [diff] [blame] | 343 | #put shell scripts in file then make sure shell check is installed on verify vms |
| 344 | - shell: !include-raw-escape: onos-release-build-verify.sh |
| 345 | # JJB 1.6.2 does not support parameter expansion on filename? |
| 346 | #- shell: !include-raw-escape: {project-name}-verify.sh |
| 347 | |
Ray Milkey | d9f7366 | 2017-11-06 10:29:51 -0800 | [diff] [blame] | 348 | - job-template: |
| 349 | #default name is global |
Ray Milkey | 2afc4a5 | 2017-11-17 11:01:38 -0800 | [diff] [blame] | 350 | name: 'onos-release-build' |
| 351 | |
| 352 | # Job template for Java release jobs |
| 353 | # |
| 354 | |
| 355 | <<: *job_boiler_plate |
| 356 | # yamllint disable-line rule:key-duplicates |
Ray Milkey | 4309d9b | 2017-11-17 13:41:46 -0800 | [diff] [blame] | 357 | <<: *release_build_boiler_plate |
Ray Milkey | 2afc4a5 | 2017-11-17 11:01:38 -0800 | [diff] [blame] | 358 | |
| 359 | builders: |
Ray Milkey | 094fd00 | 2017-11-22 10:21:59 -0800 | [diff] [blame] | 360 | - lf-provide-maven-settings: |
| 361 | settings-file: 'release-build-maven-settings' |
| 362 | global-settings-file: 'release-build-maven-settings' |
Ray Milkey | 2afc4a5 | 2017-11-17 11:01:38 -0800 | [diff] [blame] | 363 | - config-file-provider: |
| 364 | files: |
| 365 | - file-id: 'onos-build-credentials' |
| 366 | target: 'onos-build-credentials' |
| 367 | variable: 'CREDENTIALS_FILE' |
Ray Milkey | e8fd4f0 | 2017-11-17 14:54:18 -0800 | [diff] [blame] | 368 | - file-id: 'buck-config-local' |
| 369 | target: '.buckconfig.local' |
| 370 | variable: 'BUCK_CONFIG_FILE' |
Ray Milkey | b867be8 | 2017-11-27 13:29:19 -0800 | [diff] [blame] | 371 | - file-id: 'gpg-key' |
| 372 | target: 'jenkins.key' |
| 373 | variable: 'GPG_KEY_FILE' |
Ray Milkey | 43e7f93 | 2017-11-27 08:48:42 -0800 | [diff] [blame] | 374 | - file-id: 'release-build-maven-settings' |
| 375 | target: 'settings.xml' |
| 376 | variable: 'MAVEN_SETTINGS' |
Ray Milkey | 7d774fb | 2017-12-05 14:57:30 -0800 | [diff] [blame] | 377 | - file-id: 'api-onosproject-ssh-key' |
| 378 | target: 'id_rsa.pub' |
| 379 | variable: 'API_ONOSPROJECT_SSH_KEY' |
Ray Milkey | 2afc4a5 | 2017-11-17 11:01:38 -0800 | [diff] [blame] | 380 | |
| 381 | #put shell scripts in file then make sure shell check is installed on verify vms |
| 382 | - shell: !include-raw-escape: onos-release-build.sh |
| 383 | # JJB 1.6.2 does not support parameter expansion on filename? |
| 384 | #- shell: !include-raw-escape: {project-name}-verify.sh |
| 385 | |
| 386 | - job-template: |
| 387 | #default name is global |
Ray Milkey | 0caba7f | 2018-01-08 12:56:18 -0800 | [diff] [blame] | 388 | name: 'onos-docker-build' |
| 389 | |
| 390 | # Job template for Docker jobs |
| 391 | # |
| 392 | |
| 393 | <<: *job_boiler_plate |
| 394 | # yamllint disable-line rule:key-duplicates |
Ray Milkey | b40e567 | 2018-01-26 10:10:45 -0800 | [diff] [blame] | 395 | <<: *docker_build_boiler_plate |
Ray Milkey | 0caba7f | 2018-01-08 12:56:18 -0800 | [diff] [blame] | 396 | |
| 397 | builders: |
| 398 | - lf-provide-maven-settings: |
| 399 | settings-file: 'release-build-maven-settings' |
| 400 | global-settings-file: 'release-build-maven-settings' |
| 401 | - config-file-provider: |
| 402 | files: |
| 403 | - file-id: 'onos-build-credentials' |
| 404 | target: 'onos-build-credentials' |
| 405 | variable: 'CREDENTIALS_FILE' |
| 406 | - file-id: 'buck-config-local' |
| 407 | target: '.buckconfig.local' |
| 408 | variable: 'BUCK_CONFIG_FILE' |
| 409 | - file-id: 'gpg-key' |
| 410 | target: 'jenkins.key' |
| 411 | variable: 'GPG_KEY_FILE' |
| 412 | - file-id: 'release-build-maven-settings' |
| 413 | target: 'settings.xml' |
| 414 | variable: 'MAVEN_SETTINGS' |
| 415 | - file-id: 'api-onosproject-ssh-key' |
| 416 | target: 'id_rsa.pub' |
| 417 | variable: 'API_ONOSPROJECT_SSH_KEY' |
| 418 | |
| 419 | #put shell scripts in file then make sure shell check is installed on verify vms |
| 420 | - shell: !include-raw-escape: onos-docker-build.sh |
| 421 | # JJB 1.6.2 does not support parameter expansion on filename? |
| 422 | #- shell: !include-raw-escape: {project-name}-verify.sh |
| 423 | |
| 424 | - job-template: |
| 425 | #default name is global |
Ray Milkey | d9f7366 | 2017-11-06 10:29:51 -0800 | [diff] [blame] | 426 | name: 'onos-{stream}-maven-verify' |
| 427 | |
| 428 | <<: *job_boiler_plate |
| 429 | # yamllint disable-line rule:key-duplicates |
Ray Milkey | 4502aae | 2017-11-06 13:02:45 -0800 | [diff] [blame] | 430 | <<: *hourly_boiler_plate |
Ray Milkey | d9f7366 | 2017-11-06 10:29:51 -0800 | [diff] [blame] | 431 | |
| 432 | builders: |
| 433 | #put shell scripts in file then make sure shell check is installed on verify vms |
| 434 | - shell: !include-raw-escape: onos-maven-verify.sh |
| 435 | # JJB 1.6.2 does not support parameter expansion on filename? |
| 436 | #- shell: !include-raw-escape: {project-name}-verify.sh |
Brian O'Connor | 9fbe772 | 2017-10-27 12:44:04 -0700 | [diff] [blame] | 437 | |
Ray Milkey | 20d2252 | 2017-11-08 10:55:52 -0800 | [diff] [blame] | 438 | - job-template: |
| 439 | #default name is global |
| 440 | name: 'onos-{stream}-sonar' |
| 441 | |
| 442 | <<: *job_boiler_plate |
| 443 | # yamllint disable-line rule:key-duplicates |
| 444 | <<: *daily_boiler_plate |
| 445 | |
| 446 | builders: |
| 447 | #put shell scripts in file then make sure shell check is installed on verify vms |
| 448 | - shell: !include-raw-escape: onos-sonar.sh |
| 449 | # JJB 1.6.2 does not support parameter expansion on filename? |
| 450 | #- shell: !include-raw-escape: {project-name}-verify.sh |
| 451 | |
Ray Milkey | 3aa8af5 | 2018-03-09 09:10:08 -0800 | [diff] [blame^] | 452 | - job-template: |
| 453 | name: 'onos-{stream}-stc-verify' |
| 454 | |
| 455 | <<: *job_boiler_plate |
| 456 | # yamllint disable-line rule:key-duplicates |
| 457 | <<: *hourly_boiler_plate |
| 458 | |
| 459 | builders: |
| 460 | #put shell scripts in file then make sure shell check is installed on verify vms |
| 461 | - shell: !include-raw-escape: onos-run-stc.sh |
| 462 | |
| 463 | |
Brian O'Connor | 9fbe772 | 2017-10-27 12:44:04 -0700 | [diff] [blame] | 464 | - project: |
| 465 | name: onos |
| 466 | project-name: onos |
| 467 | project: onos |
| 468 | |
Ray Milkey | 43a340c | 2018-02-20 13:49:00 -0800 | [diff] [blame] | 469 | build-timeout: '30' |
Brian O'Connor | 9fbe772 | 2017-10-27 12:44:04 -0700 | [diff] [blame] | 470 | build-node: 'ubuntu16.04-basebuild-8c-15g' |
| 471 | |
| 472 | stream: |
| 473 | - 'master' |
Ray Milkey | 1bc1377 | 2017-10-31 15:57:17 -0700 | [diff] [blame] | 474 | - 'onos-1.10' |
| 475 | - 'onos-1.11' |
Ray Milkey | 47d4f72 | 2017-11-21 09:36:37 -0800 | [diff] [blame] | 476 | - 'onos-1.12' |
Brian O'Connor | 9fbe772 | 2017-10-27 12:44:04 -0700 | [diff] [blame] | 477 | |
| 478 | jobs: |
| 479 | - '{project-name}-{stream}-verify' |
Yuta HIGUCHI | 02e46d3 | 2017-10-31 10:17:47 -0700 | [diff] [blame] | 480 | |
| 481 | - project: |
Ray Milkey | 83d912a | 2017-11-01 13:49:31 -0700 | [diff] [blame] | 482 | name: onos-gui |
| 483 | project-name: onos-gui |
Ray Milkey | 24fe1ee | 2017-11-01 13:59:07 -0700 | [diff] [blame] | 484 | project: onos |
Ray Milkey | 83d912a | 2017-11-01 13:49:31 -0700 | [diff] [blame] | 485 | |
Ray Milkey | 43a340c | 2018-02-20 13:49:00 -0800 | [diff] [blame] | 486 | build-timeout: '30' |
Ray Milkey | 83d912a | 2017-11-01 13:49:31 -0700 | [diff] [blame] | 487 | build-node: 'ubuntu16.04-basebuild-8c-15g' |
| 488 | |
| 489 | stream: |
| 490 | - 'master' |
| 491 | - 'onos-1.10' |
| 492 | - 'onos-1.11' |
Ray Milkey | 47d4f72 | 2017-11-21 09:36:37 -0800 | [diff] [blame] | 493 | - 'onos-1.12' |
Ray Milkey | 83d912a | 2017-11-01 13:49:31 -0700 | [diff] [blame] | 494 | |
| 495 | jobs: |
| 496 | - 'onos-gui-{stream}-verify' |
| 497 | |
| 498 | - project: |
Yuta HIGUCHI | 02e46d3 | 2017-10-31 10:17:47 -0700 | [diff] [blame] | 499 | name: onos-yang-tools |
| 500 | project-name: onos-yang-tools |
| 501 | project: onos-yang-tools |
| 502 | |
Ray Milkey | 43a340c | 2018-02-20 13:49:00 -0800 | [diff] [blame] | 503 | build-timeout: '30' |
Yuta HIGUCHI | 02e46d3 | 2017-10-31 10:17:47 -0700 | [diff] [blame] | 504 | build-node: 'ubuntu16.04-basebuild-8c-15g' |
| 505 | |
| 506 | stream: |
| 507 | - 'master' |
| 508 | |
| 509 | jobs: |
| 510 | - 'onos-yang-tools-{stream}-verify' |
Ray Milkey | 8e46220 | 2017-11-02 10:18:37 -0700 | [diff] [blame] | 511 | |
| 512 | - project: |
Yuta HIGUCHI | 28821fd | 2017-11-17 16:11:19 -0800 | [diff] [blame] | 513 | name: onos-app-samples |
| 514 | project-name: onos-app-samples |
| 515 | project: onos-app-samples |
| 516 | |
Ray Milkey | 43a340c | 2018-02-20 13:49:00 -0800 | [diff] [blame] | 517 | build-timeout: '30' |
Yuta HIGUCHI | 28821fd | 2017-11-17 16:11:19 -0800 | [diff] [blame] | 518 | build-node: 'ubuntu16.04-basebuild-8c-15g' |
| 519 | |
| 520 | stream: |
| 521 | - 'master' |
| 522 | |
| 523 | jobs: |
| 524 | - 'onos-app-samples-{stream}-verify' |
| 525 | |
Yuta HIGUCHI | 1ac8323 | 2017-11-17 16:37:57 -0800 | [diff] [blame] | 526 | - project: |
| 527 | name: onos-loxi |
| 528 | project-name: onos-loxi |
| 529 | project: onos-loxi |
Yuta HIGUCHI | 28821fd | 2017-11-17 16:11:19 -0800 | [diff] [blame] | 530 | |
Ray Milkey | 43a340c | 2018-02-20 13:49:00 -0800 | [diff] [blame] | 531 | build-timeout: '30' |
Yuta HIGUCHI | 1ac8323 | 2017-11-17 16:37:57 -0800 | [diff] [blame] | 532 | build-node: 'ubuntu16.04-basebuild-8c-15g' |
| 533 | |
| 534 | stream: |
| 535 | - 'master' |
| 536 | |
| 537 | jobs: |
| 538 | - 'onos-loxi-{stream}-verify' |
Yuta HIGUCHI | 28821fd | 2017-11-17 16:11:19 -0800 | [diff] [blame] | 539 | |
| 540 | - project: |
Ray Milkey | 8e46220 | 2017-11-02 10:18:37 -0700 | [diff] [blame] | 541 | name: onos-release |
| 542 | project-name: onos-release |
| 543 | project: onos |
| 544 | |
Ray Milkey | 43a340c | 2018-02-20 13:49:00 -0800 | [diff] [blame] | 545 | build-timeout: '90' |
Ray Milkey | 8e46220 | 2017-11-02 10:18:37 -0700 | [diff] [blame] | 546 | build-node: 'ubuntu16.04-basebuild-8c-15g' |
| 547 | |
| 548 | stream: |
| 549 | - 'master' |
| 550 | |
| 551 | jobs: |
| 552 | - 'onos-{stream}-release-build-verify' |
Ray Milkey | d9f7366 | 2017-11-06 10:29:51 -0800 | [diff] [blame] | 553 | |
| 554 | - project: |
| 555 | name: onos-maven-verify |
| 556 | project-name: onos-maven-verify |
| 557 | project: onos |
| 558 | |
Ray Milkey | 43a340c | 2018-02-20 13:49:00 -0800 | [diff] [blame] | 559 | build-timeout: '30' |
Ray Milkey | d9f7366 | 2017-11-06 10:29:51 -0800 | [diff] [blame] | 560 | build-node: 'ubuntu16.04-basebuild-8c-15g' |
| 561 | |
| 562 | stream: |
| 563 | - 'master' |
| 564 | |
| 565 | jobs: |
| 566 | - 'onos-{stream}-maven-verify' |
Ray Milkey | 20d2252 | 2017-11-08 10:55:52 -0800 | [diff] [blame] | 567 | |
| 568 | - project: |
| 569 | name: onos-sonar |
| 570 | project-name: onos-sonar |
| 571 | project: onos |
| 572 | |
Ray Milkey | 43a340c | 2018-02-20 13:49:00 -0800 | [diff] [blame] | 573 | build-timeout: '90' |
Ray Milkey | 20d2252 | 2017-11-08 10:55:52 -0800 | [diff] [blame] | 574 | build-node: 'ubuntu16.04-basebuild-8c-15g' |
| 575 | |
| 576 | stream: |
| 577 | - 'master' |
| 578 | |
| 579 | jobs: |
| 580 | - 'onos-{stream}-sonar' |
| 581 | |
Ray Milkey | 2afc4a5 | 2017-11-17 11:01:38 -0800 | [diff] [blame] | 582 | - project: |
| 583 | name: onos-release-build |
| 584 | project-name: onos-release-build |
| 585 | project: onos |
| 586 | |
Ray Milkey | 43a340c | 2018-02-20 13:49:00 -0800 | [diff] [blame] | 587 | build-timeout: '90' |
Ray Milkey | 2afc4a5 | 2017-11-17 11:01:38 -0800 | [diff] [blame] | 588 | build-node: 'ubuntu16.04-basebuild-8c-15g' |
| 589 | |
Ray Milkey | 4309d9b | 2017-11-17 13:41:46 -0800 | [diff] [blame] | 590 | stream: 'master' |
Ray Milkey | 2afc4a5 | 2017-11-17 11:01:38 -0800 | [diff] [blame] | 591 | |
| 592 | jobs: |
| 593 | - 'onos-release-build' |
Ray Milkey | 0caba7f | 2018-01-08 12:56:18 -0800 | [diff] [blame] | 594 | |
| 595 | - project: |
| 596 | name: onos-docker-build |
| 597 | project-name: onos-docker-build |
| 598 | project: onos |
| 599 | |
Ray Milkey | 43a340c | 2018-02-20 13:49:00 -0800 | [diff] [blame] | 600 | build-timeout: '90' |
Ray Milkey | 0caba7f | 2018-01-08 12:56:18 -0800 | [diff] [blame] | 601 | build-node: 'ubuntu16.04-basebuild-8c-15g' |
| 602 | |
| 603 | stream: 'master' |
| 604 | |
| 605 | jobs: |
| 606 | - 'onos-docker-build' |
Ray Milkey | 3aa8af5 | 2018-03-09 09:10:08 -0800 | [diff] [blame^] | 607 | |
| 608 | - project: |
| 609 | name: onos-stc-verify |
| 610 | project-name: onos-maven-verify |
| 611 | project: onos |
| 612 | |
| 613 | build-timeout: '30' |
| 614 | build-node: 'ubuntu16.04-basebuild-8c-15g' |
| 615 | |
| 616 | stream: |
| 617 | - 'master' |
| 618 | |
| 619 | jobs: |
| 620 | - 'onos-{stream}-stc-verify' |
| 621 | |