[JIRA] (JENKINS-51534) Git Publisher fails with NPE when trying to push a tag

2018-05-24 Thread mark.earl.wa...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Mark Waite edited a comment on  JENKINS-51534  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Git Publisher fails with NPE when trying to push a tag   
 

  
 
 
 
 

 
 Please provide more details of the job definition which is being used to create the tag and push it.  For example, answers to the following questions are needed:# What are the steps to reproduce the problem?# What job type (Freestyle, Pipeline, Multi-branch Pipeline, Matrix, ...)?# What is the git source server and what protocol is being used (ssh or https)?# What is the credential type used for the git publisher (private key or username/password)? Based on the stack trace and [this line|https://github.com/jenkinsci/git-plugin/blob/a7264a2c84a935b6444032c50820d34521d55f43/src/main/java/hudson/plugins/git/GitPublisher.java#L192] in the plugin source code, I'd guess that the project name is set to null.  That is quite unexpected since a project name is seen by users.  I don't know how a user would react to a null or empty project name,.  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] (JENKINS-51534) Git Publisher fails with NPE when trying to push a tag

2018-05-24 Thread mark.earl.wa...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Mark Waite commented on  JENKINS-51534  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Git Publisher fails with NPE when trying to push a tag   
 

  
 
 
 
 

 
 Please provide more details of the job definition which is being used to create the tag and push it. For example, answers to the following questions are needed: 
 
What are the steps to reproduce the problem? 
What job type (Freestyle, Pipeline, Multi-branch Pipeline, Matrix, ...)? 
What is the git source server and what protocol is being used (ssh or https)? 
What is the credential type used for the git publisher (private key or username/password)? 
  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] (JENKINS-51534) Git Publisher fails with NPE when trying to push a tag

2018-05-24 Thread mark.earl.wa...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Mark Waite assigned an issue to Unassigned  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-51534  
 
 
  Git Publisher fails with NPE when trying to push a tag   
 

  
 
 
 
 

 
Change By: 
 Mark Waite  
 
 
Assignee: 
 Mark Waite  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] (JENKINS-51534) Git Publisher fails with NPE when trying to push a tag

2018-05-24 Thread gunnar.schu...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Gunnar Schulze created an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-51534  
 
 
  Git Publisher fails with NPE when trying to push a tag   
 

  
 
 
 
 

 
Issue Type: 
  Bug  
 
 
Assignee: 
 Mark Waite  
 
 
Components: 
 git-plugin  
 
 
Created: 
 2018-05-24 20:40  
 
 
Environment: 
 Jenkins 2.124  Git plugin 3.9.0  Release plugin 2.10.1  
 
 
Priority: 
  Major  
 
 
Reporter: 
 Gunnar Schulze  
 

  
 
 
 
 

 
 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)