Browse Source

Added Jenkinsfile

master
J_Hayward 4 months ago
parent
commit
d4edbf110f
1 changed files with 9 additions and 0 deletions
  1. 9
    0
      Jenkinsfile

+ 9
- 0
Jenkinsfile View File

@@ -25,5 +25,14 @@ terraform apply -auto-approve'''
}
}

stage('Destroy') {
steps {
sh '''export PATH=$PATH:/var/jenkins_home

terraform destroy -auto-approve
'''
}
}

}
}

Loading…
Cancel
Save