Skip to main content



      Home
Home » Archived » Hudson » Access SCM on only one node and build elsewhere, is it possible?
Access SCM on only one node and build elsewhere, is it possible? [message #1686403] Thu, 19 March 2015 03:09 Go to next message
Eclipse UserFriend
With an access restricted SCM repository, each node that can run a job must authenticate itself to get contents from the repository. Is there any way to get the repository contents on only one node, probably master, and run the real job on another node?
Re: Access SCM on only one node and build elsewhere, is it possible? [message #1687445 is a reply to message #1686403] Thu, 19 March 2015 13:00 Go to previous messageGo to next message
Eclipse UserFriend
I have not tried it myself, but you could use Clone Workspace SCM for this purpose

http://wiki.hudson-ci.org/display/HUDSON/Clone+Workspace+SCM+Plugin

Something like

- Create a job (scmJob) that does nothing but check out SCM. Tie this job to master
- Create other jobs that use Clone SCM Plugin to use the workspace of scmJob as their SCM
- Make otherjobs downstream job of scmJob, so they will be triggered if SCM change found

Re: Access SCM on only one node and build elsewhere, is it possible? [message #1687899 is a reply to message #1687445] Thu, 19 March 2015 18:51 Go to previous messageGo to next message
Eclipse UserFriend
Thank you for suggestion. I thought I could use multiple jobs for doing that but it requires at least two jobs per one repository or its branch. So I asked if there is another simpler way without creating multiple jobs. I wish Hudson could have such a job option. Anyway I will try with Clone Workspace SCM Plugin.
Re: Access SCM on only one node and build elsewhere, is it possible? [message #1689309 is a reply to message #1687445] Mon, 23 March 2015 05:16 Go to previous message
Eclipse UserFriend
I tried Clone Workspace SCM plugin and found it worked fine except for it requires an additional puller job for each branch on Mercurial. I hope it could be parameterized.
Previous Topic:Hudson 'wipe out workspace' and job config 'save' do not complete
Next Topic:"Tag this build" missing when using Team-based authentication
Goto Forum:
  


Current Time: Sun Aug 31 19:03:34 EDT 2025

Powered by FUDForum. Page generated in 0.09741 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top