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: |
| 28 | - '9eade54b-3246-4b41-9a35-d8ba39a0285c' |
| 29 | |
Jonathan Hart | cb22233 | 2018-05-29 10:10:21 -0700 | [diff] [blame] | 30 | parameters: |
| 31 | - string: |
| 32 | name: app |
| 33 | default: '' |
| 34 | description: 'Name of the app repository on the OpenCORD Gerrit server.\n e.g. vtn' |
| 35 | |
| 36 | - string: |
| 37 | name: version |
| 38 | default: '' |
| 39 | description: 'Version to release.\n e.g. 1.0.0' |
| 40 | |
| 41 | - string: |
| 42 | name: nextVersion |
| 43 | default: '' |
| 44 | description: 'Snapshot version to move the code forward to.\n e.g. 1.1.0' |
| 45 | |
| 46 | - string: |
| 47 | name: branch |
| 48 | default: 'master' |
| 49 | description: 'Name of the branch to release on.' |
| 50 | |
| 51 | node: 'ubuntu16.04-basebuild-1c-2g' |
| 52 | project-type: pipeline |
| 53 | concurrent: true |
| 54 | |
| 55 | pipeline-scm: |
| 56 | script-path: 'Jenkinsfile.release' |
| 57 | scm: |
| 58 | - git: |
| 59 | url: '{gerrit-server-url}/cord-onos-publisher' |
| 60 | branches: |
| 61 | - 'master' |
| 62 | |