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

18
Jenkinsfile vendored
View File

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