blob: f89ef38ffe22569bbd29a2891e0c00193a2bdebd [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:
28 - '9eade54b-3246-4b41-9a35-d8ba39a0285c'
Jonathan Hart15097d02018-05-29 15:46:33 -070029 - config-file-provider:
30 files:
31 - file-id: gerrit-host-key
32 target: '$HOME/.ssh/known_hosts'
Jonathan Hartdec82cc2018-05-29 13:45:04 -070033
Jonathan Hartcb222332018-05-29 10:10:21 -070034 parameters:
35 - string:
36 name: app
37 default: ''
38 description: 'Name of the app repository on the OpenCORD Gerrit server.\n e.g. vtn'
39
40 - string:
41 name: version
42 default: ''
43 description: 'Version to release.\n e.g. 1.0.0'
44
45 - string:
46 name: nextVersion
47 default: ''
48 description: 'Snapshot version to move the code forward to.\n e.g. 1.1.0'
49
50 - string:
51 name: branch
52 default: 'master'
53 description: 'Name of the branch to release on.'
54
55 node: 'ubuntu16.04-basebuild-1c-2g'
56 project-type: pipeline
57 concurrent: true
58
59 pipeline-scm:
60 script-path: 'Jenkinsfile.release'
61 scm:
62 - git:
63 url: '{gerrit-server-url}/cord-onos-publisher'
64 branches:
65 - 'master'
66