Jenkins Job Label Expression: Difference between revisions
Jump to navigation
Jump to search
(Created page with "=Internal= * Jenkins Concepts =Overview= Defines a logical expression which determines which agents may exe...") |
|||
Line 5: | Line 5: | ||
=Overview= | =Overview= | ||
Defines a logical expression which determines which [[Jenkins Concepts#Agent|agents]] may execute builds for a project. This expression, when tested against the 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. | Defines a logical expression which determines which [[Jenkins Concepts#Agent|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. |
Revision as of 20:27, 23 April 2018
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.