wip - jenkins

master
Sylvain Gibier 2023-06-16 16:06:45 +02:00
parent 8525170d76
commit f2516ed6e0
1 changed files with 15 additions and 1 deletions

View File

@ -37,6 +37,20 @@ pipeline {
stages { stages {
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
"""
}
}
}
}
} }