Skip to content

Instantly share code, notes, and snippets.

@thomastaylor312
Last active October 5, 2016 21:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save thomastaylor312/0e0825ca7f1c79fe068d659b22d8dad4 to your computer and use it in GitHub Desktop.
Save thomastaylor312/0e0825ca7f1c79fe068d659b22d8dad4 to your computer and use it in GitHub Desktop.
An example of a project with job parameters
- 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