The __________ step in a Jenkins pipeline is crucial for handling failure scenarios and cleanup actions.

  • catch
  • cleanup
  • finally
  • onFailure
The finally step in a Jenkins pipeline is crucial for handling failure scenarios and executing cleanup actions. Code within the finally block is guaranteed to run regardless of whether the preceding steps succeed or fail.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *