Computer name, label name, or any other label expression like linux && 64bit
to restrict where this step builds.
May be left blank, in which case any available executor is taken.
Valid Operators
The following operators are supported, in the order of precedence.
- (expr)
- parenthesis
- !expr
- negation
- expr&&expr
-
and
- expr||expr
-
or
- a -> b
-
"implies" operator. Equivalent to !a|b.
For example, windows->x64 could be thought of as "if run on a Windows slave,
that slave must be 64bit." It still allows Jenkins to run this build on linux.
- a <-> b
-
"if and only if" operator. Equivalent to a&&b || !a&&!b.
For example, windows<->sfbay could be thought of as "if run on a Windows slave,
that slave must be in the SF bay area, but if not on Windows, it must not be in the bay area."
All operators are left-associative (i.e., a->b->c <-> (a->b)->c )
An expression can contain whitespace for better readability, and it'll be ignored.
Label names or slave names can be quoted if they contain unsafe characters. For example,
"jenkins-solaris (Solaris)" || "Windows 2008"