Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions src/taskgraph/transforms/task.py
Original file line number Diff line number Diff line change
Expand Up @@ -569,6 +569,7 @@ class GenericWorkerPayloadSchema(Schema, forbid_unknown_fields=False, kw_only=Tr
# feature for task to run as current OS user
run_task_as_current_user: Optional[bool] = None
taskcluster_proxy: Optional[bool] = None
hide_cmd_window: Optional[bool] = None
# Whether any artifacts are assigned to this worker
skip_artifacts: Optional[bool] = None

Expand Down Expand Up @@ -681,6 +682,9 @@ def build_generic_worker_payload(config, task, task_def):
"generic-worker:run-task-as-current-user:{}".format(task["worker-type"]),
)

if worker.get("hide-cmd-window"):
features["hideCmdWindow"] = True

if features:
task_def["payload"]["features"] = features

Expand Down
Loading