modified
parent
65c6c40ab8
commit
a24ae9f052
|
|
@ -26,7 +26,7 @@
|
|||
// agent {label 'jaws-slaves'}
|
||||
agent {label 'jaws-slaves'}
|
||||
parameters {
|
||||
string(name: 'INPUTFOLDER', defaultValue: '/', description: 'Enter the business line (aka department) folder e.g. DE-3')
|
||||
string(name: 'INPUTFOLDER', defaultValue: '', description: 'Enter the business line (aka department) folder e.g. DE-3')
|
||||
string(name: 'ABRANCH', defaultValue: 'BusinessLine', description: 'Enter the branch for the shared_configuration repository')
|
||||
string(name: 'BBRANCH', defaultValue: 'master', description: 'Enter the branch for the coco_terraform_config repository')
|
||||
string(name: 'CBRANCH', defaultValue: 'master', description: 'Enter the branch for the coco_apm_slo_yaml2tf repository')
|
||||
|
|
@ -115,20 +115,20 @@
|
|||
}
|
||||
}
|
||||
|
||||
// stage('Create Pull Request') {
|
||||
// steps {
|
||||
// script {
|
||||
// def now = new Date()
|
||||
// timestamp = now.format("yyMMdd.HHmm", TimeZone.getTimeZone('UTC'))
|
||||
stage('Create Pull Request') {
|
||||
steps {
|
||||
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'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
post {
|
||||
failure {
|
||||
|
|
|
|||
Loading…
Reference in New Issue