I have several task in my plan. The latest task is running a spring boot application war in remote machine over ssh to start up rest web service. The spring boot war is starting successfully and the logs could be seen also in bamboo. However this task never ends because it is always printing the output. I couldn't do a "fire and forget ssh task". The remote server is Windows and i tried below commands :
1) Doesn't work : javaw -jar C:\dev\jar\myspringbootapp.war
2) Works but the task never ends :
cmd /C javaw -jar C:\dev\jar\myspringbootapp.war
3) Works but the task never ends :
i put the command in a batch file. SSH command is this:
cmd /C C:/dev/ftp/runjava.bat
And the content of the batch file is :
javaw -jar C:\dev\jar\myspringbootapp.war &
G’day Community! As we gear up to introduce Bamboo Data Center to the world, we wanted to make sure that we shared a bit more about Bamboo, the product. Our team has put together an overview video ...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events