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

for every 2 to 3 builds gradle or maven artifactoryPublish gets hang post Task :artifactoryDeploy

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Blocker Blocker
    • artifactory-plugin
    • openjdk11 , openjdk17 , Jenkins LTS 2.401.1 , artifactory plugin 3.18.6 / 3.18.3

      unable to publish artifacts  using maven or gradle artifactory plugin and it intermittently get hang forever. The pipeline looks very unstable as it keep hanging for every other build and which is more frequent since last 2 weeks.  

       

      It will just hang there and doesn't give any log or details even if we enable debug.

       

      *Any help at the earliest would be much appreciated.*

       

       

          [JENKINS-71708] for every 2 to 3 builds gradle or maven artifactoryPublish gets hang post Task :artifactoryDeploy

          Swamy created issue -
          Swamy made changes -
          Summary Original: for every 2to 3 buils gradle or maven artifactoryPublish gets hang post Task :artifactoryDeploy New: for every 2 to 3 builds gradle or maven artifactoryPublish gets hang post Task :artifactoryDeploy

          Swamy added a comment -

          eyalbe  - can you able to guide on any logs to get more details.?

          Swamy added a comment - eyalbe   - can you able to guide on any logs to get more details.?

          Swamy added a comment -

          eyalbe  - I could able to debug a little and it seems the - https://github.com/jenkinsci/artifactory-plugin/blob/master/src/main/java/org/jfrog/hudson/pipeline/common/Utils.java # line # 278 is just hanging there with launcher launcher org.csanchez.jenkins.plugins.kubernetes.pipeline.ContainerExecDecorator which was with pipeline kuberentes agent.

          but goes good when use node with scripted pipeline which is using the launcher RemoteLauncher[hudson.remoting.Channel

          Swamy added a comment - eyalbe   - I could able to debug a little and it seems the - https://github.com/jenkinsci/artifactory-plugin/blob/master/src/main/java/org/jfrog/hudson/pipeline/common/Utils.java # line # 278 is just hanging there with launcher launcher org.csanchez.jenkins.plugins.kubernetes.pipeline.ContainerExecDecorator which was with pipeline kuberentes agent. but goes good when use   node with scripted pipeline which is using the  launcher RemoteLauncher[hudson.remoting.Channel

          Yahav Itzhak added a comment -

          Fix in Jenkins Artifactory plugin 3.18.10.

          Yahav Itzhak added a comment - Fix in Jenkins Artifactory plugin 3.18.10.
          Yahav Itzhak made changes -
          Released As New: https://github.com/jfrog/jenkins-artifactory-plugin/releases/tag/artifactory-3.18.10
          Assignee Original: Eyal Ben Moshe [ eyalbe ] New: Yahav Itzhak [ yahaviz ]
          Resolution New: Fixed [ 1 ]
          Status Original: Open [ 1 ] New: Resolved [ 5 ]

          Abhishek added a comment - - edited

          We observed that version 3.18.10 was failing builds and it is now reverted. So reopening the issue until we find a permanent fix.

          Abhishek added a comment - - edited We observed that version 3.18.10 was failing builds and it is now reverted. So reopening the issue until we find a permanent fix.
          Abhishek made changes -
          Resolution Original: Fixed [ 1 ]
          Status Original: Resolved [ 5 ] New: Reopened [ 4 ]
          Abhishek made changes -
          Attachment New: image-2023-10-04-14-07-26-137.png [ 61252 ]
          Abhishek made changes -
          Attachment New: screenshot-1.png [ 61253 ]

            yahaviz Yahav Itzhak
            swamygoud18 Swamy
            Votes:
            0 Vote for this issue
            Watchers:
            10 Start watching this issue

              Created:
              Updated: