wip - jenkins

master
Sylvain Gibier 2023-06-16 16:21:25 +02:00
parent 23199ce0e4
commit 07152a74ce
1 changed files with 6 additions and 8 deletions

View File

@ -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 {