Last active
August 29, 2015 14:22
-
-
Save electrofelix/ab7a1da9168eebdadf28 to your computer and use it in GitHub Desktop.
variable number of builders in JJB
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- job-template: | |
name: '{name}-spec' | |
project-type: freestyle | |
disabled: false | |
description: variable number of builders example | |
builders: | |
- shell: !include-raw-escape scripts/setup.bash | |
- '{custom-builders}' | |
- builder: | |
name: builders-empty-list | |
builders: '' | |
- builder: | |
name: builder-bundler-1.5.2 | |
builders: | |
- shell: "gem uninstall bundler" | |
- shell: "gem install --version '~> 1.5.2' bundler" | |
- shell: "echo 'a third step'" | |
- project: | |
name: myproject-generic | |
jobs: | |
- '{name}-spec': | |
custom-builders: builders-empty-list | |
- project: | |
name: myproject-bundler-1.5.2 | |
custom-builders: builder-bundler-1.5.2 | |
jobs: | |
- '{name}-spec' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment