diff options
author | Cheng Lian <lian@databricks.com> | 2014-11-10 16:17:52 -0800 |
---|---|---|
committer | Michael Armbrust <michael@databricks.com> | 2014-11-10 16:17:52 -0800 |
commit | 534b23141715b69a89531d93d4b9b78cf2789ff4 (patch) | |
tree | f8e774a0d63878c2bdc7207504dbd66d908269c0 /dev/run-tests-jenkins | |
parent | dbf10588de03e8ea993fff687a78727eff55db1f (diff) | |
download | spark-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-x | dev/run-tests-jenkins | 8 |
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 |