test terraform

master
ermisw 2023-10-03 12:07:19 +02:00
parent ef7b7ebe4e
commit 710d0a6b09
1 changed files with 12 additions and 2 deletions

16
Jenkinsfile vendored
View File

@ -12,11 +12,21 @@ pipeline {
// }
// }
stage('TF Plan') {
steps {
container('terraform') {
sh 'terraform version'
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'
//}
}
}
// stage('Deploy Helm chart') {
// steps {