Assessing when ahead of the input directive
By default, the when condition for the phase shall never be examined prior to the input, if an individual is defined. Nevertheless, this could be changed by indicating the beforeInput option in the anytime block. If beforeInput is defined to true, the whenever condition will first be evaluated, and also the input is only going to be entered in the event that whenever condition evaluates to real.
beforeInput real provides precedence over beforeAgent real .
Assessing whenever ahead of the choices directive
By default, the when condition for a phase shall be examined after going into the alternatives for that phase , if any are defined. Nonetheless, this is often changed by indicating the beforeOptions choice in the anytime block. If beforeOptions is placed to true , the whenever condition will first be evaluated, as well as the choices will simply be entered in the event that whenever condition evaluates to real.
beforeOptions true provides precedence over beforeInput beforeAgent and real true .
Phases in Declarative Pipeline could have a phases area containing a listing of nested stages to be run in sequential purchase.