test terraform

master
ermisw 2023-10-03 12:27:14 +02:00
parent 710d0a6b09
commit e63ab799f9
1 changed files with 11 additions and 11 deletions

24
Jenkinsfile vendored
View File

@ -12,20 +12,20 @@ pipeline {
// }
// }
stage('TF Plan') {
agent {
docker {
image 'hashicorp/terraform:latest'
// Run the container on the node specified at the
// top-level of the Pipeline, in the same workspace,
// rather than on a new node entirely:
args '--entrypoint="" -u root -v /opt/jenkins/.aws:/root/.aws'
// agent {
// docker {
// image 'hashicorp/terraform:latest'
// // Run the container on the node specified at the
// // top-level of the Pipeline, in the same workspace,
// // rather than on a new node entirely:
// args '--entrypoint="" -u root -v /opt/jenkins/.aws:/root/.aws'
}
}
steps {
//container('terraform') {
sh 'terraform version'
// }
// }
steps {
container('terraform') {
sh 'terraform version'
}
}
}
// stage('Deploy Helm chart') {