Tag Archives: Jenkins

If your build wants to leave a daemon running behind…

If once upon a time you need to start something from Jenkins, Websphere Application Server for example, and to not to wait till server will be stopped and not to have stopped process after job finishes you can use approach described in next article https://wiki.jenkins-ci.org/display/JENKINS/ProcessTreeKiller.

In my case I have a Linux machine and after start WAS always goes down, after I add

BUILD_ID=dontKillMe /app/was/.../startServer.sh server1

Now I have running server after finished job.