Tools to make Jenkins jobs from templates
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
jenkins-job-builder/samples/release.yaml

28 lines
832 B

- 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"