test terraform
parent
ef7b7ebe4e
commit
710d0a6b09
|
|
@ -12,10 +12,20 @@ pipeline {
|
||||||
// }
|
// }
|
||||||
// }
|
// }
|
||||||
stage('TF Plan') {
|
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'
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
steps {
|
steps {
|
||||||
container('terraform') {
|
//container('terraform') {
|
||||||
sh 'terraform version'
|
sh 'terraform version'
|
||||||
}
|
//}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// stage('Deploy Helm chart') {
|
// stage('Deploy Helm chart') {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue