How to use JJB to write the set build description in the Post-Build Actions

15 views
Skip to first unread message

Tony Chia

unread,
Apr 18, 2022, 11:18:09 PM4/18/22
to jenkins-job-builder

The retry build after failure is listed under the "Post Build Actions" and have the following inputs

Retry build after failure
Rerun build for unstable builds as well as failures
Rerun build only for failed parts on the matrix
Delay before retrying build
 Fixed
Fixed delay
 Progressive
Maximum number of successive failed builds
 Advanced...

Can someone points me to the documentation on this? 

Thanks
Tony

Tony Chia

unread,
Apr 19, 2022, 12:19:57 PM4/19/22
to jenkins-job-builder

Adam Romanek

unread,
Apr 20, 2022, 2:16:49 AM4/20/22
to jenkins-job-builder
Hi Tony,

I'm glad you found the answer by yourself.

Post-build Actions are Publishers in JJB nomenclature mainly because this is what the Jenkins Java API calls them. So if you want to implement a plugin with some post-build action you implement the Publisher API. It's not necessarily intuitive but it's the way it is.

Best,
Adam

Reply all
Reply to author
Forward
0 new messages