jenkins-job-builder/samples/release.yaml
Manuel Desbonnet 9bb8d499b1 Add Release plugin
Add support for a 'release' wrapper section which enables the
Release Plugin
(https://wiki.jenkins-ci.org/display/JENKINS/Release+Plugin).

Change-Id: I48e9cdd3f32c4f7e3da843b6adb58767b357b2e7
Reviewed-on: https://review.openstack.org/31650
Reviewed-by: Clark Boylan <clark.boylan@gmail.com>
Approved: James E. Blair <corvus@inaugust.com>
Reviewed-by: James E. Blair <corvus@inaugust.com>
Tested-by: Jenkins
2013-06-11 23:15:55 +00:00

29 lines
832 B
YAML

- job:
name: 'test-release'
wrappers:
- release:
keep-forever: false
override-build-parameters: true
version-template: '${RELEASE_VERSION}'
parameters:
- string:
name: RELEASE_BRANCH
default: ''
description: 'The release branch to build'
pre-build:
- shell: |
#!/bin/bash
echo "echo pre-build builder"
post-build:
- shell: |
#!/bin/bash
echo "echo post-build builder"
post-success:
- shell: |
#!/bin/bash
echo "echo post-success builder"
post-fail:
- shell: |
#!/bin/bash
echo "echo post-fail builder"