Re: ConcurrentModificationException saving artifacts to GCP

2020-10-29 Thread Ivan Fernandez Calvo
Well, we really did not workaround the issue, it simply happens fewer times, the real solution will be https://github.com/jenkinsci/google-storage-plugin/pull/120 El jueves, 29 de octubre de 2020 a las 16:53:38 UTC+1, Ivan Fernandez Calvo escribió: > We have workaround the issue by using a sem

Re: ConcurrentModificationException saving artifacts to GCP

2020-10-29 Thread Ivan Fernandez Calvo
We have workaround the issue by using a semaphore to call the GCP storage step import groovy.transform.Field @Field def lock = false @NonCPS def setLock(){ synchronized(lock) { lock = true } } @NonCPS def setUnlock(){ synchronized(lock) { lock = false } } @NonCPS def isLock(){

ConcurrentModificationException saving artifacts to GCP

2020-10-28 Thread kuisathaverat
Hi, We are facing some issues with a job that has about 100 stages in parallel, we track down the issue and it happens when we storage artifacts on GCP in parallel, the thing is that I am not sure it is related to the plugin directly, Could someone take a look to this stack trace and confirm that