Server stops after the restart bash script pipeline task is finished

Occasional Visitor

Hey Everyone,

 

We are using bash script task to restart tomcat server after deployment is done. But the server is immediately stopped when this task is finished. We tried  sleeping longer to let the script finish, but even after sleep time server just stops. We are unable to restart server after deployment. We also tried nohup and & to run the restart script in background, but no help.

 

Can someone please help us, as this has halted our release

0 Replies