-
Notifications
You must be signed in to change notification settings - Fork 19
Open
Labels
kind/bugThis issue represents a verified problem we are committed to solvingThis issue represents a verified problem we are committed to solving
Description
Severity
1 report
Version
2025.4.10359, 2026.1.6553
Latest Version
None
What happened?
When using a scoped variable for Worker Pool selection and leveraging a script from a Git repository (as opposed to an inline script), the following error is thrown during package acquisition:
The step failed: No variable named '[WORKER POOL VARIABLE]' was in scope and set to value for '[STEP NAME]' so could not determine which worker pool to use
Reproduction
- Create a Project.
- Create a Project Variable of type
Worker Pool, assign a Worker Pool, and scope the variable to the Deployment Process for the Project. - Configure a
Run a Scriptstep within the Deployment Process for the Project, and set the script source toGit repository. - Set the step to run on a Worker Pool based on a Variable, using the Variable created previously.
- Run a Deployment and notice the failure during package acquisition when trying to acquire the script for the step.
Worker Pool Variable scoped to the Deployment Process:
Deployment Process with a Run a Script Step, using a script from a Git repository and running on a Worker/Worker Pool based on the Variable:
Run a Deployment, and see the following error during package acquisition:
Error and Stacktrace
The step failed: No variable named '[WORKER POOL VARIABLE]' was in scope and set to value for '[STEP NAME]' so could not determine which worker pool to useMore Information
No response
Workaround
Add a default, non-scoped value for the Worker Pool Variable.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
kind/bugThis issue represents a verified problem we are committed to solvingThis issue represents a verified problem we are committed to solving