Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » 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 07:09 Go to next message
Kaz Nishimura is currently offline Kaz NishimuraFriend
Messages: 89
Registered: December 2014
Member
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?

Kaz Nishimura
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 17:00 Go to previous messageGo to next message
Winston Prakash is currently offline Winston PrakashFriend
Messages: 534
Registered: August 2011
Location: Fremont, CA USA
Senior Member
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



Winston Prakash
Eclipse Hudson team
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 22:51 Go to previous messageGo to next message
Kaz Nishimura is currently offline Kaz NishimuraFriend
Messages: 89
Registered: December 2014
Member
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.

Kaz Nishimura
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 09:16 Go to previous message
Kaz Nishimura is currently offline Kaz NishimuraFriend
Messages: 89
Registered: December 2014
Member
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.

Kaz Nishimura
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: Wed Aug 16 13:17:34 GMT 2017

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

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