Posts

In jenkins   post section defines one or more additional steps that are run upon the completion of a Pipeline’s or stage’s run (depending on the location of the post section within the Pipeline). post can support one of the following post-conditionblocks: always , changed , failure , success , unstable , and aborted . These condition blocks allow the execution of steps within the post section depending on the completion status of the Pipeline or stage. Conditions always Run the steps in the post section regardless of the completion status of the Pipeline’s or stage’s run. changed Only run the steps in post if the current Pipeline’s or stage’s run has a different completion status from its previous run. failure Only run the steps in post if the current Pipeline’s or stage’s run has a "failed" status, typically denoted by red in the web UI. success Only run the steps in post if the current Pipeline’s or stage’s run has a "suc
Recent posts