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