Jonathan Hart | cb22233 | 2018-05-29 10:10:21 -0700 | [diff] [blame] | 1 | --- |
| 2 | # onos-app-release |
| 3 | |
| 4 | - project: |
| 5 | name: onos-app-release |
| 6 | |
| 7 | project-name: '{name}' |
| 8 | |
| 9 | jobs: |
| 10 | - 'onos-app-release' |
| 11 | |
| 12 | |
| 13 | - job-template: |
| 14 | id: onos-app-release |
| 15 | name: 'onos-app-release' |
Matteo Scandolo | 714959f | 2022-06-29 09:53:30 -0700 | [diff] [blame] | 16 | sandbox: true |
Jonathan Hart | cb22233 | 2018-05-29 10:10:21 -0700 | [diff] [blame] | 17 | description: | |
| 18 | <!-- Managed by Jenkins Job Builder --> |
| 19 | Created by {id} job-template from ci-management/jjb/onos-app-release.yaml |
| 20 | |
| 21 | properties: |
| 22 | - cord-infra-properties: |
| 23 | build-days-to-keep: '{build-days-to-keep}' |
| 24 | artifact-num-to-keep: '{artifact-num-to-keep}' |
| 25 | |
Jonathan Hart | dec82cc | 2018-05-29 13:45:04 -0700 | [diff] [blame] | 26 | wrappers: |
| 27 | - ssh-agent-credentials: |
| 28 | users: |
hwchiu | 14f9785 | 2019-10-08 10:51:11 -0700 | [diff] [blame] | 29 | - 'gerrit-jenkins-user' |
Jonathan Hart | a5cca14 | 2018-05-30 10:26:24 -0700 | [diff] [blame] | 30 | - build-user-vars |
Jonathan Hart | dec82cc | 2018-05-29 13:45:04 -0700 | [diff] [blame] | 31 | |
Jonathan Hart | cb22233 | 2018-05-29 10:10:21 -0700 | [diff] [blame] | 32 | parameters: |
| 33 | - string: |
Andrea Campanella | c638229 | 2021-03-26 13:17:43 +0100 | [diff] [blame] | 34 | name: appRepo |
hwchiu | 14f9785 | 2019-10-08 10:51:11 -0700 | [diff] [blame] | 35 | default: '' |
Andrea Campanella | b10b136 | 2022-01-10 12:17:42 +0100 | [diff] [blame] | 36 | description: 'Name of the app repository on the OpenCORD Gerrit server.\n e.g. olt' |
Jonathan Hart | cb22233 | 2018-05-29 10:10:21 -0700 | [diff] [blame] | 37 | |
| 38 | - string: |
Andrea Campanella | c638229 | 2021-03-26 13:17:43 +0100 | [diff] [blame] | 39 | name: appName |
| 40 | default: '' |
| 41 | description: 'Name of the app in pom.xml API definition. \n e.g. olt' |
| 42 | |
| 43 | - string: |
| 44 | name: apiVersion |
| 45 | default: '' |
| 46 | description: 'Version to release.\n e.g. 1.0.0' |
| 47 | |
| 48 | - string: |
| 49 | name: nextApiVersion |
| 50 | default: '' |
Andrea Campanella | b10b136 | 2022-01-10 12:17:42 +0100 | [diff] [blame] | 51 | description: 'Snapshot version to move the code forward to.\n e.g. 1.1.0' |
Andrea Campanella | c638229 | 2021-03-26 13:17:43 +0100 | [diff] [blame] | 52 | |
| 53 | - string: |
hwchiu | 14f9785 | 2019-10-08 10:51:11 -0700 | [diff] [blame] | 54 | name: version |
| 55 | default: '' |
| 56 | description: 'Version to release.\n e.g. 1.0.0' |
Jonathan Hart | cb22233 | 2018-05-29 10:10:21 -0700 | [diff] [blame] | 57 | |
| 58 | - string: |
hwchiu | 14f9785 | 2019-10-08 10:51:11 -0700 | [diff] [blame] | 59 | name: nextVersion |
| 60 | default: '' |
| 61 | description: 'Snapshot version to move the code forward to.\n e.g. 1.1.0' |
Jonathan Hart | cb22233 | 2018-05-29 10:10:21 -0700 | [diff] [blame] | 62 | |
| 63 | - string: |
hwchiu | 14f9785 | 2019-10-08 10:51:11 -0700 | [diff] [blame] | 64 | name: branch |
| 65 | default: 'master' |
| 66 | description: 'Name of the branch to release on.' |
Jonathan Hart | cb22233 | 2018-05-29 10:10:21 -0700 | [diff] [blame] | 67 | |
Zack Williams | 234dc92 | 2019-08-30 17:03:57 -0700 | [diff] [blame] | 68 | - string: |
hwchiu | 14f9785 | 2019-10-08 10:51:11 -0700 | [diff] [blame] | 69 | name: jdkDistro |
| 70 | default: '{jdk-distribution}' |
| 71 | description: 'Distribution of the JDK to use with update-java-alternatives' |
Zack Williams | 234dc92 | 2019-08-30 17:03:57 -0700 | [diff] [blame] | 72 | |
Hung-Wei Chiu | f6cbde2 | 2021-04-22 22:15:23 -0700 | [diff] [blame] | 73 | node: 'ubuntu18.04-basebuild-1c-2g' |
Jonathan Hart | cb22233 | 2018-05-29 10:10:21 -0700 | [diff] [blame] | 74 | project-type: pipeline |
| 75 | concurrent: true |
| 76 | |
Carmelo Cascone | 9c00dce | 2019-12-05 18:33:04 -0800 | [diff] [blame] | 77 | dsl: !include-raw-escape: pipeline/onos-app-release.groovy |