Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-55975

Artifactory Plugin stuck on "artifactoryMavenBuild" in Pipeline after latest upgrade of plugin

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Blocker Blocker
    • artifactory-plugin
    • None
    • Jenkins ver. 2.150.2
      Artifactory Plugin 3.1.0
      All plugins are up-to-date

      We upgraded the artifactory plugin to 3.0.0 now (3.1.0) and our Pipeline builds stuck on artifactoryMavenBuild:

      [Pipeline] { (Maven Build)
      [Pipeline] script
      [Pipeline] {
      [Pipeline] newBuildInfo
      [Pipeline] artifactoryMavenBuild
      


      This is pipeline configuration:
      Artifactory server is predefined in general configuration, also as credentialsId and rtMaven.tool (Maven)

       

      def server = Artifactory.server "Master"
      server.credentialsId = 'Artifactory'
      def rtMaven = Artifactory.newMavenBuild()
      rtMaven.tool = "Maven"
      def buildInfo
      
      stage('Maven Build') {
          steps {
              script {
                  buildInfo = rtMaven.run pom: 'appname/pom.xml', goals: '-U clean install -P dev -Dmaster.name=${Cluster} -Dcore.version=${CORE_VERSION}'
                  buildInfo.retention maxBuilds: 10, maxDays: 5, deleteBuildArtifacts: true
              }
          }
      }
      

          [JENKINS-55975] Artifactory Plugin stuck on "artifactoryMavenBuild" in Pipeline after latest upgrade of plugin

          Kalin Borisov created issue -
          Kalin Borisov made changes -
          Description Original: We upgraded the artifactory plugin to 3.0.0 now (3.1.0) and our Pipeline builds stuck on artifactoryMavenBuild:
          [Pipeline] { (Maven Build)[Pipeline] script[Pipeline] {[Pipeline] newBuildInfo[Pipeline] artifactoryMavenBuild
          !http://jenkins.plat.sbtech.com:8080/static/a97beba2/images/spinner.gif!
          This is pipeline configuration:
          Artifactory server is predefined in general configuration, also as credentialsId and rtMaven.tool (Maven)

          {code:java}
          def server = Artifactory.server "Master"
          server.credentialsId = 'Artifactory'
          def rtMaven = Artifactory.newMavenBuild()
          rtMaven.tool = "Maven"
          def buildInfo

          stage('Maven Build') {
              steps {
                  script {
                      buildInfo = rtMaven.run pom: 'appname/pom.xml', goals: '-U clean install -P dev -Dmaster.name=${Cluster} -Dcore.version=${CORE_VERSION}'
                      buildInfo.retention maxBuilds: 10, maxDays: 5, deleteBuildArtifacts: true
                  }
              }
          }
          {code}
          New: We upgraded the artifactory plugin to 3.0.0 now (3.1.0) and our Pipeline builds stuck on artifactoryMavenBuild:
          {code:java}
          [Pipeline] { (Maven Build)
          [Pipeline] script
          [Pipeline] {
          [Pipeline] newBuildInfo
          [Pipeline] artifactoryMavenBuild
          {code}
          !http://jenkins.plat.sbtech.com:8080/static/a97beba2/images/spinner.gif!
           This is pipeline configuration:
           Artifactory server is predefined in general configuration, also as credentialsId and rtMaven.tool (Maven)

           
          {code:java}
          def server = Artifactory.server "Master"
          server.credentialsId = 'Artifactory'
          def rtMaven = Artifactory.newMavenBuild()
          rtMaven.tool = "Maven"
          def buildInfo

          stage('Maven Build') {
              steps {
                  script {
                      buildInfo = rtMaven.run pom: 'appname/pom.xml', goals: '-U clean install -P dev -Dmaster.name=${Cluster} -Dcore.version=${CORE_VERSION}'
                      buildInfo.retention maxBuilds: 10, maxDays: 5, deleteBuildArtifacts: true
                  }
              }
          }
          {code}
          Kalin Borisov made changes -
          Component/s New: git-client-plugin [ 17423 ]
          Component/s New: git-plugin [ 15543 ]
          Mark Waite made changes -
          Component/s Original: git-client-plugin [ 17423 ]
          Component/s Original: git-plugin [ 15543 ]

            eyalbe Eyal Ben Moshe
            bgofche Kalin Borisov
            Votes:
            2 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: