Merge pull request #1073 from ynput/bugfix/add-host-name-to-farm-envs

Chore: Set host name environment variable for farm jobs
This commit is contained in:
Jakub Trllo 2025-01-10 13:16:00 +01:00 committed by GitHub
commit b001a4cfa7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -24,6 +24,7 @@ class CollectCoreJobEnvVars(pyblish.api.ContextPlugin):
# NOTE we should use 'context.data["user"]' but that has higher
# order.
("AYON_USERNAME", get_ayon_username()),
("AYON_HOST_NAME", context.data["hostName"]),
):
if value:
self.log.debug(f"Setting job env: {key}: {value}")