Matrix projects are not executing build steps on configured restricted nodes

Article ID:360004306132
1 minute readKnowledge base

Issue

  • When using a Matrix (Multi-configuration) project with the Advanced Project Options > Restrict where this project can be run enabled, but no axis defined under the Configuration Matrix section, the build steps will run on any available agent.

Resolution

The Multi-configuration project is designed to execute the build steps on the next available build agent if a Configuration Matrix > Agents axis is not configured. The Advanced Project Options > Restrict where this project can be run only limits where the initial flyweight task may execute.

To configure where the build steps will run, configure a Agents axis with the desired build agents. For example, the following configuration shows how to execute the build steps on two agents testNode1 and testNode2:

matrix project slave axis example