Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Hudson » Parametrize slave node
Parametrize slave node [message #1124408] Thu, 03 October 2013 14:01 Go to next message
k z is currently offline k zFriend
Messages: 71
Registered: October 2012
Member
Hi,

I would like to run a build on a specific node based on user input. How can I achieve that? I see two options:
- allow parameters in "Restrict where this job can be run" section - when I put parameter there hudson reads label literally eg ${Node}, obviously such node does not exist
- use NodeLabel+Parameter+Plugin - but I do not see it available for Hudson (only Jenkins https://wiki.jenkins-ci.org/display/JENKINS/NodeLabel+Parameter+Plugin )

Could you please help?
Re: Parametrize slave node [message #1124751 is a reply to message #1124408] Thu, 03 October 2013 21:53 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
Please see this bug https://bugs.eclipse.org/bugs/show_bug.cgi?id=415519

I have ported the plugin for Hudson3, but it needs some core changes which I did already for 3.1.1, so I can not release the plugin until 3.1.1 is released

BTW, along with this I have ported Node Stalker plugin also. See

https://bugs.eclipse.org/bugs/show_bug.cgi?id=418145


Winston Prakash
Eclipse Hudson team
Re: Parametrize slave node [message #1125092 is a reply to message #1124751] Fri, 04 October 2013 06:26 Go to previous messageGo to next message
k z is currently offline k zFriend
Messages: 71
Registered: October 2012
Member
Thanks Winston. According to your road map (http://projects.eclipse.org/projects/technology.hudson) 3.1.1 is planned for the end of the year. Is the date still valid?
Re: Parametrize slave node [message #1125935 is a reply to message #1125092] Sat, 05 October 2013 02:02 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
Yes, so far have plans to keep that date, but you never know in OSS world Smile

Winston Prakash
Eclipse Hudson team
Re: Parametrize slave node [message #1183338 is a reply to message #1125935] Tue, 12 November 2013 20:06 Go to previous messageGo to next message
David Alger is currently offline David AlgerFriend
Messages: 2
Registered: November 2013
Junior Member
Thank you for creating this plugin.

I'm being asked at work to make a plugin that performs this same functionality rather than wait for 3.1.1. Can you please describe what "core" changes were made? I'm assuming you mean the "core" changes were made to the Hudson core. Is it even possible, do you think, to mimic or implement the node/label parameterizing in Hudson v3.1.0?

Thanks!
Re: Parametrize slave node [message #1183577 is a reply to message #1183338] Tue, 12 November 2013 23:51 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
David, it is already a standard plugin (See https://github.com/hudson3-plugins/nodelabelparameter-plugin). For this plugin to work some core changes are required. Those changes exists in Hudson 3.1.1

Winston Prakash
Eclipse Hudson team
Re: Parametrize slave node [message #1184823 is a reply to message #1183577] Wed, 13 November 2013 18:20 Go to previous message
David Alger is currently offline David AlgerFriend
Messages: 2
Registered: November 2013
Junior Member
Thanks, Winston. Wanted to see if you had some advice for a workaround to use until the v3.1.1 changes come out officially at the end of the year.
Previous Topic:Use of native svn binaries
Next Topic:Keeping build number consistent across job flow
Goto Forum:
  


Current Time: Tue Mar 19 04:18:31 GMT 2024

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

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

Back to the top