On Mon, Dec 15, 2014 at 7:48 AM, Kenneth Baltrinic <kenn...@baltrinic.com>
wrote:
>
> I figured out my primary mistake.  All the docs give urls of the form
> http:/server/jenkins/workflowLibs.git.  This format assumed that the
> Jenkins server itself was not located at server root but at the jenkins
> endpoint beneath the server root.  To the contrary my install has Jenkins
> at the server root, making the correct URL 
> *http://jenkins:8080/workflowLibs.git
> <http://www.google.com/url?q=http%3A%2F%2Fjenkins%3A8080%2Fjenkins%2FworkflowLibs.git&sa=D&sntz=1&usg=AFQjCNHln8ZUXRYvHGvOtBpYSgRE-5F0iQ>.
>  *A
> quick look at the source helped to figure that out.
>
> The repo seems to behave oddly though.  I can push to it and I can see my
> changes actually on the server if I ssh into the server and look at the
> /home/jenkins/workflow-lib folder but I cannot clone or pull from the
> repo.  Git tells me I tried to clone an empty repo.  Its like the repo is
> write only or some such.
>

I wonder if you're seeing another instance of JENKINS-25212?

[https://issues.jenkins-ci.org/browse/JENKINS-25212]

Mark Waite



> Anyway the initial issue is resolved.  I'll look into the empty-repo
> business later.
>
> On Friday, December 12, 2014 2:08:51 PM UTC-5, Kenneth Baltrinic wrote:
>>
>> I feel I am missing something obvious here.  I have a test bed Jenkins
>> server v 1.592 with workflow 1.0 plugins installed, this includes the
>> Workflow: Global Shared Library for CPS workflow plugin.  All the workflow
>> plugins are installed and enabled.
>>
>> Given that, attempting to do *git clone
>> http://jenkins:8080/jenkins/workflowLibs.git
>> <http://www.google.com/url?q=http%3A%2F%2Fjenkins%3A8080%2Fjenkins%2FworkflowLibs.git&sa=D&sntz=1&usg=AFQjCNHln8ZUXRYvHGvOtBpYSgRE-5F0iQ>*
>>  where jenkins resolves to the test bed server, I get:
>>
>>
>> *Cloning into 'workflowLibs'...*
>>
>> *fatal: repository 'http://jenkins:8080/jenkins/workflowLibs.git/
>> <http://jenkins:8080/jenkins/workflowLibs.git/>' not found*
>> I am looking everywhere to see if there is a checkbox that I need to
>> check to turn this feature on but I can find one and none seem mentioned in 
>> the
>> docs
>> <https://github.com/jenkinsci/workflow-plugin/tree/master/cps-global-lib>.
>> What am I missing?
>>
>> --Ken
>>
>  --
> 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/a048f0ba-6e1c-475d-a4e6-17a77db513bc%40googlegroups.com
> <https://groups.google.com/d/msgid/jenkinsci-users/a048f0ba-6e1c-475d-a4e6-17a77db513bc%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/CAO49JtEdptVgh%2BSDk%2B1pi9KByWXvLzhkZwGk-GpnSDPKW1_mMQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to