diff --git a/createReport.py b/createReport.py index 955067f..e63eadc 100644 --- a/createReport.py +++ b/createReport.py @@ -25,7 +25,7 @@ def GatherReportingInfo(DTAPIToken, DTENV,friendlyName): env = DTENV DTAPIToken = DTAPIToken - if (DTENV.find('dynatracemgd') != -1): + if (DTENV.find('dyna-synth-cn') != -1): verify=False else: verify=True diff --git a/environment.yaml b/environment.yaml index efc809f..90892da 100644 --- a/environment.yaml +++ b/environment.yaml @@ -18,13 +18,13 @@ # - env-url: "https://wgv50241.live.dynatrace.com" # - env-token-name: "NAPROD_TOKEN_VAR" # - jenkins: "https://jaws.bmwgroup.net/opapm/" -#cnprod: -# - name: "cnprod" -# - env-url: "https://dynatracemgd-cn.bmwgroup.net/e/b921f1b9-c00e-4031-b9d1-f5a0d530757b" -# - env-token-name: "CNPROD_TOKEN_VAR" -# - jenkins: "https://jaws-china.bmwgroup.net/opmaas/" -cnpreprod: - - name: "cnpreprod" - - env-url: "https://dynatracemgd-cn.bmwgroup.net/e/ab88c03b-b7fc-45f0-9115-9e9ecc0ced35" - - env-token-name: "CNPREPROD_TOKEN_VAR" +cnprod: + - name: "cnprod" + - env-url: "https://dyna-synth-cn.bmwgroup.com.cn/e/b921f1b9-c00e-4031-b9d1-f5a0d530757b" + - env-token-name: "CNPROD_TOKEN_VAR" - jenkins: "https://jaws-china.bmwgroup.net/opmaas/" +#cnpreprod: +# - name: "cnpreprod" +# - env-url: "https://dyna-synth-cn.bmwgroup.com.cn/e/ab88c03b-b7fc-45f0-9115-9e9ecc0ced35" +# - env-token-name: "CNPREPROD_TOKEN_VAR" +# - jenkins: "https://jaws-china.bmwgroup.net/opmaas/"