The link :) http://wiki.hudson-ci.org/display/HUDSON/Spawning+processes+from+build
2013/4/17 Ghoulem Atef <[email protected]> > Hello, > The use of a daemon tool solve this problem if u are using linux > http://software.clapper.org/daemonize/ > > Please follow this link to get more details > > > 2013/4/17 Geoff Cummings <[email protected]> > >> >> I think you need to add something like this to the start of the script to >> set the BUILD_ID env variable to something different. >> >> BUILD_ID=dontKillMe >> >> >> Geoff >> >> On 17 Apr 2013, at 14:53, rakeshh <[email protected]> wrote: >> >> Hi, >> >> I have been trying to run a Jenkins job to stop and start Jboss(5.1 GA) >> using a shell script . The process is that the Jboss servers are first >> stopped and restarted in the same script. But once the job finishes the >> process gets killed . >> >> What i found is that when i run the shell script directly it works fine >> and >> JBoss is started , but as a part of jenkins job it kill the process at the >> end. >> >> I followed the instructions in this >> >> http://jenkins.361315.n4.nabble.com/Start-JBoss-after-successful-build-on-Master-and-Slave-Nodes-td384969.html >> < >> http://jenkins.361315.n4.nabble.com/Start-JBoss-after-successful-build-on-Master-and-Slave-Nodes-td384969.html> >> >> l but still the same problem persists. >> >> Is there any work around on this? >> >> Thanks, >> Rakesh >> >> >> >> -- >> View this message in context: >> http://jenkins.361315.n4.nabble.com/Running-a-Shell-script-to-start-JBoss-5-1-tp4663133.html >> Sent from the Jenkins users mailing list archive at Nabble.com. >> >> -- >> 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. >> >> >> -- >> 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. >> >> >> > > -- 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.
