jenkins - Build Flow Plugin While Loop -


i'm trying setup build flow plugin run job forever until cancel build flow.

while(true){} works, absolutely isn't safe, if mess parameters, it'll cause flow enter endless loop , become uncancellable without restart of jenkins.

is there safe way this:

while(true){ignore(failure){    build(project)    build(anotherproject) }} 

so clicking x button cancel build flow properly?

alternately, there better way build multiple projects forever single project, waiting each project complete before moving on next 1 in line , looping first?

solution: if select workspace checkbox above build flow, call post build actions, can recall project.

if don't select workspace button, post build actions not fire off.


Comments

Popular posts from this blog

java - nested exception is org.hibernate.exception.SQLGrammarException: could not extract ResultSet Hibernate+SpringMVC -

sql - Postgresql tables exists, but getting "relation does not exist" when querying -

asp.net mvc - breakpoint on javascript in CSHTML? -