S

Satya • 2.31K Points
Master

Q. What is the purpose of 'post' block in a Jenkins pipeline?

  • (A) To fetch code from repository
  • (B) To define test stages
  • (C) To run steps after the main pipeline execution
  • (D) To initialize environment
  • Correct Answer - Option(C)
  • Views: 6
  • Filed under category Jenkins
  • Hashtags:

Explanation by: Satya
The 'post' block in a pipeline is used to define steps that should run after the pipeline finishes, regardless of success or failure.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.