Skip to content

Commit 9231b01

Browse files
marmbrusrxin
authored andcommitted
Fix jenkins from giving the green light to builds that don't compile.
Adding `| grep` swallows the non-zero return code from sbt failures. See [here](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/13735/consoleFull) for a Jenkins run that fails to compile, but still gets a green light. Note the [BUILD FIX] commit isn't actually part of this PR, but github is out of date. Author: Michael Armbrust <michael@databricks.com> Closes #317 from marmbrus/fixJenkins and squashes the following commits: 7c77ff9 [Michael Armbrust] Remove output filter that was swallowing non-zero exit codes for test failures.
1 parent d94826b commit 9231b01

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dev/run-tests

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ dev/scalastyle
4949
echo "========================================================================="
5050
echo "Running Spark unit tests"
5151
echo "========================================================================="
52-
sbt/sbt assembly test | grep -v -e "info.*Resolving" -e "warn.*Merging" -e "info.*Including"
52+
sbt/sbt assembly test
5353

5454
echo "========================================================================="
5555
echo "Running PySpark tests"

0 commit comments

Comments
 (0)