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