Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

SSH Remote File Execution

Jai
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
April 19, 2021

Hi Team,

   I am trying to start a Powershell script in remote windows 2012 server with Bitvise. The script has the command to start a spring boot application.

start "MyApp" java -jar myapp.jar

Bamboo Job triggers the script using SSH task and based on the logs, the jar is executed and the application is up. However, as soon as the bamboo job completes, the application goes down. Is there a way to keep this application running even after the job completes?

 

Note: I tried running a bat file instead of PowerShell and in that case the bamboo job simply never completes and if the job is manually stopped the application goes down in the server.

 

Regards,

Jayapal.S

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events