blob: 0d780d81ea688ddb1066ca84939353fcba67c65d [file] [log] [blame]
---
# onos-app-release
- project:
name: onos-app-release
project-name: '{name}'
jobs:
- 'onos-app-release'
- job-template:
id: onos-app-release
name: 'onos-app-release'
description: |
<!-- Managed by Jenkins Job Builder -->
Created by {id} job-template from ci-management/jjb/onos-app-release.yaml
properties:
- cord-infra-properties:
build-days-to-keep: '{build-days-to-keep}'
artifact-num-to-keep: '{artifact-num-to-keep}'
wrappers:
- ssh-agent-credentials:
users:
- 'gerrit-jenkins-user'
- build-user-vars
parameters:
- string:
name: app
default: ''
description: 'Name of the app repository on the OpenCORD Gerrit server.\n e.g. vtn'
- string:
name: version
default: ''
description: 'Version to release.\n e.g. 1.0.0'
- string:
name: nextVersion
default: ''
description: 'Snapshot version to move the code forward to.\n e.g. 1.1.0'
- string:
name: branch
default: 'master'
description: 'Name of the branch to release on.'
- string:
name: jdkDistro
default: '{jdk-distribution}'
description: 'Distribution of the JDK to use with update-java-alternatives'
node: 'ubuntu16.04-basebuild-1c-2g'
project-type: pipeline
concurrent: true
pipeline-scm:
script-path: 'Jenkinsfile.release'
scm:
- git:
url: '{gerrit-server-url}/cord-onos-publisher'
branches:
- 'master'