Commit 1be9e436 authored by Aaron Wells's avatar Aaron Wells

Adding direct link to jenkins console, for failed Behat tests

parent 242a0ac2
......@@ -28,6 +28,7 @@ $GERRIT_BRANCH = getenv('GERRIT_BRANCH');
$GERRIT_CHANGE_ID = getenv('GERRIT_CHANGE_ID');
$GERRIT_PATCHSET_REVISION = getenv('GERRIT_PATCHSET_REVISION');
$JOB_NAME = getenv('JOB_NAME');
$BUILD_URL = getenv('BUILD_URL');
$HOME = getenv('HOME');
/**
......@@ -346,7 +347,8 @@ echo "\n";
passthru_or_die(
'external/vendor/bin/phpunit htdocs/',
"This patch caused one or more phpunit tests to fail.\n\n"
."Please see the console output on test.mahara.org for details, and fix any failing tests."
. "Please see the console output on test.mahara.org for details, and fix any failing tests:\n"
. $BUILD_URL . '/console'
);
......@@ -357,7 +359,8 @@ echo "\n";
passthru_or_die(
'test/behat/mahara_behat.sh runheadless',
"This patch caused one or more Behat tests to fail.\n\n"
."Please see the console output on test.mahara.org for details, and fix any failing tests."
. "Please see the console output on test.mahara.org for details, and fix any failing tests:\n"
. $BUILD_URL . '/console'
);
exit(0);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment