mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
pass PYPE_DEV to deadline job
This commit is contained in:
parent
6f94b8db6a
commit
b0dc653db2
2 changed files with 5 additions and 3 deletions
|
|
@ -291,7 +291,8 @@ class MayaSubmitDeadline(pyblish.api.InstancePlugin):
|
|||
"AVALON_PROJECT",
|
||||
"AVALON_ASSET",
|
||||
"AVALON_TASK",
|
||||
"PYPE_USERNAME"
|
||||
"PYPE_USERNAME",
|
||||
"PYPE_DEV"
|
||||
]
|
||||
|
||||
environment = dict({key: os.environ[key] for key in keys
|
||||
|
|
|
|||
|
|
@ -183,7 +183,7 @@ class NukeSubmitDeadline(pyblish.api.InstancePlugin):
|
|||
"BatchName": responce_data["Props"]["Batch"],
|
||||
"JobDependency0": responce_data["_id"],
|
||||
"ChunkSize": 99999999
|
||||
})
|
||||
})
|
||||
|
||||
# Include critical environment variables with submission
|
||||
keys = [
|
||||
|
|
@ -195,7 +195,8 @@ class NukeSubmitDeadline(pyblish.api.InstancePlugin):
|
|||
"FTRACK_SERVER",
|
||||
"PYBLISHPLUGINPATH",
|
||||
"NUKE_PATH",
|
||||
"TOOL_ENV"
|
||||
"TOOL_ENV",
|
||||
"PYPE_DEV"
|
||||
]
|
||||
environment = dict({key: os.environ[key] for key in keys
|
||||
if key in os.environ}, **api.Session)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue