Closed bogdangherca closed 8 years ago
Solved. Apparently, the output of app server process should be redirected to /dev/null or a specific file, anything but STDOUT. Otherwise, the SSH executor will keep collecting output and never exit.
I would like this type of thing to be present or explained somewhere in the docs.
Bogdan.
Hi guys,
I have a TC build that uses SSH Exec in the following way:
java -jar <JAR_NAME> &
. It's a Spring Boot project under that jar.However, the build never stops, although I run the process in the background. I also tried running it with nohup and screen without success. Do you have any ideas/workarounds for this specific issue?
Thanks, Bogdan.