Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-48974

Pipeline Intermittent "Error grabbing Grapes" Issues

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • Jenkins: 2.73.2.1 workflow-cps-global-lib:2.9

      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)?

       

            Unassigned Unassigned
            stevendeal Steven Deal
            Votes:
            10 Vote for this issue
            Watchers:
            20 Start watching this issue

              Created:
              Updated: