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

classic Classic list List threaded Threaded
10 messages Options
Reply | Threaded
Open this post in threaded view
|

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

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...also using a new freestyle job.

Using the new server, I checked out something from github, and that worked fine. The server I am using is internal. It is using Bitbucket. I don't really think that should make a difference.

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/a70f0c42-f506-4ab0-b11c-42dd990db4d8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

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

Mark Waite-2
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 branch
  • Branch name to be built does not match any branch on the remote (typo in the branch name to be built)
Mark Waite

On Sat, Mar 16, 2019 at 10:16 AM t3knoid <[hidden email]> wrote:
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...also using a new freestyle job.

Using the new server, I checked out something from github, and that worked fine. The server I am using is internal. It is using Bitbucket. I don't really think that should make a difference.

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/a70f0c42-f506-4ab0-b11c-42dd990db4d8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


--
Thanks!
Mark Waite

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CAO49JtEhL3vmw3%2BPmNAfyoioBcYNyAukYyNNuf5dFTEvKB4G5w%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

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

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 branch name to be built)

I'm building the master branch. I've checked and double-checked the URL. As I said, when I do the same exact thing on a different Jenkins server, it works just fine.


On Saturday, March 16, 2019 at 12:20:52 PM UTC-4, Mark Waite wrote:
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 branch
  • Branch name to be built does not match any branch on the remote (typo in the branch name to be built)
Mark Waite

On Sat, Mar 16, 2019 at 10:16 AM t3knoid <<a href="javascript:" target="_blank" gdf-obfuscated-mailto="miVKcumsDAAJ" rel="nofollow" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">t3k...@...> wrote:
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...also using a new freestyle job.

Using the new server, I checked out something from github, and that worked fine. The server I am using is internal. It is using Bitbucket. I don't really think that should make a difference.

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to <a href="javascript:" target="_blank" gdf-obfuscated-mailto="miVKcumsDAAJ" rel="nofollow" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">jenkinsci-use...@googlegroups.com.
To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/jenkinsci-users/a70f0c42-f506-4ab0-b11c-42dd990db4d8%40googlegroups.com?utm_medium=email&amp;utm_source=footer" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://groups.google.com/d/msgid/jenkinsci-users/a70f0c42-f506-4ab0-b11c-42dd990db4d8%40googlegroups.com?utm_medium\x3demail\x26utm_source\x3dfooter&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/msgid/jenkinsci-users/a70f0c42-f506-4ab0-b11c-42dd990db4d8%40googlegroups.com?utm_medium\x3demail\x26utm_source\x3dfooter&#39;;return true;">https://groups.google.com/d/msgid/jenkinsci-users/a70f0c42-f506-4ab0-b11c-42dd990db4d8%40googlegroups.com.
For more options, visit <a href="https://groups.google.com/d/optout" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;">https://groups.google.com/d/optout.


--
Thanks!
Mark Waite

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/5ade331c-deb8-44d3-8e67-2abb8f64a9ba%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

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

Mark Waite-2


On Sat, Mar 16, 2019 at 1:47 PM t3knoid <[hidden email]> 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 built does not match any branch on the remote (typo in the branch name to be built)

I'm building the master branch. I've checked and double-checked the URL. As I said, when I do the same exact thing on a different Jenkins server, it works just fine.


I'm out of ideas.  Submit a bug report with numbered steps that describe how to duplicate the bug.

Mark Waite
 

On Saturday, March 16, 2019 at 12:20:52 PM UTC-4, Mark Waite wrote:
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 branch
  • Branch name to be built does not match any branch on the remote (typo in the branch name to be built)
Mark Waite

On Sat, Mar 16, 2019 at 10:16 AM t3knoid <[hidden email]> wrote:
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...also using a new freestyle job.

Using the new server, I checked out something from github, and that worked fine. The server I am using is internal. It is using Bitbucket. I don't really think that should make a difference.

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/a70f0c42-f506-4ab0-b11c-42dd990db4d8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


--
Thanks!
Mark Waite

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/5ade331c-deb8-44d3-8e67-2abb8f64a9ba%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


--
Thanks!
Mark Waite

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CAO49JtH%2Bvx279YNps1%2BJHh81%3DF5qTW_NV%3D%3Dy1LzzTfvYt_D5%3Dg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

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

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 <<a href="javascript:" target="_blank" gdf-obfuscated-mailto="rlJQyP24DAAJ" rel="nofollow" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">t3k...@...> 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 built does not match any branch on the remote (typo in the branch name to be built)

I'm building the master branch. I've checked and double-checked the URL. As I said, when I do the same exact thing on a different Jenkins server, it works just fine.


I'm out of ideas.  Submit a bug report with numbered steps that describe how to duplicate the bug.

Mark Waite
 

On Saturday, March 16, 2019 at 12:20:52 PM UTC-4, Mark Waite wrote:
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 branch
  • Branch name to be built does not match any branch on the remote (typo in the branch name to be built)
Mark Waite

On Sat, Mar 16, 2019 at 10:16 AM t3knoid <[hidden email]> wrote:
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...also using a new freestyle job.

Using the new server, I checked out something from github, and that worked fine. The server I am using is internal. It is using Bitbucket. I don't really think that should make a difference.

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-use...@googlegroups.com.
To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/jenkinsci-users/a70f0c42-f506-4ab0-b11c-42dd990db4d8%40googlegroups.com?utm_medium=email&amp;utm_source=footer" rel="nofollow" target="_blank" onmousedown="this.href=&#39;https://groups.google.com/d/msgid/jenkinsci-users/a70f0c42-f506-4ab0-b11c-42dd990db4d8%40googlegroups.com?utm_medium\x3demail\x26utm_source\x3dfooter&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/msgid/jenkinsci-users/a70f0c42-f506-4ab0-b11c-42dd990db4d8%40googlegroups.com?utm_medium\x3demail\x26utm_source\x3dfooter&#39;;return true;">https://groups.google.com/d/msgid/jenkinsci-users/a70f0c42-f506-4ab0-b11c-42dd990db4d8%40googlegroups.com.
For more options, visit <a href="https://groups.google.com/d/optout" rel="nofollow" target="_blank" onmousedown="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;">https://groups.google.com/d/optout.


--
Thanks!
Mark Waite

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to <a href="javascript:" target="_blank" gdf-obfuscated-mailto="rlJQyP24DAAJ" rel="nofollow" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">jenkinsci-use...@googlegroups.com.
To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/jenkinsci-users/5ade331c-deb8-44d3-8e67-2abb8f64a9ba%40googlegroups.com?utm_medium=email&amp;utm_source=footer" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://groups.google.com/d/msgid/jenkinsci-users/5ade331c-deb8-44d3-8e67-2abb8f64a9ba%40googlegroups.com?utm_medium\x3demail\x26utm_source\x3dfooter&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/msgid/jenkinsci-users/5ade331c-deb8-44d3-8e67-2abb8f64a9ba%40googlegroups.com?utm_medium\x3demail\x26utm_source\x3dfooter&#39;;return true;">https://groups.google.com/d/msgid/jenkinsci-users/5ade331c-deb8-44d3-8e67-2abb8f64a9ba%40googlegroups.com.
For more options, visit <a href="https://groups.google.com/d/optout" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;">https://groups.google.com/d/optout.


--
Thanks!
Mark Waite

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/8ddd7f9e-9619-400b-b6cf-08edabec8b8e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

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

Mark Waite-2
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 <[hidden email]> wrote:
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 <[hidden email]> 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 built does not match any branch on the remote (typo in the branch name to be built)

I'm building the master branch. I've checked and double-checked the URL. As I said, when I do the same exact thing on a different Jenkins server, it works just fine.


I'm out of ideas.  Submit a bug report with numbered steps that describe how to duplicate the bug.

Mark Waite
 

On Saturday, March 16, 2019 at 12:20:52 PM UTC-4, Mark Waite wrote:
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 branch
  • Branch name to be built does not match any branch on the remote (typo in the branch name to be built)
Mark Waite

On Sat, Mar 16, 2019 at 10:16 AM t3knoid <[hidden email]> wrote:
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...also using a new freestyle job.

Using the new server, I checked out something from github, and that worked fine. The server I am using is internal. It is using Bitbucket. I don't really think that should make a difference.

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/a70f0c42-f506-4ab0-b11c-42dd990db4d8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


--
Thanks!
Mark Waite

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/5ade331c-deb8-44d3-8e67-2abb8f64a9ba%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


--
Thanks!
Mark Waite

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/8ddd7f9e-9619-400b-b6cf-08edabec8b8e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


--
Thanks!
Mark Waite

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CAO49JtHcwh87dAgpfYqT%2B3HtcHrdhG5w01qG0fSUm%3DG%2Ba1Lp1g%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

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

t3knoid
In reply to this post by 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 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...also using a new freestyle job.

Using the new server, I checked out something from github, and that worked fine. The server I am using is internal. It is using Bitbucket. I don't really think that should make a difference.

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/5ee800b6-bd9a-4f31-a804-28341b1212db%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

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

Mark Waite-2
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 information until the time when the plugin finds a better way to prevent the problem or warn users about the problem.

Mark Waite

On Mon, Mar 18, 2019 at 11:01 AM t3knoid <[hidden email]> wrote:
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 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...also using a new freestyle job.

Using the new server, I checked out something from github, and that worked fine. The server I am using is internal. It is using Bitbucket. I don't really think that should make a difference.

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/5ee800b6-bd9a-4f31-a804-28341b1212db%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


--
Thanks!
Mark Waite

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CAO49JtFzsQeHisBvY5bXMaXmGTSd7r2D%2Br93hvSkaCFvK%2BOrbg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

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

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 surprises like that (credentials manager, for example), and the wiki page has been a good place to put the information until the time when the plugin finds a better way to prevent the problem or warn users about the problem.

Mark Waite

On Mon, Mar 18, 2019 at 11:01 AM t3knoid <<a href="javascript:" target="_blank" gdf-obfuscated-mailto="byXhiKNPDQAJ" rel="nofollow" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">t3k...@...> wrote:
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 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...also using a new freestyle job.

Using the new server, I checked out something from github, and that worked fine. The server I am using is internal. It is using Bitbucket. I don't really think that should make a difference.

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to <a href="javascript:" target="_blank" gdf-obfuscated-mailto="byXhiKNPDQAJ" rel="nofollow" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">jenkinsci-use...@googlegroups.com.
To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/jenkinsci-users/5ee800b6-bd9a-4f31-a804-28341b1212db%40googlegroups.com?utm_medium=email&amp;utm_source=footer" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://groups.google.com/d/msgid/jenkinsci-users/5ee800b6-bd9a-4f31-a804-28341b1212db%40googlegroups.com?utm_medium\x3demail\x26utm_source\x3dfooter&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/msgid/jenkinsci-users/5ee800b6-bd9a-4f31-a804-28341b1212db%40googlegroups.com?utm_medium\x3demail\x26utm_source\x3dfooter&#39;;return true;">https://groups.google.com/d/msgid/jenkinsci-users/5ee800b6-bd9a-4f31-a804-28341b1212db%40googlegroups.com.
For more options, visit <a href="https://groups.google.com/d/optout" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;">https://groups.google.com/d/optout.


--
Thanks!
Mark Waite

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/02f71d36-8551-4bb7-8556-301427d36ab8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

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

t3knoid
In reply to this post by Mark Waite-2
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 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 information until the time when the plugin finds a better way to prevent the problem or warn users about the problem.

Mark Waite

On Mon, Mar 18, 2019 at 11:01 AM t3knoid <<a href="javascript:" target="_blank" gdf-obfuscated-mailto="byXhiKNPDQAJ" rel="nofollow" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">t3k...@...> wrote:
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 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...also using a new freestyle job.

Using the new server, I checked out something from github, and that worked fine. The server I am using is internal. It is using Bitbucket. I don't really think that should make a difference.

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to <a href="javascript:" target="_blank" gdf-obfuscated-mailto="byXhiKNPDQAJ" rel="nofollow" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">jenkinsci-use...@googlegroups.com.
To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/jenkinsci-users/5ee800b6-bd9a-4f31-a804-28341b1212db%40googlegroups.com?utm_medium=email&amp;utm_source=footer" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://groups.google.com/d/msgid/jenkinsci-users/5ee800b6-bd9a-4f31-a804-28341b1212db%40googlegroups.com?utm_medium\x3demail\x26utm_source\x3dfooter&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/msgid/jenkinsci-users/5ee800b6-bd9a-4f31-a804-28341b1212db%40googlegroups.com?utm_medium\x3demail\x26utm_source\x3dfooter&#39;;return true;">https://groups.google.com/d/msgid/jenkinsci-users/5ee800b6-bd9a-4f31-a804-28341b1212db%40googlegroups.com.
For more options, visit <a href="https://groups.google.com/d/optout" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;">https://groups.google.com/d/optout.


--
Thanks!
Mark Waite

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/ba85743c-a2ae-48ea-af18-aece9c7f360b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.