I config some 'job templete' by the power of the plugin 'job generator
plugin'. And I've written a groovy script to parse a XML file which  
describes the build flow according to the instruction of the page:
http://stackoverflow.com/questions/11581620/call-a-jenkins-job-by-using-a-variable-for-build-the-name

However, when I invoke the groovy script by the scriptler plugin, the 
Jenkins service stops.

My groovy code is here:
https://gist.github.com/LevskiWeng/c19039ff765c6f30bf4c

My problem is:
When the job is invoked by scriptler, the Jenkins JVM will get stopped. 
I've noticed that if the job invoked gets finished quickly, everything
seems OK, but when the job takes more than 15s to complete, the Jenkins
JVM will stop.

So I think it's my code's fault, but I've no idea how could I correct the 
problem, is Thread.sleep() a bad idea here?

Any suggestion will be appreciated, thanks.
-- 
Levski Weng
www.levskiweng.me

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to