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 <[email protected]> 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'
