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' |
Ray Milkey | fcb0db6 | 2018-04-13 16:47:46 -0700 | [diff] [blame] | 477 | - 'onos-1.13' |
Brian O'Connor | 9fbe772 | 2017-10-27 12:44:04 -0700 | [diff] [blame] | 478 | |
| 479 | jobs: |
| 480 | - '{project-name}-{stream}-verify' |
Yuta HIGUCHI | 02e46d3 | 2017-10-31 10:17:47 -0700 | [diff] [blame] | 481 | |
| 482 | - project: |
Ray Milkey | 83d912a | 2017-11-01 13:49:31 -0700 | [diff] [blame] | 483 | name: onos-gui |
| 484 | project-name: onos-gui |
Ray Milkey | 24fe1ee | 2017-11-01 13:59:07 -0700 | [diff] [blame] | 485 | project: onos |
Ray Milkey | 83d912a | 2017-11-01 13:49:31 -0700 | [diff] [blame] | 486 | |
Ray Milkey | 43a340c | 2018-02-20 13:49:00 -0800 | [diff] [blame] | 487 | build-timeout: '30' |
Ray Milkey | 83d912a | 2017-11-01 13:49:31 -0700 | [diff] [blame] | 488 | build-node: 'ubuntu16.04-basebuild-8c-15g' |
| 489 | |
| 490 | stream: |
| 491 | - 'master' |
| 492 | - 'onos-1.10' |
| 493 | - 'onos-1.11' |
Ray Milkey | 47d4f72 | 2017-11-21 09:36:37 -0800 | [diff] [blame] | 494 | - 'onos-1.12' |
Ray Milkey | fcb0db6 | 2018-04-13 16:47:46 -0700 | [diff] [blame] | 495 | - 'onos-1.13' |
Ray Milkey | 83d912a | 2017-11-01 13:49:31 -0700 | [diff] [blame] | 496 | |
| 497 | jobs: |
| 498 | - 'onos-gui-{stream}-verify' |
| 499 | |
| 500 | - project: |
Yuta HIGUCHI | 02e46d3 | 2017-10-31 10:17:47 -0700 | [diff] [blame] | 501 | name: onos-yang-tools |
| 502 | project-name: onos-yang-tools |
| 503 | project: onos-yang-tools |
| 504 | |
Ray Milkey | 43a340c | 2018-02-20 13:49:00 -0800 | [diff] [blame] | 505 | build-timeout: '30' |
Yuta HIGUCHI | 02e46d3 | 2017-10-31 10:17:47 -0700 | [diff] [blame] | 506 | build-node: 'ubuntu16.04-basebuild-8c-15g' |
| 507 | |
| 508 | stream: |
| 509 | - 'master' |
| 510 | |
| 511 | jobs: |
| 512 | - 'onos-yang-tools-{stream}-verify' |
Ray Milkey | 8e46220 | 2017-11-02 10:18:37 -0700 | [diff] [blame] | 513 | |
| 514 | - project: |
Yuta HIGUCHI | 28821fd | 2017-11-17 16:11:19 -0800 | [diff] [blame] | 515 | name: onos-app-samples |
| 516 | project-name: onos-app-samples |
| 517 | project: onos-app-samples |
| 518 | |
Ray Milkey | 43a340c | 2018-02-20 13:49:00 -0800 | [diff] [blame] | 519 | build-timeout: '30' |
Yuta HIGUCHI | 28821fd | 2017-11-17 16:11:19 -0800 | [diff] [blame] | 520 | build-node: 'ubuntu16.04-basebuild-8c-15g' |
| 521 | |
| 522 | stream: |
| 523 | - 'master' |
| 524 | |
| 525 | jobs: |
| 526 | - 'onos-app-samples-{stream}-verify' |
| 527 | |
Yuta HIGUCHI | 1ac8323 | 2017-11-17 16:37:57 -0800 | [diff] [blame] | 528 | - project: |
| 529 | name: onos-loxi |
| 530 | project-name: onos-loxi |
| 531 | project: onos-loxi |
Yuta HIGUCHI | 28821fd | 2017-11-17 16:11:19 -0800 | [diff] [blame] | 532 | |
Ray Milkey | 43a340c | 2018-02-20 13:49:00 -0800 | [diff] [blame] | 533 | build-timeout: '30' |
Yuta HIGUCHI | 1ac8323 | 2017-11-17 16:37:57 -0800 | [diff] [blame] | 534 | build-node: 'ubuntu16.04-basebuild-8c-15g' |
| 535 | |
| 536 | stream: |
| 537 | - 'master' |
| 538 | |
| 539 | jobs: |
| 540 | - 'onos-loxi-{stream}-verify' |
Yuta HIGUCHI | 28821fd | 2017-11-17 16:11:19 -0800 | [diff] [blame] | 541 | |
| 542 | - project: |
Ray Milkey | 8e46220 | 2017-11-02 10:18:37 -0700 | [diff] [blame] | 543 | name: onos-release |
| 544 | project-name: onos-release |
| 545 | project: onos |
| 546 | |
Ray Milkey | 43a340c | 2018-02-20 13:49:00 -0800 | [diff] [blame] | 547 | build-timeout: '90' |
Ray Milkey | 8e46220 | 2017-11-02 10:18:37 -0700 | [diff] [blame] | 548 | build-node: 'ubuntu16.04-basebuild-8c-15g' |
| 549 | |
| 550 | stream: |
| 551 | - 'master' |
| 552 | |
| 553 | jobs: |
| 554 | - 'onos-{stream}-release-build-verify' |
Ray Milkey | d9f7366 | 2017-11-06 10:29:51 -0800 | [diff] [blame] | 555 | |
| 556 | - project: |
| 557 | name: onos-maven-verify |
| 558 | project-name: onos-maven-verify |
| 559 | project: onos |
| 560 | |
Ray Milkey | 43a340c | 2018-02-20 13:49:00 -0800 | [diff] [blame] | 561 | build-timeout: '30' |
Ray Milkey | d9f7366 | 2017-11-06 10:29:51 -0800 | [diff] [blame] | 562 | build-node: 'ubuntu16.04-basebuild-8c-15g' |
| 563 | |
| 564 | stream: |
| 565 | - 'master' |
Ray Milkey | e8f39e0 | 2018-04-16 13:34:34 -0700 | [diff] [blame] | 566 | - 'onos-1.12' |
| 567 | - 'onos-1.13' |
Ray Milkey | d9f7366 | 2017-11-06 10:29:51 -0800 | [diff] [blame] | 568 | |
| 569 | jobs: |
| 570 | - 'onos-{stream}-maven-verify' |
Ray Milkey | 20d2252 | 2017-11-08 10:55:52 -0800 | [diff] [blame] | 571 | |
| 572 | - project: |
| 573 | name: onos-sonar |
| 574 | project-name: onos-sonar |
| 575 | project: onos |
| 576 | |
Ray Milkey | 43a340c | 2018-02-20 13:49:00 -0800 | [diff] [blame] | 577 | build-timeout: '90' |
Ray Milkey | 20d2252 | 2017-11-08 10:55:52 -0800 | [diff] [blame] | 578 | build-node: 'ubuntu16.04-basebuild-8c-15g' |
| 579 | |
| 580 | stream: |
| 581 | - 'master' |
| 582 | |
| 583 | jobs: |
| 584 | - 'onos-{stream}-sonar' |
| 585 | |
Ray Milkey | 2afc4a5 | 2017-11-17 11:01:38 -0800 | [diff] [blame] | 586 | - project: |
| 587 | name: onos-release-build |
| 588 | project-name: onos-release-build |
| 589 | project: onos |
| 590 | |
Ray Milkey | 43a340c | 2018-02-20 13:49:00 -0800 | [diff] [blame] | 591 | build-timeout: '90' |
Ray Milkey | 2afc4a5 | 2017-11-17 11:01:38 -0800 | [diff] [blame] | 592 | build-node: 'ubuntu16.04-basebuild-8c-15g' |
| 593 | |
Ray Milkey | 4309d9b | 2017-11-17 13:41:46 -0800 | [diff] [blame] | 594 | stream: 'master' |
Ray Milkey | 2afc4a5 | 2017-11-17 11:01:38 -0800 | [diff] [blame] | 595 | |
| 596 | jobs: |
| 597 | - 'onos-release-build' |
Ray Milkey | 0caba7f | 2018-01-08 12:56:18 -0800 | [diff] [blame] | 598 | |
| 599 | - project: |
| 600 | name: onos-docker-build |
| 601 | project-name: onos-docker-build |
| 602 | project: onos |
| 603 | |
Ray Milkey | 43a340c | 2018-02-20 13:49:00 -0800 | [diff] [blame] | 604 | build-timeout: '90' |
Ray Milkey | 0caba7f | 2018-01-08 12:56:18 -0800 | [diff] [blame] | 605 | build-node: 'ubuntu16.04-basebuild-8c-15g' |
| 606 | |
| 607 | stream: 'master' |
| 608 | |
| 609 | jobs: |
| 610 | - 'onos-docker-build' |
Ray Milkey | 3aa8af5 | 2018-03-09 09:10:08 -0800 | [diff] [blame] | 611 | |
| 612 | - project: |
| 613 | name: onos-stc-verify |
Ray Milkey | d6580d8 | 2018-04-16 08:56:07 -0700 | [diff] [blame] | 614 | project-name: onos-stc-verify |
Ray Milkey | 3aa8af5 | 2018-03-09 09:10:08 -0800 | [diff] [blame] | 615 | project: onos |
| 616 | |
| 617 | build-timeout: '30' |
| 618 | build-node: 'ubuntu16.04-basebuild-8c-15g' |
| 619 | |
| 620 | stream: |
| 621 | - 'master' |
Ray Milkey | d6580d8 | 2018-04-16 08:56:07 -0700 | [diff] [blame] | 622 | - 'onos-1.13' |
| 623 | - 'onos-1.12' |
Ray Milkey | 3aa8af5 | 2018-03-09 09:10:08 -0800 | [diff] [blame] | 624 | |
| 625 | jobs: |
| 626 | - 'onos-{stream}-stc-verify' |
| 627 | |