Skip to content

Instantly share code, notes, and snippets.

View chrisj-au's full-sized avatar

Christopher Johnston chrisj-au

View GitHub Profile
@chrisj-au
chrisj-au / Jenkinsfile
Last active December 23, 2020 06:28 — forked from gazoakley/Jenkinsfile
Jenkinsfile for running Terraform
pipeline {
agent any
parameters {
string(name: 'environment', defaultValue: 'default', description: 'Workspace/environment file to use for deployment')
string(name: 'version', defaultValue: '', description: 'Version variable to pass to Terraform')
booleanParam(name: 'autoApprove', defaultValue: false, description: 'Automatically run apply after generating plan?')
}
environment {