I believe its RedHat 5.8.

I'll mention the service idea.  This is one of those scenarios where I 
don't "own" the deployment server.  They've set it up to there tastes and 
I'm simply automating a manual task for them.

cheers
Matt

On Saturday, June 7, 2014 12:41:54 AM UTC-4, Richard Bywater wrote:
>
> You don't mention which flavour of Linux but why not run Tomcat as a 
> system service/daemon and control it via your Jenkins job?
>
> Richard.
>
> On Saturday, June 7, 2014, Matt Wilson <[email protected] <javascript:>> 
> wrote:
>
>> I'm hoping someone has done this before and can offer a possible 
>> solution...
>>
>> I've got a Linux slave that I'm trying to setup to do a test deployment 
>> of a job.  Basically stop tomcat, add/deleting some war files and then 
>> restart tomcat.  Pretty straight forward stuff.  The problem I'm having is 
>> that when my jenkins slave shuts down at the completion of the job, my 
>> tomcat server also then shuts down.  
>> I know I could leave my jenkins slave up but I'd really rather not.  
>> I've tried "nohup", "&", and "disown".  no luck
>> I've also tried changing the slave launch parameters i.e. adding sh -c 
>> ".... " no luck.
>> I've also tried changing the tomcat start script to "nohup" rather than 
>> my jenkins job doing the "hohup".  still no luck.
>>
>> anybody have any ideas?  
>>
>> Matt
>>
>>  -- 
>> 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.
>>
>

-- 
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