modified
parent
352127ed74
commit
1f32eebb85
|
|
@ -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'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue