Skip to content

Instantly share code, notes, and snippets.

@drewsonne
Created September 11, 2017 10:36
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 drewsonne/b48065af6f61c449d6a0eda9619ff472 to your computer and use it in GitHub Desktop.
Save drewsonne/b48065af6f61c449d6a0eda9619ff472 to your computer and use it in GitHub Desktop.
{
"pipeline": {
"group": "",
"_links": {
"self": {
"href": "http://127.0.0.1:8153/go/api/admin/pipelines/test-pipeline3"
},
"doc": {
"href": "https://api.gocd.org/#pipeline-config"
},
"find": {
"href": "http://127.0.0.1:8153/go/api/admin/pipelines/:pipeline_name"
}
},
"name": "test-pipeline3",
"label_template": "${COUNT}",
"parameters": [],
"environment_variables": [],
"materials": [
{
"type": "git",
"attributes": {
"url": "https://github.com/drewsonne/terraform-provider-gocd.git",
"invert_filter": false,
"auto_update": true,
"branch": "master",
"stage": ""
}
}
],
"stages": [
{
"name": "test",
"fetch_materials": false,
"clean_working_directory": false,
"never_cleanup_artifacts": false,
"approval": {
"type": ""
},
"jobs": [
{
"name": "test",
"tasks": [
{
"type": "exec",
"attributes": {
"run_if": [
"success"
],
"command": "echo",
"arguments": [
"test"
]
}
}
]
}
]
}
],
"version": "666d0bf360c3a8bbefda8578994959d2--gzip"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment