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

Git Publisher fails with NPE when trying to push a tag

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: Major Major
    • git-plugin
    • None
    • Jenkins 2.124
      Git plugin 3.9.0
      Release plugin 2.10.1

      When trying to use the Git Publisher to push a tag after a successful release build, the build fails with the following exception:

      java.lang.NullPointerException
      at hudson.plugins.git.GitPublisher.perform(GitPublisher.java:192)
      at hudson.plugins.release.ReleaseWrapper.executeBuildSteps(ReleaseWrapper.java:417)
      at hudson.plugins.release.ReleaseWrapper.access$300(ReleaseWrapper.java:102)
      at hudson.plugins.release.ReleaseWrapper$4.tearDown(ReleaseWrapper.java:364)
      at hudson.model.Build$BuildExecution.doRun(Build.java:174)
      at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:504)
      at hudson.model.Run.execute(Run.java:1794)
      at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
      at hudson.model.ResourceController.execute(ResourceController.java:97)
      at hudson.model.Executor.run(Executor.java:429)

            Unassigned Unassigned
            gschulze Gunnar Schulze
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: