Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
scripts
mahara-scripts
Commits
1be9e436
Commit
1be9e436
authored
Sep 14, 2016
by
Aaron Wells
Browse files
Adding direct link to jenkins console, for failed Behat tests
parent
242a0ac2
Changes
1
Hide whitespace changes
Inline
Side-by-side
jenkins/mahara_jenkins.php
View file @
1be9e436
...
...
@@ -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'
);
/**
...
...
@@ -345,8 +346,9 @@ echo "########## Run phpunit tests\n";
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."
"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:
\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
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment