我的jenkins pipeline从过去两年一直运行没有任何问题,在从jfrog artifactory下载工件时突然开始出现故障。请查看错误:
an exception which occurred:
in field org.jfrog.hudson.pipeline.common.types.buildInfo.BuildInfo.publishedDependencies
in object org.jfrog.hudson.pipeline.common.types.buildInfo.BuildInfo@39d880ff
in field org.jfrog.hudson.pipeline.declarative.steps.generic.GenericStep$Execution.buildInfo
in object org.jfrog.hudson.pipeline.declarative.steps.generic.DownloadStep$Execution@2a2149fe
in field org.jenkinsci.plugins.workflow.cps.CpsThread.step
in object org.jenkinsci.plugins.workflow.cps.CpsThread@7d25da24
in field org.jenkinsci.plugins.workflow.cps.CpsThreadGroup.threads
in object org.jenkinsci.plugins.workflow.cps.CpsThreadGroup@60f1b3f9
in object org.jenkinsci.plugins.workflow.cps.CpsThreadGroup@60f1b3f9
Caused: java.util.ConcurrentModificationException
at java.util.ArrayList$Itr.checkForComodification(ArrayList.java:907)
at java.util.ArrayList$Itr.next(ArrayList.java:857)
at org.jboss.marshalling.river.RiverMarshaller.doWriteObject(RiverMarshaller.java:568)
at org.jboss.marshalling.river.RiverMarshaller.doWriteFields(RiverMarshaller.java:1032)
at org.jboss.marshalling.river.RiverMarshaller.doWriteSerializableObject(RiverMarshaller.java:988)
at org.jboss.marshalling.river.RiverMarshaller.doWriteObject(RiverMarshaller.java:854)
at org.jboss.marshalling.river.RiverMarshaller.doWriteFields(RiverMarshaller.java:1032)
at org.jboss.marshalling.river.RiverMarshaller.doWriteSerializableObject(RiverMarshaller.java:988)
at org.jboss.marshalling.river.RiverMarshaller.doWriteSerializableObject(RiverMarshaller.java:967)
1条答案
按热度按时间2ledvvac1#
根据提供的生成日志片段,我们无法确定问题的确切原因。因此,请在生成执行期间验证Artifactory应用程序日志,这有助于关联事件并帮助查找原因。
此外,由于下载工件时构建作业失败,为了排除工件在Artifactory应用程序端可用性方面的问题,请确认是否存在相同的工件。