test terraform
parent
710d0a6b09
commit
e63ab799f9
|
|
@ -12,20 +12,20 @@ pipeline {
|
||||||
// }
|
// }
|
||||||
// }
|
// }
|
||||||
stage('TF Plan') {
|
stage('TF Plan') {
|
||||||
agent {
|
// agent {
|
||||||
docker {
|
// docker {
|
||||||
image 'hashicorp/terraform:latest'
|
// image 'hashicorp/terraform:latest'
|
||||||
// Run the container on the node specified at the
|
// // Run the container on the node specified at the
|
||||||
// top-level of the Pipeline, in the same workspace,
|
// // top-level of the Pipeline, in the same workspace,
|
||||||
// rather than on a new node entirely:
|
// // rather than on a new node entirely:
|
||||||
args '--entrypoint="" -u root -v /opt/jenkins/.aws:/root/.aws'
|
// 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') {
|
// stage('Deploy Helm chart') {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue