[JIRA] (JENKINS-50401) Checkout resolution misbehaves with local branch and forward slashes

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


 
 
 
 

 
 
 

 
   
 Mark Waite edited a comment on  JENKINS-50401  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Checkout resolution misbehaves with local branch and forward slashes   
 

  
 
 
 
 

 
 [~mramonleon] I don't remember why I marked this as fixed but not released without linking a pull request or providing some other comment to justify that change.  Neither this bug nor either of the linked bugs are mentioned in the [git plugin 4.0.0 changelog| [ https://github.com/jenkinsci/git-plugin/releases/tag/git-4.0.0] ]  or in the [git client plugin 3.0.0 changelog| [ https://github.com/jenkinsci/git-client-plugin/releases/tag/git-client-3.0.0 |https://github.com/jenkinsci/git-plugin/releases/tag/git-4.0.0 ] ] .  I've corrected my mistake and placed it back into 'OPEN' state.  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)  
 
 

 
   
 

  
 

  
 

   





-- 
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.189455.1522069171000.2228.1578153600341%40Atlassian.JIRA.


[JIRA] (JENKINS-50401) Checkout resolution misbehaves with local branch and forward slashes

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


 
 
 
 

 
 
 

 
   
 Mark Waite commented on  JENKINS-50401  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Checkout resolution misbehaves with local branch and forward slashes   
 

  
 
 
 
 

 
 Ramon Leon I don't remember why I marked this as fixed but not released without linking a pull request or providing some other comment to justify that change.  Neither this bug nor either of the linked bugs are mentioned in the [git plugin 4.0.0 changelog|https://github.com/jenkinsci/git-plugin/releases/tag/git-4.0.0] or in the [git client plugin 3.0.0 changelog|https://github.com/jenkinsci/git-client-plugin/releases/tag/git-client-3.0.0].  I've corrected my mistake and placed it back into 'OPEN' state.  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)  
 
 

 
   
 

  
 

  
 

   





-- 
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.189455.1522069171000..1578153480162%40Atlassian.JIRA.


[JIRA] (JENKINS-50401) Checkout resolution misbehaves with local branch and forward slashes

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


 
 
 
 

 
 
 

 
   
 Mark Waite updated  JENKINS-50401  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-50401  
 
 
  Checkout resolution misbehaves with local branch and forward slashes   
 

  
 
 
 
 

 
Change By: 
 Mark Waite  
 
 
Resolution: 
 Fixed  
 
 
Status: 
 Fixed but Unreleased Reopened  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)  
 
 

 
   
 

  
 

  
 

   





-- 
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.189455.1522069171000.2216.1578153180635%40Atlassian.JIRA.


[JIRA] (JENKINS-50401) Checkout resolution misbehaves with local branch and forward slashes

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


 
 
 
 

 
 
 

 
   
 Mark Waite updated  JENKINS-50401  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-50401  
 
 
  Checkout resolution misbehaves with local branch and forward slashes   
 

  
 
 
 
 

 
Change By: 
 Mark Waite  
 
 
Status: 
 Reopened Open  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)  
 
 

 
   
 

  
 

  
 

   





-- 
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.189455.1522069171000.2218.1578153180675%40Atlassian.JIRA.


[JIRA] (JENKINS-50401) Checkout resolution misbehaves with local branch and forward slashes

2020-01-03 Thread manuelramonleonjime...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Ramon Leon commented on  JENKINS-50401  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Checkout resolution misbehaves with local branch and forward slashes   
 

  
 
 
 
 

 
 Mark Waite I'm a bit confused about this. Is it fixed actually? Which version? I saw this PR but it was closed without merging https://github.com/jenkinsci/branch-api-plugin/pull/47 Thank you.  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)  
 
 

 
   
 

  
 

  
 

   





-- 
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.189455.1522069171000.2000.1578058140232%40Atlassian.JIRA.


[JIRA] (JENKINS-50401) Checkout resolution misbehaves with local branch and forward slashes

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


 
 
 
 

 
 
 

 
   
 Mark Waite updated  JENKINS-50401  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-50401  
 
 
  Checkout resolution misbehaves with local branch and forward slashes   
 

  
 
 
 
 

 
Change By: 
 Mark Waite  
 
 
Status: 
 Open Fixed but Unreleased  
 
 
Resolution: 
 Fixed  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)  
 

  
 

   





-- 
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-50401) Checkout resolution misbehaves with local branch and forward slashes

2018-10-22 Thread jh-jenkins...@drowl.co.uk (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 James Housley commented on  JENKINS-50401  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Checkout resolution misbehaves with local branch and forward slashes   
 

  
 
 
 
 

 
 I was having this issue when using "origin" as the "Name" of my git repository in the job's settings, and then using e.g. "abc/def" as my branch specifier. Removing the Name and instead using "origin/abc/def" as my branch specifier fixed the issue.  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)  
 

  
 

   





-- 
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-50401) Checkout resolution misbehaves with local branch and forward slashes

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


 
 
 
 

 
 
 

 
   
 Mark Waite assigned an issue to Unassigned  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-50401  
 
 
  Checkout resolution misbehaves with local branch and forward slashes   
 

  
 
 
 
 

 
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-50401) Checkout resolution misbehaves with local branch and forward slashes

2018-03-26 Thread step...@codefreeze.ch (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Stephan Hauser created an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-50401  
 
 
  Checkout resolution misbehaves with local branch and forward slashes   
 

  
 
 
 
 

 
Issue Type: 
  Bug  
 
 
Assignee: 
 Mark Waite  
 
 
Components: 
 git-plugin  
 
 
Created: 
 2018-03-26 12:59  
 
 
Environment: 
 Jenkins 2.107.1, git-plugin 2.7.1  
 
 
Priority: 
  Minor  
 
 
Reporter: 
 Stephan Hauser  
 

  
 
 
 
 

 
 If the git plugin uses a local branch which is named the same as the remote and contains a forward slash, it will cause the checkout command to not update to the latest commit. Since using branches with / is common and local branch might be necessary, this should be fixed or at least produce a warning. To test: Create the following pipeline: 

 

node {
  stage ('hello') {
    dir ('foo') {
  checkout([$class: 'GitSCM', branches: [[name: "foo/bar"]], extensions: [[$class: 'LocalBranch', localBranch: 'foo/bar']], userRemoteConfigs: [[credentialsId: '...', url: "..."]]])
    }
  }
} 

 And follow these steps: 
 
Push branch foo/bar 
Run pipeline 
Push branch foo/bar with new versions 
Re-run pipeline in same folder 
 The output should have the following contents: