modified
parent
a24ae9f052
commit
03f9ee77b8
|
|
@ -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'
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue