This is my situation: I use Octopus 3.2.7 to deploy application on Centos 6.6. The deployment of NuGet package to CentOS is good. However when I run a test script, the Octopus hangs in the middle of test script.
Here is the script I write for the step in Octopus:
sh ./logapi_regt_core_telemetry_devops.sh localhost
Octopus hangs when running logapi_regt_core_telemetry_devops.sh.
To test if there is any problem with logapi_regt_core_telemetry_devops.sh, I logged in to the Linux server by using the user I use to run the step from Octopus . I did it by several ways:
- I checked and confirmed the above script has been successfully transited to target server under .octopus\OctopusServer\Work\20160201192757-7889. I run “sh script.sh” and I can see logapi_regt_core_telemetry_devops.sh runs well until finished.
Or 2) I go to /home/piuser/install/test/devops/logapi and run “sh ./logapi_regt_core_telemetry_devops.sh localhost”. logapi_regt_core_telemetry_devops.sh runs well to finish.
So it seems there is something wrong with Octopus on this.
Did you guys encounter such problems before? Any advise?
Thanks a lot,