blob: 99c9a1de27d8704cedd4df48b0df496708b53449 [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'
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 Hartdec82cc2018-05-29 13:45:04 -070025 wrappers:
26 - ssh-agent-credentials:
27 users:
hwchiu14f97852019-10-08 10:51:11 -070028 - 'gerrit-jenkins-user'
Jonathan Harta5cca142018-05-30 10:26:24 -070029 - build-user-vars
Jonathan Hartdec82cc2018-05-29 13:45:04 -070030
Jonathan Hartcb222332018-05-29 10:10:21 -070031 parameters:
32 - string:
Andrea Campanellac6382292021-03-26 13:17:43 +010033 name: appRepo
hwchiu14f97852019-10-08 10:51:11 -070034 default: ''
Andrea Campanellab10b1362022-01-10 12:17:42 +010035 description: 'Name of the app repository on the OpenCORD Gerrit server.\n e.g. olt'
Jonathan Hartcb222332018-05-29 10:10:21 -070036
37 - string:
Andrea Campanellac6382292021-03-26 13:17:43 +010038 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: ''
Andrea Campanellab10b1362022-01-10 12:17:42 +010050 description: 'Snapshot version to move the code forward to.\n e.g. 1.1.0'
Andrea Campanellac6382292021-03-26 13:17:43 +010051
52 - string:
hwchiu14f97852019-10-08 10:51:11 -070053 name: version
54 default: ''
55 description: 'Version to release.\n e.g. 1.0.0'
Jonathan Hartcb222332018-05-29 10:10:21 -070056
57 - string:
hwchiu14f97852019-10-08 10:51:11 -070058 name: nextVersion
59 default: ''
60 description: 'Snapshot version to move the code forward to.\n e.g. 1.1.0'
Jonathan Hartcb222332018-05-29 10:10:21 -070061
62 - string:
hwchiu14f97852019-10-08 10:51:11 -070063 name: branch
64 default: 'master'
65 description: 'Name of the branch to release on.'
Jonathan Hartcb222332018-05-29 10:10:21 -070066
Zack Williams234dc922019-08-30 17:03:57 -070067 - string:
hwchiu14f97852019-10-08 10:51:11 -070068 name: jdkDistro
69 default: '{jdk-distribution}'
70 description: 'Distribution of the JDK to use with update-java-alternatives'
Zack Williams234dc922019-08-30 17:03:57 -070071
Hung-Wei Chiuf6cbde22021-04-22 22:15:23 -070072 node: 'ubuntu18.04-basebuild-1c-2g'
Jonathan Hartcb222332018-05-29 10:10:21 -070073 project-type: pipeline
74 concurrent: true
75
Carmelo Cascone9c00dce2019-12-05 18:33:04 -080076 dsl: !include-raw-escape: pipeline/onos-app-release.groovy
Jonathan Hartcb222332018-05-29 10:10:21 -070077