Skip to content

Commit 74be1ea

Browse files
authored
Update MultipleLinuxServer
1 parent 990ae8a commit 74be1ea

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

MultipleLinuxServer

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,24 @@ You can also connect QA and prod jobs to get executed one after the other. This
146146

147147

148148

149+
************************************
149150

151+
Parameters
152+
In order to support the wide variety of use-cases Pipeline authors may have, the agent section supports a few different types of parameters. These parameters can be applied at the top-level of the pipeline block, or within each stage directive.
153+
154+
any
155+
Execute the Pipeline, or stage, on any available agent. For example: agent any
156+
157+
none
158+
When applied at the top-level of the pipeline block no global agent will be allocated for the entire Pipeline run and each stage section will need to contain its own agent section. For example: agent none
159+
160+
label
161+
Execute the Pipeline, or stage, on an agent available in the Jenkins environment with the provided label. For example: agent { label 'my-defined-label' }
162+
163+
Label conditions can also be used. For example: agent { label 'my-label1 && my-label2' } or agent { label 'my-label1 || my-label2' }
164+
165+
node
166+
agent { node { label 'labelName' } } behaves the same as agent { label 'labelName' }, but node allows for additional options (such as customWorkspace).
150167

151168

152169

0 commit comments

Comments
 (0)