From d771d426049dd74bf6a5f86d66a63dca0d39c10a Mon Sep 17 00:00:00 2001 From: Rob Rudin Date: Wed, 8 Oct 2025 15:12:43 -0400 Subject: [PATCH] MLE-24523 Hopefully fixing okhttp compile error I had this happen locally today, and clearing okhttp from my local Maven cache fixed the problem. No idea what's going wrong here, but it happened in the regression jobs. --- Jenkinsfile | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/Jenkinsfile b/Jenkinsfile index 29365e947..80dffa13a 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -39,6 +39,10 @@ def runTests(String image) { export PATH=$GRADLE_USER_HOME:$JAVA_HOME/bin:$PATH cd java-client-api + echo "Temporary fix for mysterious issue with okhttp3 being corrupted in local Maven cache." + ls -la ~/.m2/repository/com/squareup + rm -rf ~/.m2/repository/com/squareup/okhttp3/ + echo "Ensure all subprojects can be built first." ./gradlew clean build -x test @@ -90,6 +94,10 @@ def runTestsWithReverseProxy(String image) { export PATH=$GRADLE_USER_HOME:$JAVA_HOME/bin:$PATH cd java-client-api + echo "Temporary fix for mysterious issue with okhttp3 being corrupted in local Maven cache." + ls -la ~/.m2/repository/com/squareup + rm -rf ~/.m2/repository/com/squareup/okhttp3/ + echo "Ensure all subprojects can be built first." ./gradlew clean build -x test @@ -188,6 +196,10 @@ pipeline { export PATH=$GRADLE_USER_HOME:$JAVA_HOME/bin:$PATH cd java-client-api + echo "Temporary fix for mysterious issue with okhttp3 being corrupted in local Maven cache." + ls -la ~/.m2/repository/com/squareup + rm -rf ~/.m2/repository/com/squareup/okhttp3/ + echo "Ensure all subprojects can be built first." ./gradlew clean build -x test