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