JetBrains / teamcity-deployer-plugin

Deployer plugin for TeamCity CI server
http://confluence.jetbrains.net/display/TW/Deployer+plugin
Apache License 2.0
39 stars 29 forks source link

Problem doing an automated deploy with SSH Exec #73

Closed bogdangherca closed 8 years ago

bogdangherca commented 8 years ago

Hi guys,

I have a TC build that uses SSH Exec in the following way:

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.

bogdangherca commented 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.