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

24
Jenkinsfile vendored
View File

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