From 3ec3653adb4e796eb97625c339d03cba78ace726 Mon Sep 17 00:00:00 2001 From: John Chilton Date: Mon, 26 Dec 2016 10:34:41 -0500 Subject: [PATCH] Fix auto creation of XUnit reports for Jenkins. This is why Jenkins isn't picking up reports for integration and Selenium tests automatically. --- run_tests.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/run_tests.sh b/run_tests.sh index ad0d3d3c2b2..7f0164cdfe0 100755 --- a/run_tests.sh +++ b/run_tests.sh @@ -252,7 +252,7 @@ then fi # If in Jenkins environment, create xunit-${BUILD_NUMBER}.xml by default. -if [ -z "$BUILD_NUMBER" ]; +if [ -n "$BUILD_NUMBER" ]; then xunit_report_file="xunit-${BUILD_NUMBER}.xml" fi