Jenkins Job Label Expression

From NovaOrdis Knowledge Base
Jump to navigation Jump to search

Internal

Overview

Defines a logical expression which determines which agents may execute builds for a project. This expression, when tested against the agent name and labels of each available agent, will be either true or false. If the expression evaluates to true, then that agent will be allowed to execute builds of this project.

In general, using the agent names should be avoided. Labels should be used instead.