blob: b8d142fe4c15d3edb52ead639371eaf50cab8a98 [file] [log] [blame]
Jonathan Hartcb222332018-05-29 10:10:21 -07001---
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 Scandolo714959f2022-06-29 09:53:30 -070016 sandbox: true
Jonathan Hartcb222332018-05-29 10:10:21 -070017 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 Hartdec82cc2018-05-29 13:45:04 -070026 wrappers:
27 - ssh-agent-credentials:
28 users:
hwchiu14f97852019-10-08 10:51:11 -070029 - 'gerrit-jenkins-user'
Jonathan Harta5cca142018-05-30 10:26:24 -070030 - build-user-vars
Jonathan Hartdec82cc2018-05-29 13:45:04 -070031
Jonathan Hartcb222332018-05-29 10:10:21 -070032 parameters:
33 - string:
Andrea Campanellac6382292021-03-26 13:17:43 +010034 name: appRepo
hwchiu14f97852019-10-08 10:51:11 -070035 default: ''
Andrea Campanellab10b1362022-01-10 12:17:42 +010036 description: 'Name of the app repository on the OpenCORD Gerrit server.\n e.g. olt'
Jonathan Hartcb222332018-05-29 10:10:21 -070037
38 - string:
Andrea Campanellac6382292021-03-26 13:17:43 +010039 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 Campanellab10b1362022-01-10 12:17:42 +010051 description: 'Snapshot version to move the code forward to.\n e.g. 1.1.0'
Andrea Campanellac6382292021-03-26 13:17:43 +010052
53 - string:
hwchiu14f97852019-10-08 10:51:11 -070054 name: version
55 default: ''
56 description: 'Version to release.\n e.g. 1.0.0'
Jonathan Hartcb222332018-05-29 10:10:21 -070057
58 - string:
hwchiu14f97852019-10-08 10:51:11 -070059 name: nextVersion
60 default: ''
61 description: 'Snapshot version to move the code forward to.\n e.g. 1.1.0'
Jonathan Hartcb222332018-05-29 10:10:21 -070062
63 - string:
hwchiu14f97852019-10-08 10:51:11 -070064 name: branch
65 default: 'master'
66 description: 'Name of the branch to release on.'
Jonathan Hartcb222332018-05-29 10:10:21 -070067
Zack Williams234dc922019-08-30 17:03:57 -070068 - string:
hwchiu14f97852019-10-08 10:51:11 -070069 name: jdkDistro
70 default: '{jdk-distribution}'
71 description: 'Distribution of the JDK to use with update-java-alternatives'
Zack Williams234dc922019-08-30 17:03:57 -070072
Hung-Wei Chiuf6cbde22021-04-22 22:15:23 -070073 node: 'ubuntu18.04-basebuild-1c-2g'
Jonathan Hartcb222332018-05-29 10:10:21 -070074 project-type: pipeline
75 concurrent: true
76
Carmelo Cascone9c00dce2019-12-05 18:33:04 -080077 dsl: !include-raw-escape: pipeline/onos-app-release.groovy