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