phaniteja-24 / hudson-eclipse

Automatically exported from code.google.com/p/hudson-eclipse
0 stars 0 forks source link

Support multiple Hudson URLs / mutliple monitor views #48

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Install plugin
2. Configure
3. Try to use for more than one Hudson instance

What is the expected output? What do you see instead?

Would it be possible to configure multiple views? Perhaps by having each 
view instance store the Hudson URL, rather than a single, global property?

What version of the product are you using? On what operating system?

1.0.7, Fedora 11 linux 32-bit

Please provide any additional information below.

My goal is to be able to monitor both http://build.eclipse.org/hudson/ and 
http://hudson.jboss.org/hudson/, each in their own view.

Original issue reported on code.google.com by flite...@gmail.com on 14 Sep 2009 at 8:10

GoogleCodeExporter commented 9 years ago
Is anybody taking care of this issue? If not, I would be interested in solving 
it.
Changes that need to be done:
1. add a new HudsonServer model object with a parent-child relation to Job 
instances. 
2. switch the Hudson view from TableView to TreeView
3. change the preferences GUI to accommodate a list of Hudson URLs

Please correct me If I'm wrong.

Original comment by dan.corneanu@gmail.com on 12 Oct 2009 at 7:27

GoogleCodeExporter commented 9 years ago
I don't think anybody's working on it at the moment, so please go ahead. I would
prefer it if the view only switched to a treeview when there are actually 
multiple
servers defined.

Original comment by jre...@gmail.com on 12 Oct 2009 at 7:34

GoogleCodeExporter commented 9 years ago
I started working on this issue two weeks ago, but have actually no time to 
continue. 

> 3. change the preferences GUI to accommodate a list of Hudson URLs
First i changed the preferences UI: added a list with Hudson URLs and Add / 
Delete
buttons.

> 2. switch the Hudson view from TableView to TreeView
I had the idea to add tabs in hudson view and simple use "old" TableView in 
tabs (one
server = one tab). I think TreeView would be good too.

> 1. add a new HudsonServer model object with a parent-child relation to Job 
instances.
Yes, i have similar idea, but have no time to change it now.

If you want, i can send screenshot and patch for point 1. (when i come home).

Andre

Original comment by andre.bo...@gmail.com on 12 Oct 2009 at 11:33

GoogleCodeExporter commented 9 years ago
Please do so.
jrecht: Is it possible that you assign this issue to me and change its status?

Original comment by dan.corneanu@gmail.com on 12 Oct 2009 at 11:50

GoogleCodeExporter commented 9 years ago
I have made a patch with the work I have done until now. 
The code is almost finished but I would very much appreciate some feedback 
before 
delivering the final version. Can you please give it a try?

Current problems:
1. The hudson view is not adapted for multiple servers yet.
2. The entries in the Views menu are duplicated.
3. You can add the same server multiple times.

Please make sure to run the application with "clear runtime" after applying the 
patch 
because the preferences have changed.

Original comment by dan.corneanu@gmail.com on 12 Nov 2009 at 4:20

Attachments:

GoogleCodeExporter commented 9 years ago
here is a final patch with support for multiple hudson servers shown in the 
view.

Note: the fix for issue 42 seems not to be integrated and it has an impact on 
this one 
too.

Original comment by dan.corneanu@gmail.com on 26 Nov 2009 at 3:59

Attachments: