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 | f2aa935 | 2018-06-06 14:35:35 -0700 | [diff] [blame] | 122 | - hourly_boiler_plate_with_slack: &hourly_boiler_plate_with_slack |
| 123 | name: hourly_boiler_plate_with_slack |
Ray Milkey | d9f7366 | 2017-11-06 10:29:51 -0800 | [diff] [blame] | 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 | 4430a0f | 2018-05-07 17:30:46 +0000 | [diff] [blame] | 137 | - timed: '@hourly' |
Ray Milkey | d9f7366 | 2017-11-06 10:29:51 -0800 | [diff] [blame] | 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 | |
Ray Milkey | f2aa935 | 2018-06-06 14:35:35 -0700 | [diff] [blame] | 166 | - hourly_boiler_plate: &hourly_boiler_plate |
| 167 | name: hourly_boiler_plate |
| 168 | |
| 169 | concurrent: true |
| 170 | |
| 171 | scm: |
| 172 | - lf-infra-gerrit-scm: |
| 173 | git-url: '{git-url}' |
| 174 | refspec: '$GERRIT_REFSPEC' |
| 175 | branch: '$GERRIT_BRANCH' |
| 176 | submodule-recursive: '{submodule-recursive}' |
| 177 | choosing-strategy: gerrit |
| 178 | jenkins-ssh-credential: '{jenkins-ssh-credential}' |
| 179 | |
| 180 | triggers: |
| 181 | - timed: '@hourly' |
Ray Milkey | c6e9a85 | 2018-01-30 13:27:06 -0800 | [diff] [blame] | 182 | |
Ray Milkey | 4309d9b | 2017-11-17 13:41:46 -0800 | [diff] [blame] | 183 | - release_build_boiler_plate: &release_build_boiler_plate |
| 184 | name: release_build_boiler_plate |
| 185 | |
| 186 | concurrent: true |
| 187 | |
| 188 | parameters: |
| 189 | - lf-infra-parameters: |
| 190 | project: '{project}' |
| 191 | branch: '{stream}' |
| 192 | stream: '{stream}' |
| 193 | lftools-version: '{lftools-version}' |
| 194 | |
| 195 | - string: |
| 196 | name: ONOS_VERSION |
Ray Milkey | 2d55e97 | 2018-05-04 13:01:36 -0700 | [diff] [blame] | 197 | default: '1.13' |
Ray Milkey | b40e567 | 2018-01-26 10:10:45 -0800 | [diff] [blame] | 198 | description: 'Version tag of ONOS to build' |
Ray Milkey | 4309d9b | 2017-11-17 13:41:46 -0800 | [diff] [blame] | 199 | |
| 200 | - string: |
| 201 | name: ONOS_NEXT_VERSION |
Ray Milkey | 2d55e97 | 2018-05-04 13:01:36 -0700 | [diff] [blame] | 202 | default: '1.13.1-SNAPSHOT' |
Ray Milkey | b40e567 | 2018-01-26 10:10:45 -0800 | [diff] [blame] | 203 | description: 'Version of ONOS to reset tree to' |
| 204 | |
| 205 | scm: |
| 206 | - lf-infra-gerrit-scm: |
| 207 | git-url: '{git-url}' |
| 208 | refspec: '$GERRIT_REFSPEC' |
| 209 | branch: '$GERRIT_BRANCH' |
| 210 | submodule-recursive: '{submodule-recursive}' |
| 211 | choosing-strategy: gerrit |
| 212 | jenkins-ssh-credential: '{jenkins-ssh-credential}' |
| 213 | |
| 214 | - docker_build_boiler_plate: &docker_build_boiler_plate |
| 215 | name: release_build_boiler_plate |
| 216 | |
| 217 | concurrent: true |
| 218 | |
| 219 | parameters: |
| 220 | - lf-infra-parameters: |
| 221 | project: '{project}' |
| 222 | branch: '{stream}' |
| 223 | stream: '{stream}' |
| 224 | lftools-version: '{lftools-version}' |
| 225 | |
| 226 | - string: |
| 227 | name: ONOS_TAG |
| 228 | default: '' |
| 229 | description: 'Tag of ONOS to build' |
Ray Milkey | 4309d9b | 2017-11-17 13:41:46 -0800 | [diff] [blame] | 230 | |
| 231 | scm: |
| 232 | - lf-infra-gerrit-scm: |
| 233 | git-url: '{git-url}' |
| 234 | refspec: '$GERRIT_REFSPEC' |
| 235 | branch: '$GERRIT_BRANCH' |
| 236 | submodule-recursive: '{submodule-recursive}' |
| 237 | choosing-strategy: gerrit |
| 238 | jenkins-ssh-credential: '{jenkins-ssh-credential}' |
| 239 | |
Brian O'Connor | 9fbe772 | 2017-10-27 12:44:04 -0700 | [diff] [blame] | 240 | - job-template: |
| 241 | #default name is global |
| 242 | name: '{project-name}-{stream}-verify' |
| 243 | |
| 244 | # Job template for Java verify jobs |
| 245 | # |
| 246 | # The purpose of this job templte is to run "maven clean install" for |
| 247 | # projects using this template. |
| 248 | # |
| 249 | # Required Variables: |
| 250 | # branch: git branch (eg. master) |
| 251 | |
| 252 | <<: *job_boiler_plate |
| 253 | # yamllint disable-line rule:key-duplicates |
| 254 | <<: *verify_boiler_plate |
| 255 | |
| 256 | builders: |
| 257 | #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] | 258 | - shell: !include-raw-escape: onos-verify.sh |
Yuta HIGUCHI | 02e46d3 | 2017-10-31 10:17:47 -0700 | [diff] [blame] | 259 | # JJB 1.6.2 does not support parameter expansion on filename? |
| 260 | #- shell: !include-raw-escape: {project-name}-verify.sh |
| 261 | |
Ray Milkey | 2c9ed83 | 2018-08-07 10:45:52 -0700 | [diff] [blame] | 262 | - job-template: |
| 263 | #default name is global |
| 264 | name: '{project-name}-{stream}-bazel-verify' |
| 265 | |
| 266 | # Job template for Java verify jobs |
| 267 | # |
| 268 | # Required Variables: |
| 269 | # branch: git branch (eg. master) |
| 270 | |
| 271 | <<: *job_boiler_plate |
| 272 | # yamllint disable-line rule:key-duplicates |
| 273 | <<: *verify_boiler_plate |
| 274 | |
| 275 | builders: |
| 276 | #put shell scripts in file then make sure shell check is installed on verify vms |
| 277 | - shell: !include-raw-escape: onos-bazel-verify.sh |
| 278 | # JJB 1.6.2 does not support parameter expansion on filename? |
| 279 | #- shell: !include-raw-escape: {project-name}-verify.sh |
| 280 | |
Yuta HIGUCHI | 02e46d3 | 2017-10-31 10:17:47 -0700 | [diff] [blame] | 281 | # workaround for lack of parameter expansion support in shell: (see above) |
| 282 | - job-template: |
| 283 | #default name is global |
| 284 | name: 'onos-yang-tools-{stream}-verify' |
| 285 | |
| 286 | # Job template for Java verify jobs |
| 287 | # |
| 288 | # The purpose of this job templte is to run "maven clean install" for |
| 289 | # projects using this template. |
| 290 | # |
| 291 | # Required Variables: |
| 292 | # branch: git branch (eg. master) |
| 293 | |
| 294 | <<: *job_boiler_plate |
| 295 | # yamllint disable-line rule:key-duplicates |
| 296 | <<: *verify_boiler_plate |
| 297 | |
| 298 | builders: |
| 299 | #put shell scripts in file then make sure shell check is installed on verify vms |
| 300 | - shell: !include-raw-escape: onos-yang-tools-verify.sh |
| 301 | |
Yuta HIGUCHI | 1894804 | 2018-05-08 14:07:51 -0700 | [diff] [blame] | 302 | - job-template: |
| 303 | #default name is global |
| 304 | name: 'onos-yang-tools-release-build' |
| 305 | |
| 306 | # Job template for ONOS Yang tools release jobs |
| 307 | # |
| 308 | |
| 309 | <<: *job_boiler_plate |
| 310 | # yamllint disable-line rule:key-duplicates |
| 311 | parameters: |
| 312 | - lf-infra-parameters: |
| 313 | project: '{project}' |
| 314 | branch: '{stream}' |
| 315 | stream: '{stream}' |
| 316 | lftools-version: '{lftools-version}' |
| 317 | |
| 318 | - string: |
| 319 | name: YANGTOOLS_VERSION |
Yuta HIGUCHI | a36c067 | 2018-05-11 09:45:47 -0700 | [diff] [blame] | 320 | default: '2.4.4' |
| 321 | description: 'Version tag of ONOS Yang tools to build and release' |
Yuta HIGUCHI | 1894804 | 2018-05-08 14:07:51 -0700 | [diff] [blame] | 322 | |
| 323 | - string: |
| 324 | name: YANGTOOLS_NEXT_VERSION |
| 325 | default: '2.5-SNAPSHOT' |
| 326 | description: 'Version of ONOS Yang tools to reset tree to afterwards' |
| 327 | |
| 328 | scm: |
| 329 | - lf-infra-gerrit-scm: |
| 330 | git-url: '{git-url}' |
| 331 | refspec: '$GERRIT_REFSPEC' |
| 332 | branch: '$GERRIT_BRANCH' |
| 333 | submodule-recursive: '{submodule-recursive}' |
| 334 | choosing-strategy: gerrit |
| 335 | jenkins-ssh-credential: '{jenkins-ssh-credential}' |
Yuta HIGUCHI | 7e98214 | 2018-05-08 15:02:05 -0700 | [diff] [blame] | 336 | |
Yuta HIGUCHI | 1894804 | 2018-05-08 14:07:51 -0700 | [diff] [blame] | 337 | builders: |
| 338 | - lf-provide-maven-settings: |
| 339 | settings-file: 'release-build-maven-settings' |
| 340 | global-settings-file: 'release-build-maven-settings' |
| 341 | - config-file-provider: |
| 342 | files: |
| 343 | - file-id: 'onos-build-credentials' |
| 344 | target: 'onos-build-credentials' |
| 345 | variable: 'CREDENTIALS_FILE' |
| 346 | - file-id: 'buck-config-local' |
| 347 | target: '.buckconfig.local' |
| 348 | variable: 'BUCK_CONFIG_FILE' |
| 349 | - file-id: 'gpg-key' |
| 350 | target: 'jenkins.key' |
| 351 | variable: 'GPG_KEY_FILE' |
| 352 | - file-id: 'release-build-maven-settings' |
| 353 | target: 'settings.xml' |
| 354 | variable: 'MAVEN_SETTINGS' |
| 355 | - file-id: 'api-onosproject-ssh-key' |
| 356 | target: 'id_rsa.pub' |
| 357 | variable: 'API_ONOSPROJECT_SSH_KEY' |
| 358 | |
| 359 | #put shell scripts in file then make sure shell check is installed on verify vms |
| 360 | - shell: !include-raw-escape: onos-yang-tools-release-build.sh |
| 361 | # JJB 1.6.2 does not support parameter expansion on filename? |
| 362 | #- shell: !include-raw-escape: {project-name}-verify.sh |
| 363 | |
| 364 | |
Ray Milkey | 83d912a | 2017-11-01 13:49:31 -0700 | [diff] [blame] | 365 | # workaround for lack of parameter expansion support in shell: (see above) |
| 366 | - job-template: |
| 367 | #default name is global |
Yuta HIGUCHI | 28821fd | 2017-11-17 16:11:19 -0800 | [diff] [blame] | 368 | name: 'onos-app-samples-{stream}-verify' |
| 369 | |
| 370 | # Job template for Java verify jobs |
| 371 | # |
| 372 | # The purpose of this job templte is to run "maven clean install" for |
| 373 | # projects using this template. |
| 374 | # |
| 375 | # Required Variables: |
| 376 | # branch: git branch (eg. master) |
| 377 | |
| 378 | <<: *job_boiler_plate |
| 379 | # yamllint disable-line rule:key-duplicates |
| 380 | <<: *verify_boiler_plate |
| 381 | |
| 382 | builders: |
| 383 | #put shell scripts in file then make sure shell check is installed on verify vms |
| 384 | - shell: !include-raw-escape: onos-app-samples-verify.sh |
| 385 | |
Yuta HIGUCHI | 1ac8323 | 2017-11-17 16:37:57 -0800 | [diff] [blame] | 386 | # workaround for lack of parameter expansion support in shell: (see above) |
| 387 | - job-template: |
| 388 | #default name is global |
| 389 | name: 'onos-loxi-{stream}-verify' |
| 390 | |
| 391 | # Job template for Java verify jobs |
| 392 | # |
| 393 | # The purpose of this job templte is to run "maven clean install" for |
| 394 | # projects using this template. |
| 395 | # |
| 396 | # Required Variables: |
| 397 | # branch: git branch (eg. master) |
| 398 | |
| 399 | <<: *job_boiler_plate |
| 400 | # yamllint disable-line rule:key-duplicates |
| 401 | <<: *verify_boiler_plate |
| 402 | |
| 403 | builders: |
| 404 | #put shell scripts in file then make sure shell check is installed on verify vms |
| 405 | - shell: !include-raw-escape: onos-loxi-verify.sh |
Yuta HIGUCHI | 28821fd | 2017-11-17 16:11:19 -0800 | [diff] [blame] | 406 | |
| 407 | # workaround for lack of parameter expansion support in shell: (see above) |
| 408 | - job-template: |
| 409 | #default name is global |
Ray Milkey | 83d912a | 2017-11-01 13:49:31 -0700 | [diff] [blame] | 410 | name: 'onos-gui-{stream}-verify' |
| 411 | |
| 412 | # Job template for Java verify jobs |
| 413 | # |
| 414 | # The purpose of this job templte is to run "maven clean install" for |
| 415 | # projects using this template. |
| 416 | # |
| 417 | # Required Variables: |
| 418 | # branch: git branch (eg. master) |
| 419 | |
| 420 | <<: *job_boiler_plate |
| 421 | # yamllint disable-line rule:key-duplicates |
| 422 | <<: *verify_boiler_plate |
| 423 | |
| 424 | builders: |
| 425 | #put shell scripts in file then make sure shell check is installed on verify vms |
| 426 | - shell: !include-raw-escape: onos-gui-verify.sh |
| 427 | |
Ray Milkey | 8e46220 | 2017-11-02 10:18:37 -0700 | [diff] [blame] | 428 | - job-template: |
| 429 | #default name is global |
| 430 | name: 'onos-{stream}-release-build-verify' |
| 431 | |
| 432 | # Job template for Java release check jobs |
| 433 | # |
| 434 | |
| 435 | <<: *job_boiler_plate |
| 436 | # yamllint disable-line rule:key-duplicates |
Ray Milkey | 29c5434 | 2017-11-06 16:43:01 -0800 | [diff] [blame] | 437 | <<: *daily_boiler_plate |
Ray Milkey | 8e46220 | 2017-11-02 10:18:37 -0700 | [diff] [blame] | 438 | |
| 439 | builders: |
Ray Milkey | d3d7fa8 | 2018-08-14 17:20:52 -0700 | [diff] [blame^] | 440 | - config-file-provider: |
| 441 | files: |
| 442 | - file-id: 'gpg-key' |
| 443 | target: 'jenkins.key' |
| 444 | variable: 'GPG_KEY_FILE' |
Ray Milkey | 8fae9a7 | 2017-11-17 10:03:54 -0800 | [diff] [blame] | 445 | |
Ray Milkey | 8e46220 | 2017-11-02 10:18:37 -0700 | [diff] [blame] | 446 | #put shell scripts in file then make sure shell check is installed on verify vms |
| 447 | - shell: !include-raw-escape: onos-release-build-verify.sh |
| 448 | # JJB 1.6.2 does not support parameter expansion on filename? |
| 449 | #- shell: !include-raw-escape: {project-name}-verify.sh |
| 450 | |
Ray Milkey | d9f7366 | 2017-11-06 10:29:51 -0800 | [diff] [blame] | 451 | - job-template: |
| 452 | #default name is global |
Ray Milkey | 2afc4a5 | 2017-11-17 11:01:38 -0800 | [diff] [blame] | 453 | name: 'onos-release-build' |
| 454 | |
| 455 | # Job template for Java release jobs |
| 456 | # |
| 457 | |
| 458 | <<: *job_boiler_plate |
| 459 | # yamllint disable-line rule:key-duplicates |
Ray Milkey | 4309d9b | 2017-11-17 13:41:46 -0800 | [diff] [blame] | 460 | <<: *release_build_boiler_plate |
Ray Milkey | 2afc4a5 | 2017-11-17 11:01:38 -0800 | [diff] [blame] | 461 | |
| 462 | builders: |
Ray Milkey | 094fd00 | 2017-11-22 10:21:59 -0800 | [diff] [blame] | 463 | - lf-provide-maven-settings: |
| 464 | settings-file: 'release-build-maven-settings' |
| 465 | global-settings-file: 'release-build-maven-settings' |
Ray Milkey | 2afc4a5 | 2017-11-17 11:01:38 -0800 | [diff] [blame] | 466 | - config-file-provider: |
| 467 | files: |
| 468 | - file-id: 'onos-build-credentials' |
| 469 | target: 'onos-build-credentials' |
| 470 | variable: 'CREDENTIALS_FILE' |
Ray Milkey | e8fd4f0 | 2017-11-17 14:54:18 -0800 | [diff] [blame] | 471 | - file-id: 'buck-config-local' |
| 472 | target: '.buckconfig.local' |
| 473 | variable: 'BUCK_CONFIG_FILE' |
Ray Milkey | b867be8 | 2017-11-27 13:29:19 -0800 | [diff] [blame] | 474 | - file-id: 'gpg-key' |
| 475 | target: 'jenkins.key' |
| 476 | variable: 'GPG_KEY_FILE' |
Ray Milkey | 43e7f93 | 2017-11-27 08:48:42 -0800 | [diff] [blame] | 477 | - file-id: 'release-build-maven-settings' |
| 478 | target: 'settings.xml' |
| 479 | variable: 'MAVEN_SETTINGS' |
Ray Milkey | 7d774fb | 2017-12-05 14:57:30 -0800 | [diff] [blame] | 480 | - file-id: 'api-onosproject-ssh-key' |
| 481 | target: 'id_rsa.pub' |
| 482 | variable: 'API_ONOSPROJECT_SSH_KEY' |
Ray Milkey | 2afc4a5 | 2017-11-17 11:01:38 -0800 | [diff] [blame] | 483 | |
| 484 | #put shell scripts in file then make sure shell check is installed on verify vms |
| 485 | - shell: !include-raw-escape: onos-release-build.sh |
| 486 | # JJB 1.6.2 does not support parameter expansion on filename? |
| 487 | #- shell: !include-raw-escape: {project-name}-verify.sh |
| 488 | |
| 489 | - job-template: |
| 490 | #default name is global |
Ray Milkey | 7c8b3f2 | 2018-08-13 15:01:12 -0700 | [diff] [blame] | 491 | name: 'onos-bazel-release-build' |
| 492 | |
| 493 | # Job template for Java release jobs |
| 494 | # |
| 495 | |
| 496 | <<: *job_boiler_plate |
| 497 | # yamllint disable-line rule:key-duplicates |
| 498 | <<: *release_build_boiler_plate |
| 499 | |
| 500 | builders: |
| 501 | - lf-provide-maven-settings: |
| 502 | settings-file: 'release-build-maven-settings' |
| 503 | global-settings-file: 'release-build-maven-settings' |
| 504 | - config-file-provider: |
| 505 | files: |
| 506 | - file-id: 'onos-build-credentials' |
| 507 | target: 'onos-build-credentials' |
| 508 | variable: 'CREDENTIALS_FILE' |
| 509 | - file-id: 'gpg-key' |
| 510 | target: 'jenkins.key' |
| 511 | variable: 'GPG_KEY_FILE' |
| 512 | - file-id: 'release-build-maven-settings' |
| 513 | target: 'settings.xml' |
| 514 | variable: 'MAVEN_SETTINGS' |
| 515 | - file-id: 'api-onosproject-ssh-key' |
| 516 | target: 'id_rsa.pub' |
| 517 | variable: 'API_ONOSPROJECT_SSH_KEY' |
| 518 | |
| 519 | #put shell scripts in file then make sure shell check is installed on verify vms |
| 520 | - shell: !include-raw-escape: onos-bazel-release-build.sh |
| 521 | # JJB 1.6.2 does not support parameter expansion on filename? |
| 522 | #- shell: !include-raw-escape: {project-name}-verify.sh |
| 523 | |
| 524 | - job-template: |
| 525 | #default name is global |
Ray Milkey | 0caba7f | 2018-01-08 12:56:18 -0800 | [diff] [blame] | 526 | name: 'onos-docker-build' |
| 527 | |
| 528 | # Job template for Docker jobs |
| 529 | # |
| 530 | |
| 531 | <<: *job_boiler_plate |
| 532 | # yamllint disable-line rule:key-duplicates |
Ray Milkey | b40e567 | 2018-01-26 10:10:45 -0800 | [diff] [blame] | 533 | <<: *docker_build_boiler_plate |
Ray Milkey | 0caba7f | 2018-01-08 12:56:18 -0800 | [diff] [blame] | 534 | |
| 535 | builders: |
| 536 | - lf-provide-maven-settings: |
| 537 | settings-file: 'release-build-maven-settings' |
| 538 | global-settings-file: 'release-build-maven-settings' |
| 539 | - config-file-provider: |
| 540 | files: |
| 541 | - file-id: 'onos-build-credentials' |
| 542 | target: 'onos-build-credentials' |
| 543 | variable: 'CREDENTIALS_FILE' |
| 544 | - file-id: 'buck-config-local' |
| 545 | target: '.buckconfig.local' |
| 546 | variable: 'BUCK_CONFIG_FILE' |
| 547 | - file-id: 'gpg-key' |
| 548 | target: 'jenkins.key' |
| 549 | variable: 'GPG_KEY_FILE' |
| 550 | - file-id: 'release-build-maven-settings' |
| 551 | target: 'settings.xml' |
| 552 | variable: 'MAVEN_SETTINGS' |
| 553 | - file-id: 'api-onosproject-ssh-key' |
| 554 | target: 'id_rsa.pub' |
| 555 | variable: 'API_ONOSPROJECT_SSH_KEY' |
| 556 | |
| 557 | #put shell scripts in file then make sure shell check is installed on verify vms |
| 558 | - shell: !include-raw-escape: onos-docker-build.sh |
| 559 | # JJB 1.6.2 does not support parameter expansion on filename? |
| 560 | #- shell: !include-raw-escape: {project-name}-verify.sh |
| 561 | |
| 562 | - job-template: |
| 563 | #default name is global |
Ray Milkey | d9f7366 | 2017-11-06 10:29:51 -0800 | [diff] [blame] | 564 | name: 'onos-{stream}-maven-verify' |
| 565 | |
| 566 | <<: *job_boiler_plate |
| 567 | # yamllint disable-line rule:key-duplicates |
Ray Milkey | f2aa935 | 2018-06-06 14:35:35 -0700 | [diff] [blame] | 568 | <<: *hourly_boiler_plate_with_slack |
Ray Milkey | d9f7366 | 2017-11-06 10:29:51 -0800 | [diff] [blame] | 569 | |
| 570 | builders: |
| 571 | #put shell scripts in file then make sure shell check is installed on verify vms |
| 572 | - shell: !include-raw-escape: onos-maven-verify.sh |
| 573 | # JJB 1.6.2 does not support parameter expansion on filename? |
| 574 | #- shell: !include-raw-escape: {project-name}-verify.sh |
Brian O'Connor | 9fbe772 | 2017-10-27 12:44:04 -0700 | [diff] [blame] | 575 | |
Ray Milkey | 20d2252 | 2017-11-08 10:55:52 -0800 | [diff] [blame] | 576 | - job-template: |
| 577 | #default name is global |
| 578 | name: 'onos-{stream}-sonar' |
| 579 | |
| 580 | <<: *job_boiler_plate |
| 581 | # yamllint disable-line rule:key-duplicates |
| 582 | <<: *daily_boiler_plate |
| 583 | |
| 584 | builders: |
| 585 | #put shell scripts in file then make sure shell check is installed on verify vms |
| 586 | - shell: !include-raw-escape: onos-sonar.sh |
| 587 | # JJB 1.6.2 does not support parameter expansion on filename? |
| 588 | #- shell: !include-raw-escape: {project-name}-verify.sh |
| 589 | |
Ray Milkey | 3aa8af5 | 2018-03-09 09:10:08 -0800 | [diff] [blame] | 590 | - job-template: |
| 591 | name: 'onos-{stream}-stc-verify' |
| 592 | |
| 593 | <<: *job_boiler_plate |
| 594 | # yamllint disable-line rule:key-duplicates |
| 595 | <<: *hourly_boiler_plate |
| 596 | |
| 597 | builders: |
| 598 | #put shell scripts in file then make sure shell check is installed on verify vms |
| 599 | - shell: !include-raw-escape: onos-run-stc.sh |
| 600 | |
| 601 | |
Ray Milkey | cfbc5be | 2018-05-08 09:13:13 -0700 | [diff] [blame] | 602 | - job-template: |
| 603 | name: 'onos-{stream}-stc-hag-verify' |
| 604 | |
| 605 | <<: *job_boiler_plate |
| 606 | # yamllint disable-line rule:key-duplicates |
| 607 | <<: *hourly_boiler_plate |
| 608 | |
| 609 | builders: |
| 610 | #put shell scripts in file then make sure shell check is installed on verify vms |
| 611 | - shell: !include-raw-escape: onos-run-stc-hag.sh |
| 612 | |
| 613 | |
Brian O'Connor | 9fbe772 | 2017-10-27 12:44:04 -0700 | [diff] [blame] | 614 | - project: |
| 615 | name: onos |
| 616 | project-name: onos |
| 617 | project: onos |
| 618 | |
Ray Milkey | 43a340c | 2018-02-20 13:49:00 -0800 | [diff] [blame] | 619 | build-timeout: '30' |
Brian O'Connor | 9fbe772 | 2017-10-27 12:44:04 -0700 | [diff] [blame] | 620 | build-node: 'ubuntu16.04-basebuild-8c-15g' |
| 621 | |
| 622 | stream: |
| 623 | - 'master' |
Ray Milkey | 1bc1377 | 2017-10-31 15:57:17 -0700 | [diff] [blame] | 624 | - 'onos-1.10' |
| 625 | - 'onos-1.11' |
Ray Milkey | 47d4f72 | 2017-11-21 09:36:37 -0800 | [diff] [blame] | 626 | - 'onos-1.12' |
Ray Milkey | fcb0db6 | 2018-04-13 16:47:46 -0700 | [diff] [blame] | 627 | - 'onos-1.13' |
Brian O'Connor | 9fbe772 | 2017-10-27 12:44:04 -0700 | [diff] [blame] | 628 | |
| 629 | jobs: |
| 630 | - '{project-name}-{stream}-verify' |
Yuta HIGUCHI | 02e46d3 | 2017-10-31 10:17:47 -0700 | [diff] [blame] | 631 | |
| 632 | - project: |
Ray Milkey | 2c9ed83 | 2018-08-07 10:45:52 -0700 | [diff] [blame] | 633 | name: onos-bazel |
| 634 | project-name: onos-bazel |
| 635 | project: onos |
| 636 | |
| 637 | build-timeout: '30' |
| 638 | build-node: 'ubuntu16.04-basebuild-8c-15g' |
| 639 | |
| 640 | stream: |
| 641 | - 'master' |
| 642 | |
| 643 | jobs: |
| 644 | - '{project-name}-{stream}-bazel-verify' |
| 645 | |
| 646 | - project: |
Ray Milkey | 83d912a | 2017-11-01 13:49:31 -0700 | [diff] [blame] | 647 | name: onos-gui |
| 648 | project-name: onos-gui |
Ray Milkey | 24fe1ee | 2017-11-01 13:59:07 -0700 | [diff] [blame] | 649 | project: onos |
Ray Milkey | 83d912a | 2017-11-01 13:49:31 -0700 | [diff] [blame] | 650 | |
Ray Milkey | 43a340c | 2018-02-20 13:49:00 -0800 | [diff] [blame] | 651 | build-timeout: '30' |
Ray Milkey | 83d912a | 2017-11-01 13:49:31 -0700 | [diff] [blame] | 652 | build-node: 'ubuntu16.04-basebuild-8c-15g' |
| 653 | |
| 654 | stream: |
| 655 | - 'master' |
| 656 | - 'onos-1.10' |
| 657 | - 'onos-1.11' |
Ray Milkey | 47d4f72 | 2017-11-21 09:36:37 -0800 | [diff] [blame] | 658 | - 'onos-1.12' |
Ray Milkey | fcb0db6 | 2018-04-13 16:47:46 -0700 | [diff] [blame] | 659 | - 'onos-1.13' |
Ray Milkey | 83d912a | 2017-11-01 13:49:31 -0700 | [diff] [blame] | 660 | |
| 661 | jobs: |
| 662 | - 'onos-gui-{stream}-verify' |
| 663 | |
| 664 | - project: |
Yuta HIGUCHI | 02e46d3 | 2017-10-31 10:17:47 -0700 | [diff] [blame] | 665 | name: onos-yang-tools |
| 666 | project-name: onos-yang-tools |
| 667 | project: onos-yang-tools |
| 668 | |
Ray Milkey | 43a340c | 2018-02-20 13:49:00 -0800 | [diff] [blame] | 669 | build-timeout: '30' |
Yuta HIGUCHI | 02e46d3 | 2017-10-31 10:17:47 -0700 | [diff] [blame] | 670 | build-node: 'ubuntu16.04-basebuild-8c-15g' |
| 671 | |
| 672 | stream: |
| 673 | - 'master' |
| 674 | |
| 675 | jobs: |
| 676 | - 'onos-yang-tools-{stream}-verify' |
Ray Milkey | 8e46220 | 2017-11-02 10:18:37 -0700 | [diff] [blame] | 677 | |
| 678 | - project: |
Yuta HIGUCHI | 7e98214 | 2018-05-08 15:02:05 -0700 | [diff] [blame] | 679 | name: onos-yang-tools-release-build |
| 680 | project-name: onos-yang-tools-release-build |
| 681 | project: onos-yang-tools |
| 682 | |
| 683 | build-timeout: '240' |
| 684 | build-node: 'ubuntu16.04-basebuild-8c-15g' |
| 685 | |
| 686 | stream: 'master' |
| 687 | |
| 688 | jobs: |
| 689 | - 'onos-yang-tools-release-build' |
| 690 | |
| 691 | |
| 692 | - project: |
Yuta HIGUCHI | 28821fd | 2017-11-17 16:11:19 -0800 | [diff] [blame] | 693 | name: onos-app-samples |
| 694 | project-name: onos-app-samples |
| 695 | project: onos-app-samples |
| 696 | |
Ray Milkey | 43a340c | 2018-02-20 13:49:00 -0800 | [diff] [blame] | 697 | build-timeout: '30' |
Yuta HIGUCHI | 28821fd | 2017-11-17 16:11:19 -0800 | [diff] [blame] | 698 | build-node: 'ubuntu16.04-basebuild-8c-15g' |
| 699 | |
| 700 | stream: |
| 701 | - 'master' |
| 702 | |
| 703 | jobs: |
| 704 | - 'onos-app-samples-{stream}-verify' |
| 705 | |
Yuta HIGUCHI | 1ac8323 | 2017-11-17 16:37:57 -0800 | [diff] [blame] | 706 | - project: |
| 707 | name: onos-loxi |
| 708 | project-name: onos-loxi |
| 709 | project: onos-loxi |
Yuta HIGUCHI | 28821fd | 2017-11-17 16:11:19 -0800 | [diff] [blame] | 710 | |
Ray Milkey | 43a340c | 2018-02-20 13:49:00 -0800 | [diff] [blame] | 711 | build-timeout: '30' |
Yuta HIGUCHI | 1ac8323 | 2017-11-17 16:37:57 -0800 | [diff] [blame] | 712 | build-node: 'ubuntu16.04-basebuild-8c-15g' |
| 713 | |
| 714 | stream: |
| 715 | - 'master' |
| 716 | |
| 717 | jobs: |
| 718 | - 'onos-loxi-{stream}-verify' |
Yuta HIGUCHI | 28821fd | 2017-11-17 16:11:19 -0800 | [diff] [blame] | 719 | |
| 720 | - project: |
Ray Milkey | 8e46220 | 2017-11-02 10:18:37 -0700 | [diff] [blame] | 721 | name: onos-release |
| 722 | project-name: onos-release |
| 723 | project: onos |
| 724 | |
Ray Milkey | 2d55e97 | 2018-05-04 13:01:36 -0700 | [diff] [blame] | 725 | build-timeout: '240' |
Ray Milkey | 8e46220 | 2017-11-02 10:18:37 -0700 | [diff] [blame] | 726 | build-node: 'ubuntu16.04-basebuild-8c-15g' |
| 727 | |
| 728 | stream: |
| 729 | - 'master' |
| 730 | |
| 731 | jobs: |
| 732 | - 'onos-{stream}-release-build-verify' |
Ray Milkey | d9f7366 | 2017-11-06 10:29:51 -0800 | [diff] [blame] | 733 | |
| 734 | - project: |
| 735 | name: onos-maven-verify |
| 736 | project-name: onos-maven-verify |
| 737 | project: onos |
| 738 | |
Ray Milkey | 43a340c | 2018-02-20 13:49:00 -0800 | [diff] [blame] | 739 | build-timeout: '30' |
Ray Milkey | d9f7366 | 2017-11-06 10:29:51 -0800 | [diff] [blame] | 740 | build-node: 'ubuntu16.04-basebuild-8c-15g' |
| 741 | |
| 742 | stream: |
Ray Milkey | e8f39e0 | 2018-04-16 13:34:34 -0700 | [diff] [blame] | 743 | - 'onos-1.12' |
| 744 | - 'onos-1.13' |
Ray Milkey | d9f7366 | 2017-11-06 10:29:51 -0800 | [diff] [blame] | 745 | |
| 746 | jobs: |
| 747 | - 'onos-{stream}-maven-verify' |
Ray Milkey | 20d2252 | 2017-11-08 10:55:52 -0800 | [diff] [blame] | 748 | |
| 749 | - project: |
| 750 | name: onos-sonar |
| 751 | project-name: onos-sonar |
| 752 | project: onos |
| 753 | |
Ray Milkey | 43a340c | 2018-02-20 13:49:00 -0800 | [diff] [blame] | 754 | build-timeout: '90' |
Ray Milkey | 20d2252 | 2017-11-08 10:55:52 -0800 | [diff] [blame] | 755 | build-node: 'ubuntu16.04-basebuild-8c-15g' |
| 756 | |
| 757 | stream: |
| 758 | - 'master' |
| 759 | |
| 760 | jobs: |
| 761 | - 'onos-{stream}-sonar' |
| 762 | |
Ray Milkey | 2afc4a5 | 2017-11-17 11:01:38 -0800 | [diff] [blame] | 763 | - project: |
| 764 | name: onos-release-build |
| 765 | project-name: onos-release-build |
| 766 | project: onos |
| 767 | |
Ray Milkey | 884a2b8 | 2018-05-22 08:29:45 -0700 | [diff] [blame] | 768 | build-timeout: '240' |
Ray Milkey | 2afc4a5 | 2017-11-17 11:01:38 -0800 | [diff] [blame] | 769 | build-node: 'ubuntu16.04-basebuild-8c-15g' |
| 770 | |
Ray Milkey | 4309d9b | 2017-11-17 13:41:46 -0800 | [diff] [blame] | 771 | stream: 'master' |
Ray Milkey | 2afc4a5 | 2017-11-17 11:01:38 -0800 | [diff] [blame] | 772 | |
| 773 | jobs: |
| 774 | - 'onos-release-build' |
Ray Milkey | 0caba7f | 2018-01-08 12:56:18 -0800 | [diff] [blame] | 775 | |
| 776 | - project: |
Ray Milkey | 7c8b3f2 | 2018-08-13 15:01:12 -0700 | [diff] [blame] | 777 | name: onos-bazel-release-build |
| 778 | project-name: onos-bazel-release-build |
| 779 | project: onos |
| 780 | |
| 781 | build-timeout: '240' |
| 782 | build-node: 'ubuntu16.04-basebuild-8c-15g' |
| 783 | |
| 784 | stream: 'master' |
| 785 | |
| 786 | jobs: |
| 787 | - 'onos-bazel-release-build' |
| 788 | |
| 789 | - project: |
Ray Milkey | 0caba7f | 2018-01-08 12:56:18 -0800 | [diff] [blame] | 790 | name: onos-docker-build |
| 791 | project-name: onos-docker-build |
| 792 | project: onos |
| 793 | |
Ray Milkey | 43a340c | 2018-02-20 13:49:00 -0800 | [diff] [blame] | 794 | build-timeout: '90' |
Ray Milkey | 0caba7f | 2018-01-08 12:56:18 -0800 | [diff] [blame] | 795 | build-node: 'ubuntu16.04-basebuild-8c-15g' |
| 796 | |
| 797 | stream: 'master' |
| 798 | |
| 799 | jobs: |
| 800 | - 'onos-docker-build' |
Ray Milkey | 3aa8af5 | 2018-03-09 09:10:08 -0800 | [diff] [blame] | 801 | |
| 802 | - project: |
| 803 | name: onos-stc-verify |
Ray Milkey | d6580d8 | 2018-04-16 08:56:07 -0700 | [diff] [blame] | 804 | project-name: onos-stc-verify |
Ray Milkey | 3aa8af5 | 2018-03-09 09:10:08 -0800 | [diff] [blame] | 805 | project: onos |
| 806 | |
| 807 | build-timeout: '30' |
| 808 | build-node: 'ubuntu16.04-basebuild-8c-15g' |
| 809 | |
| 810 | stream: |
| 811 | - 'master' |
Ray Milkey | d6580d8 | 2018-04-16 08:56:07 -0700 | [diff] [blame] | 812 | - 'onos-1.13' |
| 813 | - 'onos-1.12' |
Ray Milkey | 3aa8af5 | 2018-03-09 09:10:08 -0800 | [diff] [blame] | 814 | |
| 815 | jobs: |
| 816 | - 'onos-{stream}-stc-verify' |
Ray Milkey | cfbc5be | 2018-05-08 09:13:13 -0700 | [diff] [blame] | 817 | |
| 818 | - project: |
| 819 | name: onos-stc-hag-verify |
| 820 | project-name: onos-stc-hag-verify |
| 821 | project: onos |
| 822 | |
| 823 | build-timeout: '30' |
| 824 | build-node: 'ubuntu16.04-basebuild-8c-15g' |
| 825 | |
| 826 | stream: |
| 827 | - 'master' |
| 828 | - 'onos-1.13' |
| 829 | - 'onos-1.12' |
| 830 | |
| 831 | jobs: |
| 832 | - 'onos-{stream}-stc-hag-verify' |