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 | |
| 262 | # workaround for lack of parameter expansion support in shell: (see above) |
| 263 | - job-template: |
| 264 | #default name is global |
| 265 | name: 'onos-yang-tools-{stream}-verify' |
| 266 | |
| 267 | # Job template for Java verify jobs |
| 268 | # |
| 269 | # The purpose of this job templte is to run "maven clean install" for |
| 270 | # projects using this template. |
| 271 | # |
| 272 | # Required Variables: |
| 273 | # branch: git branch (eg. master) |
| 274 | |
| 275 | <<: *job_boiler_plate |
| 276 | # yamllint disable-line rule:key-duplicates |
| 277 | <<: *verify_boiler_plate |
| 278 | |
| 279 | builders: |
| 280 | #put shell scripts in file then make sure shell check is installed on verify vms |
| 281 | - shell: !include-raw-escape: onos-yang-tools-verify.sh |
| 282 | |
Yuta HIGUCHI | 1894804 | 2018-05-08 14:07:51 -0700 | [diff] [blame] | 283 | - job-template: |
| 284 | #default name is global |
| 285 | name: 'onos-yang-tools-release-build' |
| 286 | |
| 287 | # Job template for ONOS Yang tools release jobs |
| 288 | # |
| 289 | |
| 290 | <<: *job_boiler_plate |
| 291 | # yamllint disable-line rule:key-duplicates |
| 292 | parameters: |
| 293 | - lf-infra-parameters: |
| 294 | project: '{project}' |
| 295 | branch: '{stream}' |
| 296 | stream: '{stream}' |
| 297 | lftools-version: '{lftools-version}' |
| 298 | |
| 299 | - string: |
| 300 | name: YANGTOOLS_VERSION |
Yuta HIGUCHI | a36c067 | 2018-05-11 09:45:47 -0700 | [diff] [blame] | 301 | default: '2.4.4' |
| 302 | description: 'Version tag of ONOS Yang tools to build and release' |
Yuta HIGUCHI | 1894804 | 2018-05-08 14:07:51 -0700 | [diff] [blame] | 303 | |
| 304 | - string: |
| 305 | name: YANGTOOLS_NEXT_VERSION |
| 306 | default: '2.5-SNAPSHOT' |
| 307 | description: 'Version of ONOS Yang tools to reset tree to afterwards' |
| 308 | |
| 309 | scm: |
| 310 | - lf-infra-gerrit-scm: |
| 311 | git-url: '{git-url}' |
| 312 | refspec: '$GERRIT_REFSPEC' |
| 313 | branch: '$GERRIT_BRANCH' |
| 314 | submodule-recursive: '{submodule-recursive}' |
| 315 | choosing-strategy: gerrit |
| 316 | jenkins-ssh-credential: '{jenkins-ssh-credential}' |
Yuta HIGUCHI | 7e98214 | 2018-05-08 15:02:05 -0700 | [diff] [blame] | 317 | |
Yuta HIGUCHI | 1894804 | 2018-05-08 14:07:51 -0700 | [diff] [blame] | 318 | builders: |
| 319 | - lf-provide-maven-settings: |
| 320 | settings-file: 'release-build-maven-settings' |
| 321 | global-settings-file: 'release-build-maven-settings' |
| 322 | - config-file-provider: |
| 323 | files: |
| 324 | - file-id: 'onos-build-credentials' |
| 325 | target: 'onos-build-credentials' |
| 326 | variable: 'CREDENTIALS_FILE' |
| 327 | - file-id: 'buck-config-local' |
| 328 | target: '.buckconfig.local' |
| 329 | variable: 'BUCK_CONFIG_FILE' |
| 330 | - file-id: 'gpg-key' |
| 331 | target: 'jenkins.key' |
| 332 | variable: 'GPG_KEY_FILE' |
| 333 | - file-id: 'release-build-maven-settings' |
| 334 | target: 'settings.xml' |
| 335 | variable: 'MAVEN_SETTINGS' |
| 336 | - file-id: 'api-onosproject-ssh-key' |
| 337 | target: 'id_rsa.pub' |
| 338 | variable: 'API_ONOSPROJECT_SSH_KEY' |
| 339 | |
| 340 | #put shell scripts in file then make sure shell check is installed on verify vms |
| 341 | - shell: !include-raw-escape: onos-yang-tools-release-build.sh |
| 342 | # JJB 1.6.2 does not support parameter expansion on filename? |
| 343 | #- shell: !include-raw-escape: {project-name}-verify.sh |
| 344 | |
| 345 | |
Ray Milkey | 83d912a | 2017-11-01 13:49:31 -0700 | [diff] [blame] | 346 | # workaround for lack of parameter expansion support in shell: (see above) |
| 347 | - job-template: |
| 348 | #default name is global |
Yuta HIGUCHI | 28821fd | 2017-11-17 16:11:19 -0800 | [diff] [blame] | 349 | name: 'onos-app-samples-{stream}-verify' |
| 350 | |
| 351 | # Job template for Java verify jobs |
| 352 | # |
| 353 | # The purpose of this job templte is to run "maven clean install" for |
| 354 | # projects using this template. |
| 355 | # |
| 356 | # Required Variables: |
| 357 | # branch: git branch (eg. master) |
| 358 | |
| 359 | <<: *job_boiler_plate |
| 360 | # yamllint disable-line rule:key-duplicates |
| 361 | <<: *verify_boiler_plate |
| 362 | |
| 363 | builders: |
| 364 | #put shell scripts in file then make sure shell check is installed on verify vms |
| 365 | - shell: !include-raw-escape: onos-app-samples-verify.sh |
| 366 | |
Yuta HIGUCHI | 1ac8323 | 2017-11-17 16:37:57 -0800 | [diff] [blame] | 367 | # workaround for lack of parameter expansion support in shell: (see above) |
| 368 | - job-template: |
| 369 | #default name is global |
| 370 | name: 'onos-loxi-{stream}-verify' |
| 371 | |
| 372 | # Job template for Java verify jobs |
| 373 | # |
| 374 | # The purpose of this job templte is to run "maven clean install" for |
| 375 | # projects using this template. |
| 376 | # |
| 377 | # Required Variables: |
| 378 | # branch: git branch (eg. master) |
| 379 | |
| 380 | <<: *job_boiler_plate |
| 381 | # yamllint disable-line rule:key-duplicates |
| 382 | <<: *verify_boiler_plate |
| 383 | |
| 384 | builders: |
| 385 | #put shell scripts in file then make sure shell check is installed on verify vms |
| 386 | - shell: !include-raw-escape: onos-loxi-verify.sh |
Yuta HIGUCHI | 28821fd | 2017-11-17 16:11:19 -0800 | [diff] [blame] | 387 | |
| 388 | # workaround for lack of parameter expansion support in shell: (see above) |
| 389 | - job-template: |
| 390 | #default name is global |
Ray Milkey | 83d912a | 2017-11-01 13:49:31 -0700 | [diff] [blame] | 391 | name: 'onos-gui-{stream}-verify' |
| 392 | |
| 393 | # Job template for Java verify jobs |
| 394 | # |
| 395 | # The purpose of this job templte is to run "maven clean install" for |
| 396 | # projects using this template. |
| 397 | # |
| 398 | # Required Variables: |
| 399 | # branch: git branch (eg. master) |
| 400 | |
| 401 | <<: *job_boiler_plate |
| 402 | # yamllint disable-line rule:key-duplicates |
| 403 | <<: *verify_boiler_plate |
| 404 | |
| 405 | builders: |
| 406 | #put shell scripts in file then make sure shell check is installed on verify vms |
| 407 | - shell: !include-raw-escape: onos-gui-verify.sh |
| 408 | |
Ray Milkey | 8e46220 | 2017-11-02 10:18:37 -0700 | [diff] [blame] | 409 | - job-template: |
| 410 | #default name is global |
| 411 | name: 'onos-{stream}-release-build-verify' |
| 412 | |
| 413 | # Job template for Java release check jobs |
| 414 | # |
| 415 | |
| 416 | <<: *job_boiler_plate |
| 417 | # yamllint disable-line rule:key-duplicates |
Ray Milkey | 29c5434 | 2017-11-06 16:43:01 -0800 | [diff] [blame] | 418 | <<: *daily_boiler_plate |
Ray Milkey | 8e46220 | 2017-11-02 10:18:37 -0700 | [diff] [blame] | 419 | |
| 420 | builders: |
Ray Milkey | 8fae9a7 | 2017-11-17 10:03:54 -0800 | [diff] [blame] | 421 | |
Ray Milkey | 8e46220 | 2017-11-02 10:18:37 -0700 | [diff] [blame] | 422 | #put shell scripts in file then make sure shell check is installed on verify vms |
| 423 | - shell: !include-raw-escape: onos-release-build-verify.sh |
| 424 | # JJB 1.6.2 does not support parameter expansion on filename? |
| 425 | #- shell: !include-raw-escape: {project-name}-verify.sh |
| 426 | |
Ray Milkey | d9f7366 | 2017-11-06 10:29:51 -0800 | [diff] [blame] | 427 | - job-template: |
| 428 | #default name is global |
Ray Milkey | 2afc4a5 | 2017-11-17 11:01:38 -0800 | [diff] [blame] | 429 | name: 'onos-release-build' |
| 430 | |
| 431 | # Job template for Java release jobs |
| 432 | # |
| 433 | |
| 434 | <<: *job_boiler_plate |
| 435 | # yamllint disable-line rule:key-duplicates |
Ray Milkey | 4309d9b | 2017-11-17 13:41:46 -0800 | [diff] [blame] | 436 | <<: *release_build_boiler_plate |
Ray Milkey | 2afc4a5 | 2017-11-17 11:01:38 -0800 | [diff] [blame] | 437 | |
| 438 | builders: |
Ray Milkey | 094fd00 | 2017-11-22 10:21:59 -0800 | [diff] [blame] | 439 | - lf-provide-maven-settings: |
| 440 | settings-file: 'release-build-maven-settings' |
| 441 | global-settings-file: 'release-build-maven-settings' |
Ray Milkey | 2afc4a5 | 2017-11-17 11:01:38 -0800 | [diff] [blame] | 442 | - config-file-provider: |
| 443 | files: |
| 444 | - file-id: 'onos-build-credentials' |
| 445 | target: 'onos-build-credentials' |
| 446 | variable: 'CREDENTIALS_FILE' |
Ray Milkey | e8fd4f0 | 2017-11-17 14:54:18 -0800 | [diff] [blame] | 447 | - file-id: 'buck-config-local' |
| 448 | target: '.buckconfig.local' |
| 449 | variable: 'BUCK_CONFIG_FILE' |
Ray Milkey | b867be8 | 2017-11-27 13:29:19 -0800 | [diff] [blame] | 450 | - file-id: 'gpg-key' |
| 451 | target: 'jenkins.key' |
| 452 | variable: 'GPG_KEY_FILE' |
Ray Milkey | 43e7f93 | 2017-11-27 08:48:42 -0800 | [diff] [blame] | 453 | - file-id: 'release-build-maven-settings' |
| 454 | target: 'settings.xml' |
| 455 | variable: 'MAVEN_SETTINGS' |
Ray Milkey | 7d774fb | 2017-12-05 14:57:30 -0800 | [diff] [blame] | 456 | - file-id: 'api-onosproject-ssh-key' |
| 457 | target: 'id_rsa.pub' |
| 458 | variable: 'API_ONOSPROJECT_SSH_KEY' |
Ray Milkey | 2afc4a5 | 2017-11-17 11:01:38 -0800 | [diff] [blame] | 459 | |
| 460 | #put shell scripts in file then make sure shell check is installed on verify vms |
| 461 | - shell: !include-raw-escape: onos-release-build.sh |
| 462 | # JJB 1.6.2 does not support parameter expansion on filename? |
| 463 | #- shell: !include-raw-escape: {project-name}-verify.sh |
| 464 | |
| 465 | - job-template: |
| 466 | #default name is global |
Ray Milkey | 0caba7f | 2018-01-08 12:56:18 -0800 | [diff] [blame] | 467 | name: 'onos-docker-build' |
| 468 | |
| 469 | # Job template for Docker jobs |
| 470 | # |
| 471 | |
| 472 | <<: *job_boiler_plate |
| 473 | # yamllint disable-line rule:key-duplicates |
Ray Milkey | b40e567 | 2018-01-26 10:10:45 -0800 | [diff] [blame] | 474 | <<: *docker_build_boiler_plate |
Ray Milkey | 0caba7f | 2018-01-08 12:56:18 -0800 | [diff] [blame] | 475 | |
| 476 | builders: |
| 477 | - lf-provide-maven-settings: |
| 478 | settings-file: 'release-build-maven-settings' |
| 479 | global-settings-file: 'release-build-maven-settings' |
| 480 | - config-file-provider: |
| 481 | files: |
| 482 | - file-id: 'onos-build-credentials' |
| 483 | target: 'onos-build-credentials' |
| 484 | variable: 'CREDENTIALS_FILE' |
| 485 | - file-id: 'buck-config-local' |
| 486 | target: '.buckconfig.local' |
| 487 | variable: 'BUCK_CONFIG_FILE' |
| 488 | - file-id: 'gpg-key' |
| 489 | target: 'jenkins.key' |
| 490 | variable: 'GPG_KEY_FILE' |
| 491 | - file-id: 'release-build-maven-settings' |
| 492 | target: 'settings.xml' |
| 493 | variable: 'MAVEN_SETTINGS' |
| 494 | - file-id: 'api-onosproject-ssh-key' |
| 495 | target: 'id_rsa.pub' |
| 496 | variable: 'API_ONOSPROJECT_SSH_KEY' |
| 497 | |
| 498 | #put shell scripts in file then make sure shell check is installed on verify vms |
| 499 | - shell: !include-raw-escape: onos-docker-build.sh |
| 500 | # JJB 1.6.2 does not support parameter expansion on filename? |
| 501 | #- shell: !include-raw-escape: {project-name}-verify.sh |
| 502 | |
| 503 | - job-template: |
| 504 | #default name is global |
Ray Milkey | d9f7366 | 2017-11-06 10:29:51 -0800 | [diff] [blame] | 505 | name: 'onos-{stream}-maven-verify' |
| 506 | |
| 507 | <<: *job_boiler_plate |
| 508 | # yamllint disable-line rule:key-duplicates |
Ray Milkey | f2aa935 | 2018-06-06 14:35:35 -0700 | [diff] [blame^] | 509 | <<: *hourly_boiler_plate_with_slack |
Ray Milkey | d9f7366 | 2017-11-06 10:29:51 -0800 | [diff] [blame] | 510 | |
| 511 | builders: |
| 512 | #put shell scripts in file then make sure shell check is installed on verify vms |
| 513 | - shell: !include-raw-escape: onos-maven-verify.sh |
| 514 | # JJB 1.6.2 does not support parameter expansion on filename? |
| 515 | #- shell: !include-raw-escape: {project-name}-verify.sh |
Brian O'Connor | 9fbe772 | 2017-10-27 12:44:04 -0700 | [diff] [blame] | 516 | |
Ray Milkey | 20d2252 | 2017-11-08 10:55:52 -0800 | [diff] [blame] | 517 | - job-template: |
| 518 | #default name is global |
| 519 | name: 'onos-{stream}-sonar' |
| 520 | |
| 521 | <<: *job_boiler_plate |
| 522 | # yamllint disable-line rule:key-duplicates |
| 523 | <<: *daily_boiler_plate |
| 524 | |
| 525 | builders: |
| 526 | #put shell scripts in file then make sure shell check is installed on verify vms |
| 527 | - shell: !include-raw-escape: onos-sonar.sh |
| 528 | # JJB 1.6.2 does not support parameter expansion on filename? |
| 529 | #- shell: !include-raw-escape: {project-name}-verify.sh |
| 530 | |
Ray Milkey | 3aa8af5 | 2018-03-09 09:10:08 -0800 | [diff] [blame] | 531 | - job-template: |
| 532 | name: 'onos-{stream}-stc-verify' |
| 533 | |
| 534 | <<: *job_boiler_plate |
| 535 | # yamllint disable-line rule:key-duplicates |
| 536 | <<: *hourly_boiler_plate |
| 537 | |
| 538 | builders: |
| 539 | #put shell scripts in file then make sure shell check is installed on verify vms |
| 540 | - shell: !include-raw-escape: onos-run-stc.sh |
| 541 | |
| 542 | |
Ray Milkey | cfbc5be | 2018-05-08 09:13:13 -0700 | [diff] [blame] | 543 | - job-template: |
| 544 | name: 'onos-{stream}-stc-hag-verify' |
| 545 | |
| 546 | <<: *job_boiler_plate |
| 547 | # yamllint disable-line rule:key-duplicates |
| 548 | <<: *hourly_boiler_plate |
| 549 | |
| 550 | builders: |
| 551 | #put shell scripts in file then make sure shell check is installed on verify vms |
| 552 | - shell: !include-raw-escape: onos-run-stc-hag.sh |
| 553 | |
| 554 | |
Brian O'Connor | 9fbe772 | 2017-10-27 12:44:04 -0700 | [diff] [blame] | 555 | - project: |
| 556 | name: onos |
| 557 | project-name: onos |
| 558 | project: onos |
| 559 | |
Ray Milkey | 43a340c | 2018-02-20 13:49:00 -0800 | [diff] [blame] | 560 | build-timeout: '30' |
Brian O'Connor | 9fbe772 | 2017-10-27 12:44:04 -0700 | [diff] [blame] | 561 | build-node: 'ubuntu16.04-basebuild-8c-15g' |
| 562 | |
| 563 | stream: |
| 564 | - 'master' |
Ray Milkey | 1bc1377 | 2017-10-31 15:57:17 -0700 | [diff] [blame] | 565 | - 'onos-1.10' |
| 566 | - 'onos-1.11' |
Ray Milkey | 47d4f72 | 2017-11-21 09:36:37 -0800 | [diff] [blame] | 567 | - 'onos-1.12' |
Ray Milkey | fcb0db6 | 2018-04-13 16:47:46 -0700 | [diff] [blame] | 568 | - 'onos-1.13' |
Brian O'Connor | 9fbe772 | 2017-10-27 12:44:04 -0700 | [diff] [blame] | 569 | |
| 570 | jobs: |
| 571 | - '{project-name}-{stream}-verify' |
Yuta HIGUCHI | 02e46d3 | 2017-10-31 10:17:47 -0700 | [diff] [blame] | 572 | |
| 573 | - project: |
Ray Milkey | 83d912a | 2017-11-01 13:49:31 -0700 | [diff] [blame] | 574 | name: onos-gui |
| 575 | project-name: onos-gui |
Ray Milkey | 24fe1ee | 2017-11-01 13:59:07 -0700 | [diff] [blame] | 576 | project: onos |
Ray Milkey | 83d912a | 2017-11-01 13:49:31 -0700 | [diff] [blame] | 577 | |
Ray Milkey | 43a340c | 2018-02-20 13:49:00 -0800 | [diff] [blame] | 578 | build-timeout: '30' |
Ray Milkey | 83d912a | 2017-11-01 13:49:31 -0700 | [diff] [blame] | 579 | build-node: 'ubuntu16.04-basebuild-8c-15g' |
| 580 | |
| 581 | stream: |
| 582 | - 'master' |
| 583 | - 'onos-1.10' |
| 584 | - 'onos-1.11' |
Ray Milkey | 47d4f72 | 2017-11-21 09:36:37 -0800 | [diff] [blame] | 585 | - 'onos-1.12' |
Ray Milkey | fcb0db6 | 2018-04-13 16:47:46 -0700 | [diff] [blame] | 586 | - 'onos-1.13' |
Ray Milkey | 83d912a | 2017-11-01 13:49:31 -0700 | [diff] [blame] | 587 | |
| 588 | jobs: |
| 589 | - 'onos-gui-{stream}-verify' |
| 590 | |
| 591 | - project: |
Yuta HIGUCHI | 02e46d3 | 2017-10-31 10:17:47 -0700 | [diff] [blame] | 592 | name: onos-yang-tools |
| 593 | project-name: onos-yang-tools |
| 594 | project: onos-yang-tools |
| 595 | |
Ray Milkey | 43a340c | 2018-02-20 13:49:00 -0800 | [diff] [blame] | 596 | build-timeout: '30' |
Yuta HIGUCHI | 02e46d3 | 2017-10-31 10:17:47 -0700 | [diff] [blame] | 597 | build-node: 'ubuntu16.04-basebuild-8c-15g' |
| 598 | |
| 599 | stream: |
| 600 | - 'master' |
| 601 | |
| 602 | jobs: |
| 603 | - 'onos-yang-tools-{stream}-verify' |
Ray Milkey | 8e46220 | 2017-11-02 10:18:37 -0700 | [diff] [blame] | 604 | |
| 605 | - project: |
Yuta HIGUCHI | 7e98214 | 2018-05-08 15:02:05 -0700 | [diff] [blame] | 606 | name: onos-yang-tools-release-build |
| 607 | project-name: onos-yang-tools-release-build |
| 608 | project: onos-yang-tools |
| 609 | |
| 610 | build-timeout: '240' |
| 611 | build-node: 'ubuntu16.04-basebuild-8c-15g' |
| 612 | |
| 613 | stream: 'master' |
| 614 | |
| 615 | jobs: |
| 616 | - 'onos-yang-tools-release-build' |
| 617 | |
| 618 | |
| 619 | - project: |
Yuta HIGUCHI | 28821fd | 2017-11-17 16:11:19 -0800 | [diff] [blame] | 620 | name: onos-app-samples |
| 621 | project-name: onos-app-samples |
| 622 | project: onos-app-samples |
| 623 | |
Ray Milkey | 43a340c | 2018-02-20 13:49:00 -0800 | [diff] [blame] | 624 | build-timeout: '30' |
Yuta HIGUCHI | 28821fd | 2017-11-17 16:11:19 -0800 | [diff] [blame] | 625 | build-node: 'ubuntu16.04-basebuild-8c-15g' |
| 626 | |
| 627 | stream: |
| 628 | - 'master' |
| 629 | |
| 630 | jobs: |
| 631 | - 'onos-app-samples-{stream}-verify' |
| 632 | |
Yuta HIGUCHI | 1ac8323 | 2017-11-17 16:37:57 -0800 | [diff] [blame] | 633 | - project: |
| 634 | name: onos-loxi |
| 635 | project-name: onos-loxi |
| 636 | project: onos-loxi |
Yuta HIGUCHI | 28821fd | 2017-11-17 16:11:19 -0800 | [diff] [blame] | 637 | |
Ray Milkey | 43a340c | 2018-02-20 13:49:00 -0800 | [diff] [blame] | 638 | build-timeout: '30' |
Yuta HIGUCHI | 1ac8323 | 2017-11-17 16:37:57 -0800 | [diff] [blame] | 639 | build-node: 'ubuntu16.04-basebuild-8c-15g' |
| 640 | |
| 641 | stream: |
| 642 | - 'master' |
| 643 | |
| 644 | jobs: |
| 645 | - 'onos-loxi-{stream}-verify' |
Yuta HIGUCHI | 28821fd | 2017-11-17 16:11:19 -0800 | [diff] [blame] | 646 | |
| 647 | - project: |
Ray Milkey | 8e46220 | 2017-11-02 10:18:37 -0700 | [diff] [blame] | 648 | name: onos-release |
| 649 | project-name: onos-release |
| 650 | project: onos |
| 651 | |
Ray Milkey | 2d55e97 | 2018-05-04 13:01:36 -0700 | [diff] [blame] | 652 | build-timeout: '240' |
Ray Milkey | 8e46220 | 2017-11-02 10:18:37 -0700 | [diff] [blame] | 653 | build-node: 'ubuntu16.04-basebuild-8c-15g' |
| 654 | |
| 655 | stream: |
| 656 | - 'master' |
| 657 | |
| 658 | jobs: |
| 659 | - 'onos-{stream}-release-build-verify' |
Ray Milkey | d9f7366 | 2017-11-06 10:29:51 -0800 | [diff] [blame] | 660 | |
| 661 | - project: |
| 662 | name: onos-maven-verify |
| 663 | project-name: onos-maven-verify |
| 664 | project: onos |
| 665 | |
Ray Milkey | 43a340c | 2018-02-20 13:49:00 -0800 | [diff] [blame] | 666 | build-timeout: '30' |
Ray Milkey | d9f7366 | 2017-11-06 10:29:51 -0800 | [diff] [blame] | 667 | build-node: 'ubuntu16.04-basebuild-8c-15g' |
| 668 | |
| 669 | stream: |
| 670 | - 'master' |
Ray Milkey | e8f39e0 | 2018-04-16 13:34:34 -0700 | [diff] [blame] | 671 | - 'onos-1.12' |
| 672 | - 'onos-1.13' |
Ray Milkey | d9f7366 | 2017-11-06 10:29:51 -0800 | [diff] [blame] | 673 | |
| 674 | jobs: |
| 675 | - 'onos-{stream}-maven-verify' |
Ray Milkey | 20d2252 | 2017-11-08 10:55:52 -0800 | [diff] [blame] | 676 | |
| 677 | - project: |
| 678 | name: onos-sonar |
| 679 | project-name: onos-sonar |
| 680 | project: onos |
| 681 | |
Ray Milkey | 43a340c | 2018-02-20 13:49:00 -0800 | [diff] [blame] | 682 | build-timeout: '90' |
Ray Milkey | 20d2252 | 2017-11-08 10:55:52 -0800 | [diff] [blame] | 683 | build-node: 'ubuntu16.04-basebuild-8c-15g' |
| 684 | |
| 685 | stream: |
| 686 | - 'master' |
| 687 | |
| 688 | jobs: |
| 689 | - 'onos-{stream}-sonar' |
| 690 | |
Ray Milkey | 2afc4a5 | 2017-11-17 11:01:38 -0800 | [diff] [blame] | 691 | - project: |
| 692 | name: onos-release-build |
| 693 | project-name: onos-release-build |
| 694 | project: onos |
| 695 | |
Ray Milkey | 884a2b8 | 2018-05-22 08:29:45 -0700 | [diff] [blame] | 696 | build-timeout: '240' |
Ray Milkey | 2afc4a5 | 2017-11-17 11:01:38 -0800 | [diff] [blame] | 697 | build-node: 'ubuntu16.04-basebuild-8c-15g' |
| 698 | |
Ray Milkey | 4309d9b | 2017-11-17 13:41:46 -0800 | [diff] [blame] | 699 | stream: 'master' |
Ray Milkey | 2afc4a5 | 2017-11-17 11:01:38 -0800 | [diff] [blame] | 700 | |
| 701 | jobs: |
| 702 | - 'onos-release-build' |
Ray Milkey | 0caba7f | 2018-01-08 12:56:18 -0800 | [diff] [blame] | 703 | |
| 704 | - project: |
| 705 | name: onos-docker-build |
| 706 | project-name: onos-docker-build |
| 707 | project: onos |
| 708 | |
Ray Milkey | 43a340c | 2018-02-20 13:49:00 -0800 | [diff] [blame] | 709 | build-timeout: '90' |
Ray Milkey | 0caba7f | 2018-01-08 12:56:18 -0800 | [diff] [blame] | 710 | build-node: 'ubuntu16.04-basebuild-8c-15g' |
| 711 | |
| 712 | stream: 'master' |
| 713 | |
| 714 | jobs: |
| 715 | - 'onos-docker-build' |
Ray Milkey | 3aa8af5 | 2018-03-09 09:10:08 -0800 | [diff] [blame] | 716 | |
| 717 | - project: |
| 718 | name: onos-stc-verify |
Ray Milkey | d6580d8 | 2018-04-16 08:56:07 -0700 | [diff] [blame] | 719 | project-name: onos-stc-verify |
Ray Milkey | 3aa8af5 | 2018-03-09 09:10:08 -0800 | [diff] [blame] | 720 | project: onos |
| 721 | |
| 722 | build-timeout: '30' |
| 723 | build-node: 'ubuntu16.04-basebuild-8c-15g' |
| 724 | |
| 725 | stream: |
| 726 | - 'master' |
Ray Milkey | d6580d8 | 2018-04-16 08:56:07 -0700 | [diff] [blame] | 727 | - 'onos-1.13' |
| 728 | - 'onos-1.12' |
Ray Milkey | 3aa8af5 | 2018-03-09 09:10:08 -0800 | [diff] [blame] | 729 | |
| 730 | jobs: |
| 731 | - 'onos-{stream}-stc-verify' |
Ray Milkey | cfbc5be | 2018-05-08 09:13:13 -0700 | [diff] [blame] | 732 | |
| 733 | - project: |
| 734 | name: onos-stc-hag-verify |
| 735 | project-name: onos-stc-hag-verify |
| 736 | project: onos |
| 737 | |
| 738 | build-timeout: '30' |
| 739 | build-node: 'ubuntu16.04-basebuild-8c-15g' |
| 740 | |
| 741 | stream: |
| 742 | - 'master' |
| 743 | - 'onos-1.13' |
| 744 | - 'onos-1.12' |
| 745 | |
| 746 | jobs: |
| 747 | - 'onos-{stream}-stc-hag-verify' |