0 votes
in Jenkins by
What is Agent Directive in Jenkins?

1 Answer

0 votes
by

The agent directive directs Jenkins on how and where to execute the Pipeline or its subsets. All the pipelines require agents. The agent causes a workspace to be allocated that contains checkout files from source control and other additional working files required for the Pipeline. It also causes the steps required for execution to be executed by Jenkins when an executor is available.

Related questions

0 votes
0 votes
asked May 13, 2020 in Jenkins by Robindeniel
0 votes
asked Dec 10, 2022 in Jenkins by SakshiSharma
...