Thanks, it works by create a job parameter BUILD_ID=dontKillMe
On Fri, Apr 26, 2013 at 4:16 PM, Riccardo Foschia < [email protected]> wrote: > Hi, > > Take a look at https://wiki.jenkins-ci.org/**display/JENKINS/** > ProcessTreeKiller<https://wiki.jenkins-ci.org/display/JENKINS/ProcessTreeKiller>section > "If your build wants to leave a daemon running behind..." > > Greetings, > Riccardo > > Am 26.04.2013 10:08, schrieb hezjing: > > Hi >> >> I have a job which will be run in an Linux slave. >> >> This job will execute a shell command to start a server process which will >> run forever. Unfortunately this process is terminated when the job is >> finished. >> >> When I tested this using PuTTY, the server process is still alive after I >> logged-in and out several times. >> >> May I know how to keep a Unix process alive after the job is completed? >> >> >> > -- > > META-LEVEL Software AG > Saarbrücker Str. 51 > 66130 Saarbrücken > Deutschland > Tel: +49 - 681 / 99687-0 > Fax: +49 - 681 / 99687-99 > Mail: [email protected] > Web: www.meta-level.de > > Rechtsform: Aktiengesellschaft > Sitz: Saarbrücken > HR B Nr. 13 380 Amtsgericht Saarbrücken > USt-IdNr. DE 1 38 166667 > Vorstände: Dipl.-Inform. Peter Badt und Dipl.-Inform. Peter Raber > Vorsitzender des Aufsichtsrats: Reinhard Kuhn > > -- > 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 > jenkinsci-users+unsubscribe@**googlegroups.com<jenkinsci-users%[email protected]> > . > For more options, visit > https://groups.google.com/**groups/opt_out<https://groups.google.com/groups/opt_out> > . > > > -- Hez -- 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/groups/opt_out.
