[JIRA] [git-client-plugin] (JENKINS-30177) Git checkout fails when branch is not */master

2015-08-27 Thread mike.ba...@32past8.com (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Michael Bauer created an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Jenkins /  JENKINS-30177 
 
 
 
  Git checkout fails when branch is not */master  
 
 
 
 
 
 
 
 
 

Issue Type:
 
  Bug 
 
 
 

Assignee:
 
 Nicolas De Loof 
 
 
 

Components:
 

 git-client-plugin, git-plugin 
 
 
 

Created:
 

 27/Aug/15 2:24 PM 
 
 
 

Environment:
 

 Jenkins 1.609.2 (using jenkins Docker container)   plugins:    git-client-plugin: 1.19.0    git-plugin: 2.4.0 
 
 
 

Priority:
 
  Major 
 
 
 

Reporter:
 
 Michael Bauer 
 
 
 
 
 
 
 
 
 
 
I have a private repo that I added a dev branch too. I am trying to build off the dev branch, but I get: 

 
Building in workspace /var/jenkins_home/jobs/Strata Consulting App (Dev)/workspace
Cloning the remote Git repository
Cloning repository g...@bitbucket.org:mbabauer/strata_home_inspection.git
 > git init /var/jenkins_home/jobs/Strata Consulting App (Dev)/workspace/strata_home_inspection # timeout=10
Fetching upstream changes from g...@bitbucket.org:mbabauer/strata_home_inspection.git
 > git --version # timeout=10
using GIT_SSH to set credentials 
 > git -c core.askpass=true fetch --tags --progress g...@bitbucket.org:mbabauer/strata_home_inspection.git +refs/heads/*:refs/remotes/origin/*
 > git config remote.origin.url g...@bitbucket.org:mbabauer/strata_home_inspection.git # timeout=10
 > git config --add remote.origin.fetch +refs/heads/*:refs/remo

[JIRA] [git-client-plugin] (JENKINS-30177) Git checkout fails when branch is not */master

2015-08-27 Thread mark.earl.wa...@gmail.com (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Mark Waite commented on  JENKINS-30177 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: Git checkout fails when branch is not */master  
 
 
 
 
 
 
 
 
 
 
You say that you're trying to build off the dev branch, but don't specify the value you're using for the "Branches to build". Are you using "/", or "dev" or "*/dev" or "refs/heads/dev"? Based on the log, I guess you might be using "dev", but that seems inconsistent with your statement that your work around includes "set the branch to my dev branch". 
Are you able to duplicate the problem in a freshly created job? If so, can you provide the job configuration file or the steps you use to define that job? I'm aware that newly created jobs which use the refs/heads/branch_name syntax seem unable to find a revision to build, but I don't recall other readily repeated cases where a revision can't be found. 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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] [git-client-plugin] (JENKINS-30177) Git checkout fails when branch is not */master

2015-08-27 Thread mike.ba...@32past8.com (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Michael Bauer commented on  JENKINS-30177 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: Git checkout fails when branch is not */master  
 
 
 
 
 
 
 
 
 
 
Sorry about that. I have tried the following: 
 

dev
 

/dev
 

*/dev
 

refs/heads/dev
 
 
the only thing I can get to work is */master, which was the default. 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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] [git-client-plugin] (JENKINS-30177) Git checkout fails when branch is not */master

2015-08-27 Thread mike.ba...@32past8.com (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Michael Bauer edited a comment on  JENKINS-30177 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: Git checkout fails when branch is not */master  
 
 
 
 
 
 
 
 
 
 Sorry about that.  I have tried the following:* dev* /dev* */dev* refs/heads/devthe only thing I can get to work is */master, which was the default. This is a new job with a new Jenkins install.  Perhaps that is the issue? 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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] [git-client-plugin] (JENKINS-30177) Git checkout fails when branch is not */master

2015-08-27 Thread mark.earl.wa...@gmail.com (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Mark Waite commented on  JENKINS-30177 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: Git checkout fails when branch is not */master  
 
 
 
 
 
 
 
 
 
 
Are you sure that the dev branch actually exists on the repository you're cloning? The name "dev" and "*/dev" are not uncommon, and the plugin is working for many users (6+ installations), so I'm quite surprised it is not working in your case. 
Is there anything else distinct about your job which might cause it to expose this type of bug? 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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] [git-client-plugin] (JENKINS-30177) Git checkout fails when branch is not */master

2015-08-27 Thread mike.ba...@32past8.com (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Michael Bauer updated an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Jenkins /  JENKINS-30177 
 
 
 
  Git checkout fails when branch is not */master  
 
 
 
 
 
 
 
 
 

Change By:
 
 Michael Bauer 
 
 
 

Attachment:
 
 screenshot-1.png 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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] [git-client-plugin] (JENKINS-30177) Git checkout fails when branch is not */master

2015-08-27 Thread mike.ba...@32past8.com (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Michael Bauer commented on  JENKINS-30177 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: Git checkout fails when branch is not */master  
 
 
 
 
 
 
 
 
 
 
I am not sure. I am fairly new to Jenkins, but I am using the Multiple SCM plugin along with BitBucket. It is very possible that this is a configuration issue, but it seemed to match what other people had also reported. I have included a screenshot showing I do have a branch called dev. I did try origin/dev as well as the branch name. 
 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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] [git-client-plugin] (JENKINS-30177) Git checkout fails when branch is not */master

2015-08-27 Thread mark.earl.wa...@gmail.com (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Mark Waite commented on  JENKINS-30177 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: Git checkout fails when branch is not */master  
 
 
 
 
 
 
 
 
 
 
When you say that you're using the multiple SCM plugin, does that mean that the job which is failing is using multiple repositories, each cloned to a different directory in the workspace? 
If so, is the request to checkout the "dev" branch able to be satisfied in each of the repositories you're using in that workspace? 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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] [git-client-plugin] (JENKINS-30177) Git checkout fails when branch is not */master

2015-08-28 Thread mike.ba...@32past8.com (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Michael Bauer commented on  JENKINS-30177 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: Git checkout fails when branch is not */master  
 
 
 
 
 
 
 
 
 
 
Ugh, now I feel stupid. That was exactly the problem. Thanks for sticking in there with me. 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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] [git-client-plugin] (JENKINS-30177) Git checkout fails when branch is not */master

2015-08-28 Thread mike.ba...@32past8.com (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Michael Bauer closed an issue as Not A Defect 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
This was user error on my part... 
 
 
 
 
 
 
 
 
 
 Jenkins /  JENKINS-30177 
 
 
 
  Git checkout fails when branch is not */master  
 
 
 
 
 
 
 
 
 

Change By:
 
 Michael Bauer 
 
 
 

Status:
 
 Open Closed 
 
 
 

Resolution:
 
 Not A Defect 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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] [git-client-plugin] (JENKINS-30177) Git checkout fails when branch is not */master

2015-08-28 Thread mark.earl.wa...@gmail.com (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Mark Waite commented on  JENKINS-30177 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: Git checkout fails when branch is not */master  
 
 
 
 
 
 
 
 
 
 
That's a relief. Thanks! 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





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