| I also faced this issue intermittently. But, the no. of occurrences of failure is really high compared to success. Adding a sleep of 4 minutes at the end of script made it work. Artifactory plugin publishes artifacts after the script finishes. Somehow artifacts are always published, but afterwards, this error happens. The issue was not reproducible for iOS build happening on the same slave machine. Only Android build had this issue. So, I did not explore along the line of java version problem mentioned here. |