You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@aurora.apache.org by ke...@apache.org on 2014/10/24 03:04:56 UTC

git commit: Add Junit XML output for Python tests.

Repository: incubator-aurora
Updated Branches:
  refs/heads/master 666c6971b -> 53f4e73e2


Add Junit XML output for Python tests.

Verified that this is the correct directory in Jenkins by peeking
over wfarner's shoulder.

Attempted to add coverage as well but it looks like pants doesn't
support anything beyond console output yet (even though pycov supports
coberatura-style output).

Testing Done:
./build-support/jenkins/build.sh

Reviewed at https://reviews.apache.org/r/27098/


Project: http://git-wip-us.apache.org/repos/asf/incubator-aurora/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-aurora/commit/53f4e73e
Tree: http://git-wip-us.apache.org/repos/asf/incubator-aurora/tree/53f4e73e
Diff: http://git-wip-us.apache.org/repos/asf/incubator-aurora/diff/53f4e73e

Branch: refs/heads/master
Commit: 53f4e73e26553090ff64bb5594dd6f0f82f44b4e
Parents: 666c697
Author: Kevin Sweeney <ke...@apache.org>
Authored: Thu Oct 23 18:04:27 2014 -0700
Committer: Kevin Sweeney <ke...@apache.org>
Committed: Thu Oct 23 18:04:27 2014 -0700

----------------------------------------------------------------------
 build-support/jenkins/build.sh | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-aurora/blob/53f4e73e/build-support/jenkins/build.sh
----------------------------------------------------------------------
diff --git a/build-support/jenkins/build.sh b/build-support/jenkins/build.sh
index 26e5d13..50ea950 100755
--- a/build-support/jenkins/build.sh
+++ b/build-support/jenkins/build.sh
@@ -14,7 +14,7 @@
 #
 
 # Jenkins build script used with builds at http://builds.apache.org
-set -ex
+set -eux
 date
 
 # Run all Java tests
@@ -23,6 +23,8 @@ date
 # Run all Python tests
 # Setting the timeout value to 1 minute ensures package fetches from PyPI do not
 # fail on Apache Jenkins.
+export JUNIT_XML_BASE="$PWD/dist/test-results"
+mkdir -p "$JUNIT_XML_BASE"
 ./pants build --timeout=60 src/test/python:all -vxs
 
 # Run Python style checks