master
SLW\ARNAUA 2023-03-09 12:07:03 +01:00
parent 352127ed74
commit 1f32eebb85
1 changed files with 10 additions and 8 deletions

16
Jenkinsfile vendored
View File

@ -112,14 +112,16 @@
stage('Create Pull Request') { stage('Create Pull Request') {
steps { steps {
script { step {
def now = new Date() script {
timestamp = now.format("yyMMdd.HHmm", TimeZone.getTimeZone('UTC')) def now = new Date()
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'
}
} }
} }
} }