Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Hudson » How does Hudson know a configuration change with a cascading job?
How does Hudson know a configuration change with a cascading job? [message #1603968] Fri, 06 February 2015 14:45 Go to next message
Kaz Nishimura is currently offline Kaz NishimuraFriend
Messages: 89
Registered: December 2014
Member
I would like to know how Hudson knows a configuration item has changed from its previous setting when used with a cascading job. Does it just use Object.equals against the previous value, or does it use another method?

Kaz Nishimura
Re: How does Hudson know a configuration change with a cascading job? [message #1604102 is a reply to message #1603968] Fri, 06 February 2015 16:39 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
It uses Object.equals most part. Also when the value is changed in the browser a modified flag is sent via Ajax and marked in the corresponding field something like

http://ci.hudson-ci.org/job/plugins.audit-trail/modifyCascadingProperty?propertyName=_.concurrentBuild


Winston Prakash
Eclipse Hudson team
Re: How does Hudson know a configuration change with a cascading job? [message #1604573 is a reply to message #1604102] Fri, 06 February 2015 23:57 Go to previous message
Kaz Nishimura is currently offline Kaz NishimuraFriend
Messages: 89
Registered: December 2014
Member
I saw Mercurial SCM configuration is misdetected as changed when saved even without actual changes. I wondered why it happened. It might be possible that the Mercurial plugin doesn't implement its equals method properly. I will look into it.

Kaz Nishimura
Previous Topic:Recent Changes is not showing on Hudson Dashboard
Next Topic:java.lang.LinkageError: loader constraint violation
Goto Forum:
  


Current Time: Sat Oct 21 10:41:11 GMT 2017

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

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