blob: 92cf4f1ec029eaa65d3fe53a1d4cdfcee379c318 [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: appRepo
default: ''
description: 'Name of the app repository on the OpenCORD Gerrit server.\n e.g. vtn'
- string:
name: appName
default: ''
description: 'Name of the app in pom.xml API definition. \n e.g. olt'
- string:
name: apiVersion
default: ''
description: 'Version to release.\n e.g. 1.0.0'
- string:
name: nextApiVersion
default: ''
description: 'Version to release.\n e.g. 1.0.0'
- 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
dsl: !include-raw-escape: pipeline/onos-app-release.groovy