modified
parent
039cb63527
commit
281ca552cf
|
|
@ -29,6 +29,7 @@
|
||||||
string(name: 'INPUTFOLDER', defaultValue: 'DE-3', description: 'Enter the business line (aka department) folder e.g. DE-3')
|
string(name: 'INPUTFOLDER', defaultValue: 'DE-3', 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 slo-generator repository')
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -64,6 +65,9 @@
|
||||||
dir("/opt/workspace/coco_terraform_config/") {
|
dir("/opt/workspace/coco_terraform_config/") {
|
||||||
git branch: "${params.BBRANCH}", credentialsId: "jaws_dynatrace_bitbuket_user", url: "https://atc.bmwgroup.net/bitbucket/scm/opapm/coco_terraform_config.git"
|
git branch: "${params.BBRANCH}", credentialsId: "jaws_dynatrace_bitbuket_user", url: "https://atc.bmwgroup.net/bitbucket/scm/opapm/coco_terraform_config.git"
|
||||||
}
|
}
|
||||||
|
dir("/opt/workspace/slo-generator/") {
|
||||||
|
git branch: "${params.BBRANCH}", credentialsId: "jaws_dynatrace_bitbuket_user", url: "https://atc.bmwgroup.net/bitbucket/scm/opapm/coco_apm_slo_yaml2tf.git"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -88,10 +92,9 @@
|
||||||
|
|
||||||
stage('Execute Script') {
|
stage('Execute Script') {
|
||||||
steps {
|
steps {
|
||||||
|
dir("/opt/workspace/slo-generator/") {
|
||||||
sh "python3 generate.py ./shared_configuration/${params.INPUTFOLDER}"
|
sh "python3 generate.py ../shared_configuration/${params.INPUTFOLDER}"
|
||||||
|
}
|
||||||
|
|
||||||
//Only required once CN is not reachable from EMEA
|
//Only required once CN is not reachable from EMEA
|
||||||
//loopEnvironments(environments)
|
//loopEnvironments(environments)
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue