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 <t3kn...@gmail.com> 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 <t3k...@gmail.com> 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 <t3k...@gmail.com> 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
>>>>> https://groups.google.com/d/msgid/jenkinsci-users/a70f0c42-f506-4ab0-b11c-42dd990db4d8%40googlegroups.com
>>>>> <https://groups.google.com/d/msgid/jenkinsci-users/a70f0c42-f506-4ab0-b11c-42dd990db4d8%40googlegroups.com?utm_medium=email&utm_source=footer>
>>>>> .
>>>>> 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 jenkinsci-use...@googlegroups.com.
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/jenkinsci-users/5ade331c-deb8-44d3-8e67-2abb8f64a9ba%40googlegroups.com
>>> <https://groups.google.com/d/msgid/jenkinsci-users/5ade331c-deb8-44d3-8e67-2abb8f64a9ba%40googlegroups.com?utm_medium=email&utm_source=footer>
>>> .
>>> 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 jenkinsci-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/jenkinsci-users/8ddd7f9e-9619-400b-b6cf-08edabec8b8e%40googlegroups.com
> <https://groups.google.com/d/msgid/jenkinsci-users/8ddd7f9e-9619-400b-b6cf-08edabec8b8e%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> 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 jenkinsci-users+unsubscr...@googlegroups.com.
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 via email to