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

NPE when git publisher tries to push a tag


    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Component/s: git-plugin
    • Labels:
    • Environment:
      Linux x86_64 / Debian 6.0.5
      Sun java 1.6.0_26
      Jenkins 1.473
      Git plugin 1.1.24
    • Similar Issues:


      With the latest version of the git plugins, my jobs which push tags to the origin repository have started to fail

      Pushing HEAD to branch post-integration of origin repository
      ERROR: Failed to push tag 0.0.24 to origin
      	at hudson.plugins.git.GitPublisher$3.invoke(GitPublisher.java:290)
      	at hudson.plugins.git.GitPublisher$3.invoke(GitPublisher.java:268)
      	at hudson.FilePath$FileCallableWrapper.call(FilePath.java:2196)
      	at hudson.remoting.UserRequest.perform(UserRequest.java:118)
      	at hudson.remoting.UserRequest.perform(UserRequest.java:48)
      	at hudson.remoting.Request$2.run(Request.java:326)
      	at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)
      	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
      	at java.util.concurrent.FutureTask.run(FutureTask.java:166)
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
      	at java.lang.Thread.run(Thread.java:636)
      Build step 'Git Publisher' changed build result to FAILURE

      I rolled back to 1.1.23 and the same jobs started succeeding again. My jobs are configured to create and push a tag (determined by environment variable) in the git publisher step.



          nickrw Nick Robinson-Wall created issue -
          nickrw Nick Robinson-Wall made changes -
          Field Original Value New Value
          Summary NPE wi NPE when git publisher tries to push a tag
          nickrw Nick Robinson-Wall made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          rtyler R. Tyler Croy made changes -
          Workflow JNJira [ 146125 ] JNJira + In-Review [ 191787 ]
          markewaite Mark Waite made changes -
          Status Resolved [ 5 ] Closed [ 6 ]


            • Assignee:
              ndeloof Nicolas De Loof
              nickrw Nick Robinson-Wall
            • Votes:
              0 Vote for this issue
              3 Start watching this issue


              • Created: