It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

SSH task for Spring Boot

Hi,

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 : 

@echo off
javaw -jar C:\dev\jar\myspringbootapp.war &

0 answers

Suggest an answer

Log in or Sign up to answer
This widget could not be displayed.
This widget could not be displayed.
Community showcase
Posted yesterday in Jira

Upcoming Enterprise releases targeting Q3 2019: Jira Software 8.5 & Jira Service Desk 4.5

Since launching the Jira Software 8.0 and Jira Service Desk 4.0 platform releases in February, many of you have been asking when the next Enterprise release will be so you can take advantage of the m...

284 views 3 7
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you