上传的图片项目:“Jenkins Artifactory插件”
  1. 詹金斯Artifactory插件
  2. hap - 1230

S3云存储直接下载导致400个错误

    XML 可打印的

    细节

    • 类型: 错误
    • 状态: Resolved
      A resolution has been taken, and it is awaiting verification by reporter. From here issues are either reopened, or are closed.">解决
    • 解决方法: 完成
    • 影响版本/ s: 3.0.03.2.1之上
    • 修复版本/ s: 3.4.0
    • 组件/ s: 没有一个
    • 标签:
      没有一个

      描述

      在所有CI插件版本中,使用Artifactory Jenkins plugin时,直接S3下载重定向似乎会失败。

      重现步骤:

      1. 是否将Artifactory配置为使用直接云存储下载
        将“最小直接云存储下载大小”设置为“0”,这样管道示例就会导致错误
      1. 举一个詹金斯在仓库工作的例子
      2. 在Jenkins管道中遇到400错误:

      [Artifactory request.log]

      20190827214650 | 8 | |请求RESTRICTED_IP管理| | |头/ libs-snapshot-local ArtifactoryPipelineNoProps.zip HTTP / 1.1 | 200 | 0 |

      请求20190827214650 51 | | | RESTRICTED_IP管理| | | / libs-snapshot-local / ArtifactoryPipelineNoProps.zip HTTP / 1.1 | 302 | 0 |

      (Jenkins构建日志)

      下载“RESTRICTED_URL”……
      (管道)
      (管道)/ /节点
      (管道)的管道
      java.io.IOException:下载limitted_url错误。代码:400消息:错误请求
      org.jfrog.build.extractor.clientConfiguration.client.ArtifactoryDependenciesClient.executeDownload (ArtifactoryDependenciesClient.java: 207)
      org.jfrog.build.extractor.clientConfiguration.client.ArtifactoryDependenciesClient.downloadArtifact (ArtifactoryDependenciesClient.java: 167)
      org.jfrog.build.extractor.clientConfiguration.util.DependenciesDownloaderHelper.downloadFile (DependenciesDownloaderHelper.java: 240)
      org.jfrog.build.extractor.clientConfiguration.util.DependenciesDownloaderHelper.downloadArtifact (DependenciesDownloaderHelper.java: 220)
      引起的:java.io.IOException
      org.jfrog.build.extractor.clientConfiguration.util.DependenciesDownloaderHelper.downloadArtifact (DependenciesDownloaderHelper.java: 232)
      org.jfrog.build.extractor.clientConfiguration.util.DependenciesDownloaderHelper.downloadArtifact (DependenciesDownloaderHelper.java: 193)
      org.jfrog.build.extractor.clientConfiguration.util.DependenciesDownloaderHelper.downloadDependencies (DependenciesDownloaderHelper.java: 131)
      org.jfrog.build.extractor.clientConfiguration.util.DependenciesDownloaderHelper.downloadDependencies (DependenciesDownloaderHelper.java: 90)
      org.jfrog.build.extractor.clientConfiguration.util.spec.SpecsHelper.downloadArtifactsBySpec (SpecsHelper.java: 142)
      在org.jfrog.hudson.generic.FilesResolverCallable.invoke (FilesResolverCallable.java: 48)
      org.jfrog.hudson.generic.FilesResolverCallable.invoke (FilesResolverCallable.java: 20)
      hudson.FilePath.act (FilePath.java: 1078)
      hudson.FilePath.act (FilePath.java: 1061)
      在org.jfrog.hudson.pipeline.common.executors.GenericDownloadExecutor.execute (GenericDownloadExecutor.java: 47)
      org.jfrog.hudson.pipeline.scripted.steps.DownloadStep Execution.run美元(DownloadStep.java: 73)
      org.jfrog.hudson.pipeline.scripted.steps.DownloadStep Execution.run美元(DownloadStep.java: 52)
      在org.jenkinsci.plugins.workflow.steps.AbstractSynchronousNonBlockingStepExecution 1美元1.美元调用(AbstractSynchronousNonBlockingStepExecution.java: 47)
      hudson.security.ACL.impersonate (ACL.java: 290)
      在org.jenkinsci.plugins.workflow.steps.AbstractSynchronousNonBlockingStepExecution 1.美元运行(AbstractSynchronousNonBlockingStepExecution.java: 44)
      java.util.concurrent.Executors RunnableAdapter.call美元(Executors.java: 511)
      java.util.concurrent.FutureTask.run (FutureTask.java: 266)
      java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java: 1149)
      java.util.concurrent.ThreadPoolExecutor Worker.run美元(ThreadPoolExecutor.java: 624)
      java.lang.Thread.run (Thread.java: 748)
      完成:失败

        附件

          问题的链接

            活动

              受让人:
              eyalb埃亚尔·本·摩西[X](未激活)
              记者:
              patrickr帕特里克·罗素
              投票:
              1 为这个问题投票
              观察人士:
              5 开始关注这个问题

                日期

                创建:
                更新:
                解决: