test terraform
parent
ef7b7ebe4e
commit
710d0a6b09
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Reference in New Issue