Thanks a lot Pranav! This worked. Could you please explain how adding a semi colon and using a single line helped?
Thanks once again. Regards, Aditya On Wednesday, 18 December 2019 18:37:50 UTC+5:30, Pranav Aggarwal wrote: > > You may try: > cd /path/to/my/csharp-app/publish/; ./appname > > On Wed, 18 Dec. 2019, 11:28 pm Aditya Manocha, <[email protected] > <javascript:>> wrote: > >> Hi, >> >> I have setup a pipeline with shell command job as >> >> -c >> cd /path/to/my/csharp-app/publish/ >> ./appname >> >> The application fails to execute. When I run directly from the path it >> works fine. >> I am new to GoCD am I missing something? >> >> Alternatively, I tried running the C# application from a shell script >> run.sh >> The command I gave inside run.sh was >> ./appname >> >> When I run the shell script directly from the path (./run.sh) it works >> but from GoCD it doesn't. >> >> It shows passed in GoCD but application doesn't fire up neither the >> script fires up. >> >> Please help! >> >> Thanks! >> >> Regards, >> Aditya >> >> -- >> You received this message because you are subscribed to the Google Groups >> "go-cd" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected] <javascript:>. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/go-cd/803545df-c65d-4302-8097-34342be87363%40googlegroups.com >> >> <https://groups.google.com/d/msgid/go-cd/803545df-c65d-4302-8097-34342be87363%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> > -- You received this message because you are subscribed to the Google Groups "go-cd" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/go-cd/3024a3fa-7872-4519-a6d0-251fbd09ee5c%40googlegroups.com.
