| --- |
| # Release artifcats using different means |
| |
| - job-template: |
| id: artifact-release |
| name: 'artifact-release_{project}' |
| description: | |
| <!-- Managed by Jenkins Job Builder --> |
| Created by {id} job-template from ci-management/jjb/artifact-release.yaml |
| |
| properties: |
| - onf-infra-properties: |
| build-days-to-keep: '{build-days-to-keep}' |
| artifact-num-to-keep: '{artifact-num-to-keep}' |
| |
| wrappers: |
| - lf-infra-wrappers: |
| build-timeout: '{build-timeout}' |
| jenkins-ssh-credential: '{jenkins-ssh-credential}' |
| |
| parameters: |
| - string: |
| name: buildNode |
| default: '{build-node}' |
| description: 'Name of the Jenkins build executor to run the job on' |
| |
| - string: |
| name: project |
| default: '' |
| description: 'Name of the repository on the ONOS Gerrit server.\n e.g. trellis-control' |
| |
| - 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: egrepExclude |
| default: '' |
| description: 'Exclude pattern for egrep (e.g. Makefile.vars,VERSION).' |
| |
| |
| project-type: pipeline |
| concurrent: true |
| |
| dsl: !include-raw-escape: ../pipeline/artifact-release.groovy |
| |