上传项目图片:“Jenkins Artifactory Plug-in”
  1. Jenkins Artifactory插件
  2. hap - 1000

如果存在太多的文件/文件夹,通过规范进行部署是行不通的

    XML 可打印的

    细节

    • 类型: 错误
    • 状态: Resolved
      A resolution has been taken, and it is awaiting verification by reporter. From here issues are either reopened, or are closed.">解决
    • 解决方法: 完成
    • 影响版本/ s: 2.13.0
    • 修复版本/ s: 2.16.0
    • 组件/ s: 常见的
    • 标签:
    • 环境:

      詹金斯2.84

      描述

      我尝试使用spec部署一个特定的文件:

      “文件”: [{“模式”“$ {WORKSPACE} / build_info.txt”“目标”“test_repo / $ {BUILD_ID} /”“道具”“test_prop1 = 1; test_prop2 = 2”}]}

      结果是:

      Jenkins Artifactory插件版本:2.13.0错误:发现太多候选文件。java.lang.IllegalStateException:找到太多候选文件。在org.jfrog.build.extractor.clientConfiguration.util.FileCollectionUtil.collectFiles org.jfrog.build.extractor.clientConfiguration.util.FileCollectionUtil.isPassedLimit (FileCollectionUtil.java: 94) (FileCollectionUtil.java: 77) org.jfrog.build.extractor.clientConfiguration.util.FileCollectionUtil.collectFiles (FileCollectionUtil.java: 35) org.jfrog.build.extractor.clientConfiguration.util.spec.UploadSpecHelper.collectMatchedFilesByWildcard (UploadSpecHelper.java: 92)org.jfrog.build.extractor.clientConfiguration.util.spec.UploadSpecHelper.buildPublishingData (UploadSpecHelper.java: 68) org.jfrog.build.extractor.clientConfiguration.util.spec.SpecsHelper.buildTargetPathToFiles (SpecsHelper.java: 242) org.jfrog.build.extractor.clientConfiguration.util.spec.SpecsHelper.getDeployDetails (SpecsHelper.java: 133) org.jfrog.build.extractor.clientConfiguration.util.spec.SpecsHelper.uploadArtifactsBySpec org.jfrog.hudson (SpecsHelper.java: 64)。通用的. genericartifactsdeployer $ filesdeployercallables .invoke(GenericArtifactsDeployer.java:189)在org.jfrog.hudson。通用的.GenericArtifactsDeployer FilesDeployerCallable.invoke美元(GenericArtifactsDeployer.java: 130)美元hudson.FilePath FileCallableWrapper.call (FilePath.java: 2761) hudson.remoting.UserRequest.perform (UserRequest.java: 205) hudson.remoting.UserRequest.perform (UserRequest.java: 52) hudson.remoting.Request运行2.美元1.美元(Request.java: 356)在hudson.remoting.InterceptingExecutorService调用(InterceptingExecutorService.java: 72) java.util.concurrent.FutureTask.run (FutureTask.java: 266)java.util.concurrent.ThreadPoolExecutor. runworker (ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang。线程.run (线程.java:748) Suppressed: hudson.remoting。通道$CallSiteStackTrace:远程调用CentOS7_slave at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1655) at hudson.remoting.UserResponse.retrieve(UserRequest.java:308) at hudson.remoting.Channel.call(Channel.java:904) at hudson.FilePath.act(FilePath.java:987) at hudson.FilePath.act(FilePath.java:976) at org.jfrog.hudson。通用的. genericartifactsdeploy .deploy(genericartifactsdeploy .java:76)在org.jfrog.hudson。通用的.ArtifactoryGenericConfigurator$1.tearDown(ArtifactoryGenericConfigurator.java:401) at hudson.model.AbstractBuild$ BuildExecution.doRun(Build.java:174) at hudson.model.AbstractBuild .run .execute(Run.java: 496) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java: 1724) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) at hudson.model.ResourceController.execute(ResourceController.java:97) at hudson.model.Executor.run(execute .java:421)

      只有当要部署的文件位于包含许多子文件夹和文件(>400000)的文件夹中时,才会发生此错误。然而,对于遗留模式,它是有效的。

        附件

          活动

            受让人:
            barbBar Belity [X](不活跃)
            记者:
            shildweinSamuel Hildwein(不活跃)
            投票:
            2 为这个问题投票
            观察人士:
            5 开始关注这个问题

              日期

              创建:
              更新:
              解决: