Krinkle has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/59358


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(-)


  git pull 
ssh://gerrit.wikimedia.org:29418/integration/jenkins-job-builder-config 
refs/changes/58/59358/1

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: newchange
Gerrit-Change-Id: I7cccdcb6a3afe500c5abbf61b86fc382596e1940
Gerrit-PatchSet: 1
Gerrit-Project: integration/jenkins-job-builder-config
Gerrit-Branch: master
Gerrit-Owner: Krinkle <krinklem...@gmail.com>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to