Jenkins – Conditional post-build action

With Jenkins, we can setup downstream projects under the post-build action section in the project configuration page. This is very useful for setting up pipeline for Continuous Integration/Delivery.
jenkins-conditioal-post-build-action-1
 

Sometimes, we want to have conditional checking in order to decide whether the downstream projects should be triggered. In that case, you could install the Flexible Publish Plugin. After the installation, you could have conditional checking for each post-build action.
jenkins-conditioal-post-build-action-2
 

Done =)

Reference: Flexible Publish Plugin

Advertisement

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.