Created
September 11, 2017 10:36
-
-
Save drewsonne/b48065af6f61c449d6a0eda9619ff472 to your computer and use it in GitHub Desktop.
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
{ | |
"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