aboutsummaryrefslogtreecommitdiff
path: root/dev/run-tests-jenkins
diff options
context:
space:
mode:
authorCheng Lian <lian@databricks.com>2014-11-10 16:17:52 -0800
committerMichael Armbrust <michael@databricks.com>2014-11-10 16:17:52 -0800
commit534b23141715b69a89531d93d4b9b78cf2789ff4 (patch)
treef8e774a0d63878c2bdc7207504dbd66d908269c0 /dev/run-tests-jenkins
parentdbf10588de03e8ea993fff687a78727eff55db1f (diff)
downloadspark-534b23141715b69a89531d93d4b9b78cf2789ff4.tar.gz
spark-534b23141715b69a89531d93d4b9b78cf2789ff4.tar.bz2
spark-534b23141715b69a89531d93d4b9b78cf2789ff4.zip
[SPARK-4000][Build] Uploads HiveCompatibilitySuite logs
This is a follow up of #2845. In addition to unit-tests.log files, also upload failure output files generated by `HiveCompatibilitySuite` to Jenkins master. These files can be very helpful to debug Hive compatibility test failures. /cc pwendell marmbrus Author: Cheng Lian <lian@databricks.com> Closes #2993 from liancheng/upload-hive-compat-logs and squashes the following commits: 8e6247f [Cheng Lian] Uploads HiveCompatibilitySuite logs
Diffstat (limited to 'dev/run-tests-jenkins')
-rwxr-xr-xdev/run-tests-jenkins8
1 files changed, 7 insertions, 1 deletions
diff --git a/dev/run-tests-jenkins b/dev/run-tests-jenkins
index 87c6715153..6a849e4f77 100755
--- a/dev/run-tests-jenkins
+++ b/dev/run-tests-jenkins
@@ -101,7 +101,13 @@ function post_message () {
function send_archived_logs () {
echo "Archiving unit tests logs..."
- local log_files=$(find . -name "unit-tests.log")
+ local log_files=$(
+ find .\
+ -name "unit-tests.log" -o\
+ -path "./sql/hive/target/HiveCompatibilitySuite.failed" -o\
+ -path "./sql/hive/target/HiveCompatibilitySuite.hiveFailed" -o\
+ -path "./sql/hive/target/HiveCompatibilitySuite.wrong"
+ )
if [ -z "$log_files" ]; then
echo "> No log files found." >&2