Last active
October 5, 2016 21:01
-
-
Save thomastaylor312/0e0825ca7f1c79fe068d659b22d8dad4 to your computer and use it in GitHub Desktop.
An example of a project with job parameters
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
- project: | |
name: cassandra | |
parameters: | |
- foo | |
jobs: | |
- "deployment-tests-{name}" | |
- job-template: | |
name: "deployment-tests-{name}" | |
description: "Tests the deployment of {name}" | |
concurrent: true | |
node: "main" | |
parameters: | |
- cleanup | |
properties: | |
- github: | |
url: "https://github.com/foo/bar" | |
scm: | |
- single-git-repo: | |
organization: "foo" | |
repo_name: "bar" | |
triggers: | |
- pull-request-builder: | |
trigger_phrase: "please test" | |
only_trigger_phrase: "true" | |
status_context: "deployment-tests-{name}" | |
builders: | |
- deployment-test | |
publishers: | |
- slack-default | |
- parameter: | |
name: cleanup | |
parameters: | |
- bool: | |
name: CLEAN_UP | |
default: true | |
description: "If true things will be cleaned up" | |
- parameter: | |
name: foo | |
parameters: | |
- bool: | |
name: FOO_BAR | |
default: true | |
description: "My cool var" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment