You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kafka.apache.org by ij...@apache.org on 2021/04/11 03:45:32 UTC

[kafka] branch remove-gradle-setup-from-jenkinsfile created (now 9f0ee84)

This is an automated email from the ASF dual-hosted git repository.

ijuma pushed a change to branch remove-gradle-setup-from-jenkinsfile
in repository https://gitbox.apache.org/repos/asf/kafka.git.


      at 9f0ee84  MINOR: Remove gradleSetup from Jenkinsfile

This branch includes the following new commits:

     new 9f0ee84  MINOR: Remove gradleSetup from Jenkinsfile

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


[kafka] 01/01: MINOR: Remove gradleSetup from Jenkinsfile

Posted by ij...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

ijuma pushed a commit to branch remove-gradle-setup-from-jenkinsfile
in repository https://gitbox.apache.org/repos/asf/kafka.git

commit 9f0ee8481b34f0064036e17cce2fdb566cd5395e
Author: Ismael Juma <is...@juma.me.uk>
AuthorDate: Sat Apr 10 20:42:55 2021 -0700

    MINOR: Remove gradleSetup from Jenkinsfile
---
 Jenkinsfile | 15 ---------------
 1 file changed, 15 deletions(-)

diff --git a/Jenkinsfile b/Jenkinsfile
index c9ea085..a966bf2 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -17,14 +17,6 @@
  *
  */
 
-def setupGradle() {
-  // Delete gradle cache to workaround cache corruption bugs, see KAFKA-3167
-  dir('.gradle') {
-    deleteDir()
-  }
-  sh './gradlew -version'
-}
-
 def doValidation() {
   sh """
     ./gradlew -PscalaVersion=$SCALA_VERSION clean compileJava compileScala compileTestJava compileTestScala \
@@ -125,7 +117,6 @@ pipeline {
             SCALA_VERSION=2.12
           }
           steps {
-            setupGradle()
             doValidation()
             doTest(env)
             tryStreamsArchetype()
@@ -145,7 +136,6 @@ pipeline {
             SCALA_VERSION=2.13
           }
           steps {
-            setupGradle()
             doValidation()
             doTest(env)
             echo 'Skipping Kafka Streams archetype test for Java 11'
@@ -165,7 +155,6 @@ pipeline {
             SCALA_VERSION=2.13
           }
           steps {
-            setupGradle()
             doValidation()
             doTest(env)
             echo 'Skipping Kafka Streams archetype test for Java 15'
@@ -182,7 +171,6 @@ pipeline {
             SCALA_VERSION=2.12
           }
           steps {
-            setupGradle()
             doValidation()
             catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') {
               doTest(env, 'unitTest')
@@ -214,7 +202,6 @@ pipeline {
             SCALA_VERSION=2.13
           }
           steps {
-            setupGradle()
             doValidation()
             doTest(env)
             tryStreamsArchetype()
@@ -238,7 +225,6 @@ pipeline {
             SCALA_VERSION=2.12
           }
           steps {
-            setupGradle()
             doValidation()
             doTest(env)
             echo 'Skipping Kafka Streams archetype test for Java 11'
@@ -262,7 +248,6 @@ pipeline {
             SCALA_VERSION=2.12
           }
           steps {
-            setupGradle()
             doValidation()
             doTest(env)
             echo 'Skipping Kafka Streams archetype test for Java 15'