kudu-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From granthe...@apache.org
Subject [2/2] kudu git commit: Use Gradle by default in build-and-test.sh
Date Wed, 18 Jul 2018 15:02:52 GMT
Use Gradle by default in build-and-test.sh

Change-Id: Ia919af374f4909d2b8eb38d6c7040704eb24b457
Reviewed-on: http://gerrit.cloudera.org:8080/10162
Tested-by: Kudu Jenkins
Reviewed-by: Grant Henke <granthenke@apache.org>


Project: http://git-wip-us.apache.org/repos/asf/kudu/repo
Commit: http://git-wip-us.apache.org/repos/asf/kudu/commit/296b05ef
Tree: http://git-wip-us.apache.org/repos/asf/kudu/tree/296b05ef
Diff: http://git-wip-us.apache.org/repos/asf/kudu/diff/296b05ef

Branch: refs/heads/master
Commit: 296b05ef40c947b6e2da404953db490967239a9e
Parents: f5117d2
Author: Grant Henke <granthenke@apache.org>
Authored: Mon Apr 23 16:09:36 2018 -0500
Committer: Grant Henke <granthenke@apache.org>
Committed: Wed Jul 18 14:57:37 2018 +0000

----------------------------------------------------------------------
 build-support/jenkins/build-and-test.sh | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/kudu/blob/296b05ef/build-support/jenkins/build-and-test.sh
----------------------------------------------------------------------
diff --git a/build-support/jenkins/build-and-test.sh b/build-support/jenkins/build-and-test.sh
index e545394..e2ecadd 100755
--- a/build-support/jenkins/build-and-test.sh
+++ b/build-support/jenkins/build-and-test.sh
@@ -56,10 +56,10 @@
 #   BUILD_JAVA        Default: 1
 #     Build and test java code if this is set to 1.
 #
-#   BUILD_MAVEN       Default: 1
+#   BUILD_MAVEN       Default: 0
 #     When building java code, build with Maven if this is set to 1.
 #
-#   BUILD_GRADLE      Default: 0
+#   BUILD_GRADLE      Default: 1
 #     When building java code, build with Gradle if this is set to 1.
 #
 #   BUILD_PYTHON       Default: 1
@@ -112,8 +112,8 @@ export KUDU_ALLOW_SLOW_TESTS=${KUDU_ALLOW_SLOW_TESTS:-$DEFAULT_ALLOW_SLOW_TESTS}
 export KUDU_COMPRESS_TEST_OUTPUT=${KUDU_COMPRESS_TEST_OUTPUT:-1}
 export TEST_TMPDIR=${TEST_TMPDIR:-/tmp/kudutest-$UID}
 BUILD_JAVA=${BUILD_JAVA:-1}
-BUILD_MAVEN=${BUILD_MAVEN:-1}
-BUILD_GRADLE=${BUILD_GRADLE:-0}
+BUILD_MAVEN=${BUILD_MAVEN:-0}
+BUILD_GRADLE=${BUILD_GRADLE:-1}
 BUILD_PYTHON=${BUILD_PYTHON:-1}
 BUILD_PYTHON3=${BUILD_PYTHON3:-1}
 
@@ -389,7 +389,7 @@ if [ "$BUILD_JAVA" == "1" ]; then
 
   # Run the full Gradle build.
   if [ "$BUILD_GRADLE" == "1" ]; then
-     GRADLE_FLAGS="$GRADLE_FLAGS --console=plain --no-daemon -DrerunFailingTestsCount=3"
+     GRADLE_FLAGS="$GRADLE_FLAGS --console=plain --no-daemon --continue -DrerunFailingTestsCount=3"
      # TODO: Run `gradle check` in BUILD_TYPE DEBUG when static code analysis is fixed
      if ! ./gradlew $GRADLE_FLAGS clean test integrationTest ; then
        EXIT_STATUS=1


Mime
View raw message