diff --git a/Jenkinsfile b/Jenkinsfile index 72964fe..4ff493b 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -80,11 +80,6 @@ pipeline { git branch: "main", credentialsId: "jaws_dynatrace_bitbuket_user", url: "https://atc.bmwgroup.net/bitbucket/scm/opapm/qm_report.git" } } - - // move slo configuration file - sh''' - mv /opt/workspace/shared_configuration/slo_parameter.yaml /opt/workspace/qm_report/slo_parameter.yaml - ''' } } @@ -104,6 +99,17 @@ pipeline { } } + stage('Move SLO Configuration File') { + steps { + dir("/opt/workspace/") { + // move slo configuration file + sh''' + mv /opt/workspace/shared_configuration/slo_parameter.yaml /opt/workspace/qm_report/ + ''' + } + } + } + stage('Execute Reporting Script') { steps { dir("/opt/workspace/qm_report/") {