上传的项目图片:“Jenkins Artifactory插件”
  1. Jenkins Artifactory插件
  2. hap - 1143

插件在脚本模式下以“运行”状态挂起

    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.1.0
    • 修复版本/ s: 3.1.1
    • 组件/ s: 常见的
    • 标签:
      没有一个
    • 回归:
      是的

      描述

      我在脚本模式下使用Jenkins Artifactory插件。直到2.16版本,一切都很好。在版本3中,它在调用run时挂起。试过Jenkins LTS和每周。

      Jenkinsfile:

      节点(标签:“linux”) {defkserver = Artifactory.server“konsecartifactory”defrtgradle = Artifactory.newGradleBuild() def buildInfo def uploadSpec = """{“文件”: [{“模式”“构建/ libs / * -fat.jar”“目标”“libs-snapshot-local / com/konsec/xxxx”}]}"""结帐SCM阶段(“Artifactory配置”) {// Jenkins配置中的工具名rtGradle。usesPlugin =真正的rtGradle。useWrapper =真正的//设置工件存储库依赖项解析和工件部署。rtGradle。解析器服务器:kserver, repo:“libs-release”rtGradle.deployer server: kserver, repo:“libs-release-local”}阶段(“Gradle构建”) {buildInfo = rtGradle.run tasks:“清洁artifactoryPublish”}}

      输出:

      由用户安德里亚斯·麦克开始重播#185在耐久性级别运行:MAX_SURVIVABILITY [Pipeline] Start of Pipeline [Pipeline] node Running on Jenkins in /data/jenkinshome/workspace/xxxx [Pipeline] {[Pipeline] getArtifactoryServer [Pipeline] newGradleBuild [Pipeline] checkout using credential 887228a7-6226-4e3b-9ba2-de269a6a3e98 > /opt/rh/rh-git29/root/usr/libexec/git-core/git revv -parse——is-in -work-tree # timeout=10从远程git存储库获取更改> /opt/rh/rh-git29/root/usr/libexec/git-core/git config remote.origin.urlssh: / / jenkins@xxxx / xxxx / xxx。git # timeout=10从ssh://jenkins@xxxx/xxxx/xxx获取上游更改。git > /opt/rh/rh-git29/root/usr/libexec/git-core/git——version # timeout=10 using GIT_SSH设置凭据> /opt/rh/rh-git29/root/usr/libexec/git-core/git fetch——tags——progress ssh://jenkins@xxxxxx/xxxx/xxx。git +refs/heads/*:refs/remotes/origin/* # timeout=10 > /opt/rh/rh-git29/root/usr/libexec/git-core/git rev-parse refs/remotes/origin/master^{commit} # timeout=10 > /opt/rh/rh-git29/root/usr/libexec/git-core/git rev-parse refs/remotes/origin/origin/master^{commit} # timeout=10检查版本43b71fbfdc268989a69490cb369826b50a65e1fe (refs/remotes/origin/master) > /opt/rh/rh-git29/root/usr/libexec/git-core/git config core。/opt/rh/rh-git29/root/usr/libexec/git-core/git checkout -f 43b71fbfdc268989a69490cb369826b50a65e1fe # timeout=10提交消息:> /opt/rh/rh-git29/root/usr/libexec/git-core/git rev-list——no-walk 43b71fbfdc268989a69490cb369826b50a65e1fe # timeout=10 [Pipeline] stage [Pipeline]{(人工配置)[Pipeline]} [Pipeline] // stage [Pipeline] stage [Pipeline] {(Gradle构建)[Pipeline] newBuildInfo [Pipeline] ArtifactoryGradleBuild

        附件

          问题的链接

            活动

              受让人:
              eyalbEyal Ben Moshe [X](非活跃)
              记者:
              andrm安德里亚斯·麦克(非活跃)
              投票:
              0 为这个问题投票
              观察人士:
              2 开始收看本期节目

                日期

                创建:
                更新:
                解决: