Created
December 21, 2018 17:34
-
-
Save ethanfrogers/5123a5336f7e6ae4fd5fcda76536199b to your computer and use it in GitHub Desktop.
pipeline.json
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
{ | |
"keepWaitingPipelines": false, | |
"limitConcurrent": true, | |
"stages": [ | |
{ | |
"action": "plan", | |
"artifacts": [ | |
{ | |
"reference": "{your-github-repo}", | |
"type": "git/repo" | |
} | |
], | |
"dir": "/", | |
"name": "Plan Terraform", | |
"refId": "1", | |
"requisiteStageRefIds": [], | |
"type": "terraform" | |
}, | |
{ | |
"failPipeline": true, | |
"instructions": "Check out the logs <a target=\"_blank\" href=\"{your-gate-url}/proxies/terraform/api/v1/job/${#stage('Plan Terraform')['context']['status']['id']}/logs\">here</a>", | |
"judgmentInputs": [], | |
"name": "Manual Judgment", | |
"notifications": [], | |
"refId": "2", | |
"requisiteStageRefIds": [ | |
"1" | |
], | |
"type": "manualJudgment" | |
}, | |
{ | |
"action": "apply", | |
"artifacts": [ | |
{ | |
"reference": "{your-github-repo}", | |
"type": "git/repo" | |
} | |
], | |
"comments": "Apply logs <a target=\"_blank\" href=\"{your-gate-url}/proxies/terraform/api/v1/job/${#stage('Apply Terraform')['context']['status']['id']}/logs\">here</a>", | |
"completeOtherBranchesThenFail": false, | |
"continuePipeline": false, | |
"dir": "/", | |
"failPipeline": true, | |
"name": "Apply Terraform", | |
"refId": "3", | |
"requisiteStageRefIds": [ | |
"2" | |
], | |
"type": "terraform" | |
} | |
], | |
"triggers": [] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment