blob: cf349278fc6731e135544f849b2670fa8c8f2283 [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:
hwchiu14f97852019-10-08 10:51:11 -070033 name: app
34 default: ''
35 description: 'Name of the app repository on the OpenCORD Gerrit server.\n e.g. vtn'
Jonathan Hartcb222332018-05-29 10:10:21 -070036
37 - string:
hwchiu14f97852019-10-08 10:51:11 -070038 name: version
39 default: ''
40 description: 'Version to release.\n e.g. 1.0.0'
Jonathan Hartcb222332018-05-29 10:10:21 -070041
42 - string:
hwchiu14f97852019-10-08 10:51:11 -070043 name: nextVersion
44 default: ''
45 description: 'Snapshot version to move the code forward to.\n e.g. 1.1.0'
Jonathan Hartcb222332018-05-29 10:10:21 -070046
47 - string:
hwchiu14f97852019-10-08 10:51:11 -070048 name: branch
49 default: 'master'
50 description: 'Name of the branch to release on.'
Jonathan Hartcb222332018-05-29 10:10:21 -070051
Zack Williams234dc922019-08-30 17:03:57 -070052 - string:
hwchiu14f97852019-10-08 10:51:11 -070053 name: jdkDistro
54 default: '{jdk-distribution}'
55 description: 'Distribution of the JDK to use with update-java-alternatives'
Zack Williams234dc922019-08-30 17:03:57 -070056
Jonathan Hartcb222332018-05-29 10:10:21 -070057 node: 'ubuntu16.04-basebuild-1c-2g'
58 project-type: pipeline
59 concurrent: true
60
61 pipeline-scm:
62 script-path: 'Jenkinsfile.release'
63 scm:
64 - git:
65 url: '{gerrit-server-url}/cord-onos-publisher'
66 branches:
67 - 'master'
68