-
Bug
-
Resolution: Fixed
-
Minor
-
None
-
Jenkins: 2.73.2.1 workflow-cps-global-lib:2.9
-
-
749.v70084559234a_
Intermittently, when a pipeline uses the "@Grab" notation, it results in the following error:
java.lang.RuntimeException: Error grabbing Grapes – [unresolved dependency: commons-codec#commons-codec;1.9: java.util.ConcurrentModificationException at java.util.ArrayList$Itr.checkForComodification(ArrayList.java:909)]
If this is related to GROOVY-7407, perhaps the recommended WorkaroundGroovy7407WrappingGrapeEngine.java could be imported into workflow-cps-global-lib and called the first time a trusted library is loaded (before it can attempt to grab anything)?
- is duplicated by
-
JENKINS-75141 Concurrent '@Grab' May Lead to 'Error grabbing Grapes' Error Due to Lack of Lock on Ivy Cache
-
- Closed
-
- links to
Yes sag47 Yes
Jenkins Embarrassed me in this area also.
A shared library with more than 50 functions (vars) is no useless until fixing this issue :
The issue appeared previously, and i was able to fix it by :
But now خلاص , we are done. we have to see alternatives