Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Hudson » Job cascading/inheritance issues
Job cascading/inheritance issues [message #929557] Mon, 01 October 2012 15:05 Go to next message
Glyn Normington is currently offline Glyn NormingtonFriend
Messages: 1222
Registered: July 2009
Senior Member
I'm trying to apply Hudson's job cascading/inheritance feature to Eclipse Virgo which has a large number of CI jobs sharing much configuration data in common. It's hard to make common configuration changes as every job needs to be changed. Also it's tricky to spot where one job has gotten out of step with the others. So job inheritance, or "cascading", seemed to be just the ticket.

However, I've hit two issues which mean that there isn't as much value in the feature as I had hoped. Note that I'm using Hudson 2.2.1.

The first issue is that it is not immediately obvious which configuration parameters are inherited (see footnote 1) and the only way to check is to change them in the child and see if they turn orange. For example, the Post-build Actions section does not appear to be inherited because when I set the child job's files to archive to a different value to the parent, the value doesn't show up as overridden. Another example is that when I set the child's Build Environment timeout value to a value different to the parent, it does not show as overridden.

The second issue is that the granularity of overriding is rather large. For example, I have a job-specific build file in the child's Build section, but setting this turns the whole Build section orange. So if I want to tweak the common (Ant) Targets, also in the build section, I have to do this for each child job even though I never overrode the parent's value.

Also, I've noticed that sometimes the revert button does not appear even when the child configuration is different from the parent and shown in orange. This happens, for example, with the JDK setting.

Footnote 1: According to the feature description "All Job properties will be shown on the Configure Page, by default they will be taken from Parent", but this doesn't seem to be the case. There are tables of job properties which supported cascading in various 2.2.0 betas, so maybe only these properties are overrideable in the shipped version (in my case, 2.2.1). Unfortunately, the table seems incomplete as it doesn't list the Post-build Actions, for example.
Re: Job cascading/inheritance issues [message #929634 is a reply to message #929557] Mon, 01 October 2012 16:19 Go to previous messageGo to next message
Winston Prakash is currently offline Winston PrakashFriend
Messages: 449
Registered: August 2011
Location: Fremont, CA USA
Senior Member
Hi Glyn, sorry for this hasty reply, I'm at Java ONE. Please file bugs against areas of Cascading feature where you require improvements/fixes. I'll once again go over your posting and reply in detail after Java ONE.

Winston Prakash
Eclipse Hudson team
Re: Job cascading/inheritance issues [message #930359 is a reply to message #929634] Tue, 02 October 2012 08:36 Go to previous message
Glyn Normington is currently offline Glyn NormingtonFriend
Messages: 1222
Registered: July 2009
Senior Member
Thanks Winston. Have a great JavaOne!

https://bugs.eclipse.org/bugs/show_bug.cgi?id=390895
https://bugs.eclipse.org/bugs/show_bug.cgi?id=390898
https://bugs.eclipse.org/bugs/show_bug.cgi?id=390899
https://bugs.eclipse.org/bugs/show_bug.cgi?id=390900
https://bugs.eclipse.org/bugs/show_bug.cgi?id=390902
Previous Topic:Locking misbehaving?
Next Topic:Build on a specific date and time
Goto Forum:
  


Current Time: Mon Dec 22 00:50:05 GMT 2014

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

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