You may try:
cd /path/to/my/csharp-app/publish/;  ./appname

On Wed, 18 Dec. 2019, 11:28 pm Aditya Manocha, <[email protected]>
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].
> 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/CACiJEcG70A9kVY54wBXyJir9VrrKzLZzHQzxJEYty0rwtKP%2B9Q%40mail.gmail.com.

Reply via email to