env variables
parent
227c01d175
commit
99ce055261
11
export.py
11
export.py
|
|
@ -10,10 +10,13 @@ from glob import glob
|
|||
|
||||
|
||||
def setEnv(env, time, path, dashboard):
|
||||
# os.environ['DYNATRACE_ENV_URL'] = str(os.environ.get(os.environ[env + "_ENV_URL"]))
|
||||
os.environ[env + "_ENV_URL"] = "Test"
|
||||
print(str(os.environ[env + "_ENV_URL"]))
|
||||
# os.environ['DYNATRACE_API_TOKEN'] = str(os.environ.get(os.environ[env + "_API_TOKEN"]))
|
||||
# os.environ[env + "_ENV_URL"] = getJenkinsEnvironmentVariable()
|
||||
|
||||
print(str(os.environ.get(env + "_ENV_URL")))
|
||||
|
||||
|
||||
# os.environ['DYNATRACE_ENV_URL'] = str(os.environ.get(env + "_ENV_URL"))
|
||||
# os.environ['DYNATRACE_API_TOKEN'] = str(os.environ.get(env + "_API_TOKEN"))
|
||||
# os.environ['DYNATRACE_TARGET_FOLDER'] = str(path + time + "_" + env + dashboard)
|
||||
return os.environ
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue