[JIRA] (JENKINS-35162) git plugin does not respect refspec

2016-08-01 Thread mark.earl.wa...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Mark Waite commented on  JENKINS-35162  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: git plugin does not respect refspec   
 

  
 
 
 
 

 
 Michael Fowler, the git plugin prior to 2.5.1 ignored the refspec on initial clone (as described in JENKINS-31393). Git plugin 2.5.1 and 2.5.2 honor the refspec on initial clone. Unfortunately, that broke several use cases (as described in JENKINS-36507 and JENKINS-36563 and JENKINS-21845) Git plugin 2.5.3 (released 30 July 2016) returns to the default behavior of git plugin prior to 2.5.1 by ignoring the refspec on initial clone, but extends "Advanced clone behaviours" with the option "Honor refspec on initial clone". I would have preferred to make the default behavior honor the refspec on initial clone, but there did not seem to be any way to retain at least one of the existing use cases and still default to honor refspec on initial clone. Could you check this with git plugin 2.5.3?  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c)  
 
 

 
   
 

  
 

  
 

   





-- 
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-35162) git plugin does not respect refspec

2016-08-01 Thread mark.earl.wa...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Mark Waite resolved as Fixed  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-35162  
 
 
  git plugin does not respect refspec   
 

  
 
 
 
 

 
Change By: 
 Mark Waite  
 
 
Status: 
 Open Resolved  
 
 
Resolution: 
 Fixed  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c)  
 
 

 
   
 

  
 

  
 

   





-- 
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-35162) git plugin does not respect refspec

2016-07-01 Thread mark.earl.wa...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Mark Waite commented on  JENKINS-35162  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: git plugin does not respect refspec   
 

  
 
 
 
 

 
 Could explain in more detail (or with examples) what you mean when you say that "Jenkins would not include the repo name in the branch name"? Is your goal to checkout a local branch named like the remote branch, as in "master" is checked out if the remote branch is "origin/master"? If so, then you can get that with git plugin 2.4.4 and later using the "Checkout to local branch" additional behaviour. Use the value "**", or leave the field blank. The plugin will then infer the branch name from the remote branch name.  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c)  
 
 

 
   
 

  
 

  
 

   





-- 
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.