adaptions due to faulty jenkins slave

master
rforstner 2022-01-31 08:37:01 +01:00
parent 31a40bc595
commit cbf2c687d1
3 changed files with 5 additions and 3 deletions

2
Jenkinsfile vendored
View File

@ -22,7 +22,7 @@
ansiColor('xterm')
}
//label libraryBuild is available in CN JAWS and ROW JAWS, therefore this one was used; no additional intents
agent {label 'libraryBuild'}
agent {label 'jaws-slaves'}
parameters {
string(name: 'FROMDATE', defaultValue: '', description: 'Enter from date in format YYYY-MM-DD e.g. 2021-11-01')

View File

@ -40,6 +40,8 @@ def getSLO(DTAPIToken, DTENV, fromDate, toDate):
if (DTENV.find('dynatracemgd') != -1):
verify=False
if (DTENV.find('dyna-synt') != -1):
verify=False
else:
verify=True
@ -69,7 +71,7 @@ def getSLO(DTAPIToken, DTENV, fromDate, toDate):
print(e)
print("No SLO json returned")
print(parameters)
print(r.content)
print(r)
df = pd.DataFrame()

View File

@ -20,7 +20,7 @@ naprod:
- jenkins: "https://jaws.bmwgroup.net/opapm/"
cnprod:
- name: "cnprod"
- env-url: "https://dynatracemgd-tsp.bmwgroup.net/e/b921f1b9-c00e-4031-b9d1-f5a0d530757b"
- 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: