| --- |
| # 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' |
| sandbox: true |
| 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. olt' |
| |
| - 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: 'Snapshot version to move the code forward to.\n e.g. 1.1.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: 'ubuntu18.04-basebuild-1c-2g' |
| project-type: pipeline |
| concurrent: true |
| |
| dsl: !include-raw-escape: pipeline/onos-app-release.groovy |