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