Quantcast

Change location of workflowLibs.git

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Change location of workflowLibs.git

Sverre Moe-2
Is it possible to change the repository location for workflowLibs.git?
The current location is JENKINS_HOME/workflow-libs

We have a remote git repository for all our code and utilities. Can we use this central git repository as the remote location for workflowLibs.git?
Also perhaps use a different remote name: jenkins-workflowLibs.git. Just workflowLibs.git among all other repositories isn't very descriptive.

Perhaps something like this in JENKINS_HOME/workflow-libs/.git/config
[remote "origin"]
        url = ssh://[hidden email]/tools/jenkins-workflowLibs.git
        fetch = +refs/heads/*:refs/remotes/origin/*

--
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/acc37b2c-1686-473a-aa88-11a5f2d3f7f1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Change location of workflowLibs.git

ludovic SMADJA-4

And I'm also waiting on this ;-)
--


Ludovic SMADJA
R&D engineer - build process and development
JALIOS SA
http://www.jalios.com


Le vendredi 17 juin 2016 à 04:16 -0700, Sverre Moe a écrit :
Is it possible to change the repository location for workflowLibs.git?
The current location is JENKINS_HOME/workflow-libs

We have a remote git repository for all our code and utilities. Can we use this central git repository as the remote location for workflowLibs.git?
Also perhaps use a different remote name: jenkins-workflowLibs.git. Just workflowLibs.git among all other repositories isn't very descriptive.

Perhaps something like this in JENKINS_HOME/workflow-libs/.git/config
[remote "origin"]
        url = ssh://[hidden email]/tools/jenkins-workflowLibs.git
        fetch = +refs/heads/*:refs/remotes/origin/*

--
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/acc37b2c-1686-473a-aa88-11a5f2d3f7f1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
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/1466173252.10709.13.camel%40jalios.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Change location of workflowLibs.git

Daniel Beck
In reply to this post by Sverre Moe-2
Should be trivial to write a job that watches the 'actual' repository for changes, and pushes changes to Jenkins' internal one, no?

> On 17.06.2016, at 13:16, Sverre Moe <[hidden email]> wrote:
>
> Is it possible to change the repository location for workflowLibs.git?
> The current location is JENKINS_HOME/workflow-libs
>
> We have a remote git repository for all our code and utilities. Can we use this central git repository as the remote location for workflowLibs.git?
> Also perhaps use a different remote name: jenkins-workflowLibs.git. Just workflowLibs.git among all other repositories isn't very descriptive.
>
> Perhaps something like this in JENKINS_HOME/workflow-libs/.git/config
> [remote "origin"]
>         url = ssh://[hidden email]/tools/jenkins-workflowLibs.git
>         fetch = +refs/heads/*:refs/remotes/origin/*
>
> --
> 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/acc37b2c-1686-473a-aa88-11a5f2d3f7f1%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

--
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/D0AB6490-EFD0-4BF4-A798-17B52A915F48%40beckweb.net.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Change location of workflowLibs.git

Sverre Moe-2
In reply to this post by ludovic SMADJA-4
That would seem like a perfect solution. However it is closed due to duplication. The issue it duplicated is not resolved and labeled 2.0-rejected.

fredag 17. juni 2016 16.21.03 UTC+2 skrev ludovic SMADJA følgende:
It's the issue <a href="https://issues.jenkins-ci.org/browse/JENKINS-34476" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fissues.jenkins-ci.org%2Fbrowse%2FJENKINS-34476\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNG9pbedH-nTag673MB-X0c0jTDnRg&#39;;return true;" onclick="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fissues.jenkins-ci.org%2Fbrowse%2FJENKINS-34476\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNG9pbedH-nTag673MB-X0c0jTDnRg&#39;;return true;">https://issues.jenkins-ci.org/browse/JENKINS-34476

And I'm also waiting on this ;-)
--


Ludovic SMADJA
R&D engineer - build process and development
JALIOS SA
<a href="http://www.jalios.com" target="_blank" rel="nofollow" onmousedown="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fwww.jalios.com\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNH3IlHUaul2486S-NdUSaGKMb8Ffg&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fwww.jalios.com\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNH3IlHUaul2486S-NdUSaGKMb8Ffg&#39;;return true;">http://www.jalios.com


Le vendredi 17 juin 2016 à 04:16 -0700, Sverre Moe a écrit :
Is it possible to change the repository location for workflowLibs.git?
The current location is JENKINS_HOME/workflow-libs

We have a remote git repository for all our code and utilities. Can we use this central git repository as the remote location for workflowLibs.git?
Also perhaps use a different remote name: jenkins-workflowLibs.git. Just workflowLibs.git among all other repositories isn't very descriptive.

Perhaps something like this in JENKINS_HOME/workflow-libs/.git/config
[remote "origin"]
        url = ssh://<a href="http://git@git.company.com/tools/jenkins-workflowLibs.git" target="_blank" rel="nofollow" onmousedown="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fgit%40git.company.com%2Ftools%2Fjenkins-workflowLibs.git\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNHbZmhzck5Z2TxNqiO3r-JiuPn_eA&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fgit%40git.company.com%2Ftools%2Fjenkins-workflowLibs.git\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNHbZmhzck5Z2TxNqiO3r-JiuPn_eA&#39;;return true;">git@.../tools/jenkins-workflowLibs.git
        fetch = +refs/heads/*:refs/remotes/origin/*

--
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="VYMGFL8IBQAJ" 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/acc37b2c-1686-473a-aa88-11a5f2d3f7f1%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/acc37b2c-1686-473a-aa88-11a5f2d3f7f1%40googlegroups.com?utm_medium\x3demail\x26utm_source\x3dfooter&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/msgid/jenkinsci-users/acc37b2c-1686-473a-aa88-11a5f2d3f7f1%40googlegroups.com?utm_medium\x3demail\x26utm_source\x3dfooter&#39;;return true;">https://groups.google.com/d/msgid/jenkinsci-users/acc37b2c-1686-473a-aa88-11a5f2d3f7f1%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.

--
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/87d139ee-141b-4d33-b91a-9647c8e56811%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Change location of workflowLibs.git

Sverre Moe-2
In reply to this post by Daniel Beck
A Jenkins job to retrieve changes from the remote git repository and update the local workflowLibs.git repository under JENKINS_HOME?
While trivial, it seems a bit encumbered.

fredag 17. juni 2016 16.34.46 UTC+2 skrev Daniel Beck følgende:
Should be trivial to write a job that watches the 'actual' repository for changes, and pushes changes to Jenkins' internal one, no?

> On 17.06.2016, at 13:16, Sverre Moe <<a href="javascript:" target="_blank" gdf-obfuscated-mailto="FrMuw34JBQAJ" rel="nofollow" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">sverr...@...> wrote:
>
> Is it possible to change the repository location for workflowLibs.git?
> The current location is JENKINS_HOME/workflow-libs
>
> We have a remote git repository for all our code and utilities. Can we use this central git repository as the remote location for workflowLibs.git?
> Also perhaps use a different remote name: jenkins-workflowLibs.git. Just workflowLibs.git among all other repositories isn't very descriptive.
>
> Perhaps something like this in JENKINS_HOME/workflow-libs/.git/config
> [remote "origin"]
>         url = ssh://<a href="http://git@git.company.com/tools/jenkins-workflowLibs.git" target="_blank" rel="nofollow" onmousedown="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fgit%40git.company.com%2Ftools%2Fjenkins-workflowLibs.git\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNHbZmhzck5Z2TxNqiO3r-JiuPn_eA&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fgit%40git.company.com%2Ftools%2Fjenkins-workflowLibs.git\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNHbZmhzck5Z2TxNqiO3r-JiuPn_eA&#39;;return true;">git@.../tools/jenkins-workflowLibs.git
>         fetch = +refs/heads/*:refs/remotes/origin/*
>
> --
> 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="FrMuw34JBQAJ" 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/acc37b2c-1686-473a-aa88-11a5f2d3f7f1%40googlegroups.com" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://groups.google.com/d/msgid/jenkinsci-users/acc37b2c-1686-473a-aa88-11a5f2d3f7f1%40googlegroups.com&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/msgid/jenkinsci-users/acc37b2c-1686-473a-aa88-11a5f2d3f7f1%40googlegroups.com&#39;;return true;">https://groups.google.com/d/msgid/jenkinsci-users/acc37b2c-1686-473a-aa88-11a5f2d3f7f1%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.

--
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/313599e1-2bcc-4fbd-89bb-ca709c027640%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Change location of workflowLibs.git

Kohsuke Kawaguchi
Administrator
In reply to this post by Sverre Moe-2
Duplicate just means there's another ticket that captures the exact same issue. 2.0-rejected just means this issue want considered 2.0 GA blocker. So the issue is still open.

On Sun, Jun 19, 2016 at 4:34 AM Sverre Moe <[hidden email]> wrote:
That would seem like a perfect solution. However it is closed due to duplication. The issue it duplicated is not resolved and labeled 2.0-rejected.


fredag 17. juni 2016 16.21.03 UTC+2 skrev ludovic SMADJA følgende:

And I'm also waiting on this ;-)
--


Ludovic SMADJA
R&D engineer - build process and development
JALIOS SA
http://www.jalios.com


Le vendredi 17 juin 2016 à 04:16 -0700, Sverre Moe a écrit :
Is it possible to change the repository location for workflowLibs.git?
The current location is JENKINS_HOME/workflow-libs

We have a remote git repository for all our code and utilities. Can we use this central git repository as the remote location for workflowLibs.git?
Also perhaps use a different remote name: jenkins-workflowLibs.git. Just workflowLibs.git among all other repositories isn't very descriptive.

Perhaps something like this in JENKINS_HOME/workflow-libs/.git/config
[remote "origin"]
        fetch = +refs/heads/*:refs/remotes/origin/*

--
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].

--
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/87d139ee-141b-4d33-b91a-9647c8e56811%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
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/CAN4CQ4yTpYKPFqCfzYgARLt3w8tej1M8wMvAWtMRLYjCDYM9Sg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
Loading...