Re: Problem spawning background process from Groovy script

2017-03-10 Thread Christopher Orr
On Thu, 9 Mar 2017, at 13:23, Dirk Heinrichs wrote: > Hi, > > I've got a job that runs a Groovy script which should pull from a > Mercurial repo, merge a given branch and then serve the result to sub > jobs running in a multijob phase to perform builds on different OS's. > For this to achieve, the

Re: [EXTERNAL] - Problem spawning background process from Groovy script

2017-03-09 Thread Dirk Heinrichs
On 09.03.2017 13:23, Dirk Heinrichs wrote: > How can I spawn a background process from a Groovy script in Jenkins > so that it's still running when the script ends? OK, nevermind. Seems the background process is killed because the job's next step failed (which is OK). Bye... Dirk -- *Dirk

Problem spawning background process from Groovy script

2017-03-09 Thread Dirk Heinrichs
Hi, I've got a job that runs a Groovy script which should pull from a Mercurial repo, merge a given branch and then serve the result to sub jobs running in a multijob phase to perform builds on different OS's. For this to achieve, the script should spawn a "hg serve" process into the background. O