Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Triggering the same jenkins job after the build is finished in Jenkins

Is there a way to trigger the same job when the build is finished. I have one job that needed to be run until I aborted it manually. Is there a way to accomplish this?

like image 989
newperson Avatar asked Sep 03 '25 10:09

newperson


1 Answers

The easiest way to do this is to add a post build step that builds the same project. Set "Post-build Actions" - "Build other projects" - "Projects to build" to the name of your project and it will loop forever.

like image 193
chattersley Avatar answered Sep 05 '25 02:09

chattersley