KBEC-00214 - Resource and workspace inheritance for subprocedures

Article ID:360032829612
1 minute readKnowledge base


CloudBees CD (CloudBees Flow) subprocedures and steps run on resources and use workspaces. If you do not specify a resource and/or workspace, CloudBees CD (CloudBees Flow) will attempt to assign one.

There are circumstances when the resource is inherited and the workspace is not.

Resource assignment in order of preference.

  1. the procedure step

  2. the procedure

  3. the calling step (recursively)

  4. the project

Workspace assignment in order of preference

  1. any step in the call chain that explicitly specifies a workspace

  2. the current step’s procedure

  3. the current step’s project

  4. the current step’s assigned resource


Resource assignment is made when the step is expanded. Workspace assignment is made by the CloudBees CD (CloudBees Flow) Server after step expansion.

Explicitly set the workspace on a calling step somewhere in the call chain, or you will need to set it on each project, procedure, or resource.