Skip to content

Commit 26d12a8

Browse files
committed
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.
1 parent 1ca0f9c commit 26d12a8

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

Jenkinsfile

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,10 @@ def runTests(String image) {
3939
export PATH=$GRADLE_USER_HOME:$JAVA_HOME/bin:$PATH
4040
cd java-client-api
4141
42+
echo "Temporary fix for mysterious issue with okhttp3 being corrupted in local Maven cache."
43+
ls -la ~/.m2/repository/com/squareup
44+
rm -rf ~/.m2/repository/com/squareup/okhttp3/
45+
4246
echo "Ensure all subprojects can be built first."
4347
./gradlew clean build -x test
4448
@@ -90,6 +94,10 @@ def runTestsWithReverseProxy(String image) {
9094
export PATH=$GRADLE_USER_HOME:$JAVA_HOME/bin:$PATH
9195
cd java-client-api
9296
97+
echo "Temporary fix for mysterious issue with okhttp3 being corrupted in local Maven cache."
98+
ls -la ~/.m2/repository/com/squareup
99+
rm -rf ~/.m2/repository/com/squareup/okhttp3/
100+
93101
echo "Ensure all subprojects can be built first."
94102
./gradlew clean build -x test
95103
@@ -188,6 +196,10 @@ pipeline {
188196
export PATH=$GRADLE_USER_HOME:$JAVA_HOME/bin:$PATH
189197
cd java-client-api
190198
199+
echo "Temporary fix for mysterious issue with okhttp3 being corrupted in local Maven cache."
200+
ls -la ~/.m2/repository/com/squareup
201+
rm -rf ~/.m2/repository/com/squareup/okhttp3/
202+
191203
echo "Ensure all subprojects can be built first."
192204
./gradlew clean build -x test
193205

0 commit comments

Comments
 (0)