mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-26 13:52:15 +01:00
Only submit to muster when environment is setup.
This commit is contained in:
parent
af78f6c606
commit
e742693fd7
1 changed files with 9 additions and 2 deletions
|
|
@ -250,8 +250,15 @@ class MayaSubmitMuster(pyblish.api.InstancePlugin):
|
|||
render publish job and submit job to farm.
|
||||
"""
|
||||
# setup muster environment
|
||||
self.MUSTER_REST_URL = os.environ.get("MUSTER_REST_URL",
|
||||
"https://localhost:9891")
|
||||
self.MUSTER_REST_URL = os.environ.get("MUSTER_REST_URL")
|
||||
|
||||
if self.MUSTER_REST_URL is None:
|
||||
self.log.debug(
|
||||
"\"MUSTER_REST_URL\" is not found. Skipping "
|
||||
"\"{}\".".format(instance)
|
||||
)
|
||||
return
|
||||
|
||||
self._load_credentials()
|
||||
self._authenticate()
|
||||
self._get_templates()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue