stage Example tools The  stage  directive goes in the  stages  section and should contain a [steps] section, an optional  agent section, or other stage-specific directives. Practically speaking, all of the real work done by a Pipeline will be wrapped in one or more  stage  directives. A section defining tools to auto-install and put on the  PATH . This is ignored if  agent none  is specified. Require d No Parame ters None Allowed Inside the  pipeline  block or a  stage  block. Require d At least one Parame ters One mandatory parameter, a string for the name of the stage. Allowed Inside the  stages  section. // Declarative // pipeline { agent any stages { stage('Example') { steps { echo 'Hello World' } } } } // Script // 93 Supported Tools maven jdk gradle Example