Re: Getting "Couldn't find any revision to build" error with git checkout

2019-03-18 Thread t3knoid
I added the following item: Git for Windows Installation and Windows Certificate Stores On Monday, March 18, 2019 at 2:02:52 PM UTC-4, Mark Waite wrote: > > That's a very useful result. Thanks for discovering it. Would you be > willing to put a note into the git plugin wiki page describing wh

Re: Getting "Couldn't find any revision to build" error with git checkout

2019-03-18 Thread t3knoid
Yeah sure. That's a good idea. On Monday, March 18, 2019 at 2:02:52 PM UTC-4, Mark Waite wrote: > > That's a very useful result. Thanks for discovering it. Would you be > willing to put a note into the git plugin wiki page describing what you saw > and how to resolve it? > > We've had other su

Re: Getting "Couldn't find any revision to build" error with git checkout

2019-03-18 Thread Mark Waite
That's a very useful result. Thanks for discovering it. Would you be willing to put a note into the git plugin wiki page describing what you saw and how to resolve it? We've had other surprises like that (credentials manager, for example), and the wiki page has been a good place to put the infor

Re: Getting "Couldn't find any revision to build" error with git checkout

2019-03-18 Thread t3knoid
I figured out why this was happening. It's user error :-). When installing git for windows, make sure to use "Use the native Windows Secure Channel library" option during installation. On Saturday, March 16, 2019 at 12:15:51 PM UTC-4, t3knoid wrote: > > I have a new Jenkins server that has not

Re: Getting "Couldn't find any revision to build" error with git checkout

2019-03-16 Thread Mark Waite
You might change into the workspace directory where the revision can't be found and look at the output of `git branch -a` and `git log`. There may be some hint about something missing from the fetch. On Sat, Mar 16, 2019 at 7:46 PM t3knoid wrote: > Thanks for the suggestions anyway. > > BTW, I

Re: Getting "Couldn't find any revision to build" error with git checkout

2019-03-16 Thread t3knoid
Thanks for the suggestions anyway. BTW, I downloaded Github desktop in the Jenkins slave machine and was able to clone without a problem. On Saturday, March 16, 2019 at 4:02:13 PM UTC-4, Mark Waite wrote: > > > > On Sat, Mar 16, 2019 at 1:47 PM t3knoid > > wrote: > >> Thanks for your response.

Re: Getting "Couldn't find any revision to build" error with git checkout

2019-03-16 Thread Mark Waite
On Sat, Mar 16, 2019 at 1:47 PM t3knoid wrote: > Thanks for your response. > > > Branch name has been requested that is not being fetched because the > refspec in the "Advanced" section does not include the desired branch > > I'm not touching the Advanced section at all. > > >Branch name to be bu

Re: Getting "Couldn't find any revision to build" error with git checkout

2019-03-16 Thread t3knoid
Thanks for your response. > Branch name has been requested that is not being fetched because the refspec in the "Advanced" section does not include the desired branch I'm not touching the Advanced section at all. >Branch name to be built does not match any branch on the remote (typo in the bra

Re: Getting "Couldn't find any revision to build" error with git checkout

2019-03-16 Thread Mark Waite
That indicates command line git could not fit any reference that matches the branch name or SHA 1 it has been asked to build. Some possible causes include: - Branch name has been requested that is not being fetched because the refspec in the "Advanced" section does not include the desired b

Getting "Couldn't find any revision to build" error with git checkout

2019-03-16 Thread t3knoid
I have a new Jenkins server that has not used git for checking out. I tried using a simple git checkout, just using a freestyle project. For some reason I get a "Getting "Couldn't find any revision to build" whenever I try to check out. Using an older server checks out the same repo just fine..