wip - jenkins
parent
23199ce0e4
commit
07152a74ce
|
|
@ -35,21 +35,19 @@ pipeline {
|
|||
}
|
||||
|
||||
stages {
|
||||
stage("terraform init") {
|
||||
stage('terraform init') {
|
||||
steps {
|
||||
sshagent(credentials: ['sofa-user-automation']) {
|
||||
container('terraform') {
|
||||
sh """
|
||||
set -e
|
||||
cd environments/${CLOUD_PROVIDER}/${AWS_REGION}/${STAGE}
|
||||
terraform init
|
||||
terraform fmt
|
||||
"""
|
||||
|
||||
echo "testing..."
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
post {
|
||||
|
|
|
|||
Loading…
Reference in New Issue