master
SLW\ARNAUA 2023-03-09 12:18:34 +01:00
parent a24ae9f052
commit 03f9ee77b8
1 changed files with 12 additions and 12 deletions

20
Jenkinsfile vendored
View File

@ -113,18 +113,18 @@
//loopEnvironments(environments) //loopEnvironments(environments)
} }
} }
}
stage('Create Pull Request') { stage('Create Pull Request') {
steps { steps {
script { script {
def now = new Date() def now = new Date()
timestamp = now.format("yyMMdd.HHmm", TimeZone.getTimeZone('UTC')) timestamp = now.format("yyMMdd.HHmm", TimeZone.getTimeZone('UTC'))
dir("/opt/workspace/coco_terraform_config/") { dir("/opt/workspace/coco_terraform_config/") {
sh 'git add .' sh 'git add .'
sh ('git commit -m "${timestamp}"') sh ('git commit -m "${timestamp}"')
sh 'git push origin automatedSLOGeneration' sh 'git push origin automatedSLOGeneration'
}
} }
} }
} }