Well, in my best Homer Simpson voice..

"Doh!"

I had it right on my windows machine (more on this in a moment), but when I 
tried switching to a linux one (since instructions for using ssh tend to be 
geared towards Linuz/Unix systems) I missed the capital L, and by that 
point I wasn't looking for anything quite that obvious!

Thanks for that.

So now on Linux I seem to get a successful clone, I get

warning: remote HEAD refers to nonexistent ref, unable to checkout.

Which I'm guessing is just because it's a completely empty repository, as 
mentioned i the docs?

So a partial success, but when I try on windows (using either tortoisegit 
or gitbash), I get

fatal: could not fetch refs from ssh://

It's finding the repository now (I checked by intentionally using the wrong 
name, and the message is different), and I can successfully do the who-am-i 
 using ssh inside git-bash.

The issue may be obvious to many people, but I'm primarily a mercurial 
user, not a git one.

regards

Jon

On Tuesday, May 24, 2016 at 2:30:30 PM UTC+1, Eric Pyle wrote:
>
> It may be that you need to specify workflowLibs (note capital "L").
>
> On 5/24/2016 8:56 AM, Jonathan Hodgson wrote:
>
> Hi, 
>
> I appear to have Jenkin's ssh server set up correctly, and can connect to 
> it and run who-am-i as on this page
>
> https://wiki.jenkins-ci.org/display/JENKINS/Jenkins+SSH
>
> whereupon it responds with
>
> Authenticated as: Jon
> Authorities:
>   authenticated
>
> But when I try to clone the workflowlibs git repository, as in the 
> "Accessing repository" section here..
>
>
> https://github.com/jenkinsci/workflow-cps-global-lib-plugin/blob/master/README.md
>
> I get 
>
> hudson.AbortException: No such repository exists:/workflowlibs.git
>
> What am I missing? The "pipeline: shared groovy libraries" plugin is 
> installed, is there a step I have to do to create the repository on the 
> server?
>
> regards
>
> Jon
>
>
> -- 
> 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 <javascript:>.
> To view this discussion on the web visit 
> <https://groups.google.com/d/msgid/jenkinsci-users/5454c77e-38dd-473e-8e1b-316e5be78493%40googlegroups.com?utm_medium=email&utm_source=footer>
> https://groups.google.com/d/msgid/jenkinsci-users/5454c77e-38dd-473e-8e1b-316e5be78493%40googlegroups.com
> .
> For more options, visit https://groups.google.com/d/optout.
>
>
> -- 
>
> * Eric Pyle * 
> Release Engineer 
> Lebanon 
> +1 603-277-3060 (T)
> +1 603-359-8670 (M)
> <javascript:>eric...@cd-adapco.com <javascript:> 
> <http://www.cd-adapco.com>http://www.cd-adapco.com 
>

-- 
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/2f67327f-6269-4f7a-8536-385d59da928d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to