I found the bug. If I removed `<runif status="passed" />` from the XML definition, this works fine.
O_O On Wednesday, 8 January 2020 17:39:06 UTC+5:30, Mike S wrote: > > Even this fails with the same error - > > <exec command="/bin/bash"> > <arg>-c</arg> > <arg>echo $HOME</arg> > <runif status="passed" /> > </exec> > > Totally mind blown right now O_O > > [image: Screenshot 2020-01-08 at 17.38.32.png] > > > Thanks M > > On Wednesday, 8 January 2020 17:24:13 UTC+5:30, Mike S wrote: >> >> Hi all, >> >> I am writing regarding an issue I've detailed on Gitter >> <https://gitter.im/gocd/gocd?at=5e15b4ff91129970ca8e25f9>, >> >> <exec command="/bin/bash"> >> <arg>-c</arg> >> <arg>APP=testapp DEV_STACK_ENABLED=true >> gcoall/gco/ci/deploy.sh</arg> >> <runif status="passed" /> >> </exec> >> >> Error: >> /bin/bash: - >> : invalid option >> Usage: /bin/bash [GNU long option] [option] ... >> >> Any ideas? >> >> Thanks, M. >> > -- 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/284b21cc-fb87-46fb-85df-e48193c03b53%40googlegroups.com.
