--
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 go-cd+un...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
<exec command="sh">
<arg>semigator_GaugeTests_ci.sh</arg>
<runif status="any" />
</exec>Hi again,
I’ve tried to check out a lot of things, like the gauge installation or the java plugin on the gocd server. Everything is there and should work like wished. I’ve triggered the tests from my local machine with the bash script. Also the one, that is used by gocd (With Selenium Grid on a test VM). I’ve also checked the files in the Go agent pipelines on the go sever…everything was there and at the same place like locally. But still the same problem: The specs could not find the step implementations. Only running on the gocd server.
I have absolutely no idea anymore…
Cheers,
michael
Hi Ketan,
the problem also appears, if I run the script on the go agent. What does you mean exactly with the env command?
Hi Ketan,
sorry for the late response.
I run the env, but did not get any hints or errors for Gauge/GoCD. I’ve added now the direct path to gauge and the java plugin in the .bash_profile (/Users/admin/.gauge/plugins/:/usr/local/Cellar/gauge/0.6.1/bin:) but the problem is still there.
I’ve already modified the start script to get the exit code for 100%:
mvn gauge:execute -DspecsDir=specs -Denv=ci
rc=$?
if [[ $rc -ne 0 ]] ; then
echo 'Failed tests'; exit $rc
fi
…but nothing helped.
Cheers,
michael
Hi Ketan,
sorry for the late response.
I run the env, but did not get any hints or errors for Gauge/GoCD. I’ve added now the direct path to gauge and the java plugin in the .bash_profile (/Users/admin/.gauge/plugins/:/usr/local/Cellar/gauge/0.6.1/bin:) but the problem is still there.
I’ve already modified the start script to get the exit code for 100%:
mvn gauge:execute -DspecsDir=specs -Denv=ci
rc=$?
if [[ $rc -ne 0 ]] ; then
echo 'Failed tests'; exit $rc
fi
…but nothing helped.
Cheers,
michael
Am Samstag, 27. August 2016 05:41:42 UTC+2 schrieb Ketan Padegaonkar:On Thu, Aug 25, 2016, 2:51 PM Michael Pauli <zopp.m...@gmail.com> wrote:Hi Ketan,
the problem also appears, if I run the script on the go agent. What does you mean exactly with the env command?I mean the `env` executable. Typically under `/usr/bin/env`.If the script does not run on the machine successfully, GoCD cannot be expected to run it successfully. Please ensure that the script exits with an exit code of 0(zero) to indicate a successful run.
--