Krinkle has submitted this change and it was merged.
Change subject: QUnit macro: Include curl fetch for headers and html snippet
......................................................................
QUnit macro: Include curl fetch for headers and html snippet
Should help in trying to determine what could be causing recent
failures.
Change-Id: I7cccdcb6a3afe500c5abbf61b86fc382596e1940
---
M macro.yaml
1 file changed, 2 insertions(+), 0 deletions(-)
Approvals:
Krinkle: Looks good to me, approved
jenkins-bot: Verified
diff --git a/macro.yaml b/macro.yaml
index e9b681b..b5802f0 100644
--- a/macro.yaml
+++ b/macro.yaml
@@ -94,6 +94,8 @@
test ! -e /srv/localhost/qunit/$TEST_ID || rm
/srv/localhost/qunit/$TEST_ID;
# Publish our install in the QUnit server document root
ln -s $WORKSPACE /srv/localhost/qunit/$TEST_ID
+ # Fetch headers for debug information (HTTP 500 Error, Database error,
etc.)
+ curl --include
"http://localhost:9412/$TEST_ID/index.php?title=Special:BlankPage" | head -n42
# Run QUnit tests via PhantomJS
/var/lib/jenkins/bin/wmfgrunt qunit --verbose
--qunit-url="http://localhost:9412/$TEST_ID/index.php?title=Special:JavaScriptTest/qunit"
gqec=$?
--
To view, visit https://gerrit.wikimedia.org/r/59358
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I7cccdcb6a3afe500c5abbf61b86fc382596e1940
Gerrit-PatchSet: 1
Gerrit-Project: integration/jenkins-job-builder-config
Gerrit-Branch: master
Gerrit-Owner: Krinkle <[email protected]>
Gerrit-Reviewer: Krinkle <[email protected]>
Gerrit-Reviewer: jenkins-bot
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits