fix environment cleanup when sending to farm

This commit is contained in:
Milan Kolar 2019-02-14 08:54:22 +01:00
parent 690cc3ffe0
commit 36e3ab4829
5 changed files with 81 additions and 340 deletions

View file

@ -265,7 +265,7 @@ class IntegrateFrames(pyblish.api.InstancePlugin):
"asset": ASSET,
"family": instance.data['family'],
"subset": subset["name"],
"version": version["name"],
"VERSION": version["name"],
"hierarchy": hierarchy,
"representation": ext[1:]
}

View file

@ -326,7 +326,7 @@ class SubmitDependentImageSequenceJobDeadline(pyblish.api.InstancePlugin):
self.log.info("Submitting..")
self.log.info(json.dumps(payload, indent=4, sort_keys=True))
url = "{}/api/jobs".format(deadline_url)
url = "{}/api/jobs".format(AVALON_DEADLINE)
response = requests.post(url, json=payload)
if not response.ok:
raise Exception(response.text)