kudu-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From t...@apache.org
Subject [1/3] kudu git commit: Disable the daemon usage in Jenkins Gradle build
Date Sat, 26 Aug 2017 01:28:51 GMT
Repository: kudu
Updated Branches:
  refs/heads/master 9a07b2fed -> faa0b14ef


Disable the daemon usage in Jenkins Gradle build

We enable the daemon by default for user builds
but should disable it in CI environments where
build isolation/correctness is paramount.

Additionally we have seen daemon issues on the
Jenkins environment and this should resolve them or
at a minimum make them more clear.

Change-Id: I8a9724bd5305fd771583d99220688b7fdab472aa
Reviewed-on: http://gerrit.cloudera.org:8080/7841
Tested-by: Kudu Jenkins
Reviewed-by: Todd Lipcon <todd@apache.org>


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

Branch: refs/heads/master
Commit: bde730f6ba8f90893604edcdd803191d4f0a5d4d
Parents: 9a07b2f
Author: Grant Henke <granthenke@gmail.com>
Authored: Fri Aug 25 18:21:43 2017 -0500
Committer: Todd Lipcon <todd@apache.org>
Committed: Sat Aug 26 01:25:52 2017 +0000

----------------------------------------------------------------------
 build-support/jenkins/build-and-test.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/kudu/blob/bde730f6/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 5291acb..8d828bb 100755
--- a/build-support/jenkins/build-and-test.sh
+++ b/build-support/jenkins/build-and-test.sh
@@ -394,7 +394,7 @@ if [ "$BUILD_JAVA" == "1" ]; then
   # Rerun the build using the Gradle build.
   # Note: We just ensure we can assemble and don't rerun the tests.
   if [ "$BUILD_GRADLE" == "1" ]; then
-     GRADLE_FLAGS="$GRADLE_FLAGS --console=plain"
+     GRADLE_FLAGS="$GRADLE_FLAGS --console=plain --no-daemon"
      if ! ./gradlew $GRADLE_FLAGS clean assemble; then
        EXIT_STATUS=1
        FAILURES="$FAILURES"$'Java Gradle build failed\n'


Mime
View raw message