You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// Jenkinsfile
@Library(['terraform-pipeline']) _
Jenkinsfile.init(this, env)
TargetPlugin.init() // Optionally limit plan/apply to specific targets
def validate = new TerraformValidateStage()
def deployQA = new TerraformEnvironmentStage('qa')
def deployUat = new TerraformEnvironmentStage('uat')
def deployProd = new TerraformEnvironmentStage('prod')
// Pipeline can now be built with "Build with Parameters"
// New 'target' option in parameter list can limit plan/apply to specific targets
// By default, builds should skip the 'target' option, and build as-normal
validate.then(deployQa)
.then(deployUat)
.then(deployProd)
.build()
The text was updated successfully, but these errors were encountered: