Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Hudson » Hudson integration with eclipse(Hudson integration with eclipse)
Hudson integration with eclipse [message #1386361] Tue, 17 June 2014 05:20 Go to next message
Srinivas rao is currently offline Srinivas raoFriend
Messages: 4
Registered: June 2014
Junior Member
HI All,

We configured Hudson in our environment. we want to integrated with eclipse. Please suggest me how to do the integration between Hudson and eclipse.

Regards
Srinivas
Re: Hudson integration with eclipse [message #1386502 is a reply to message #1386361] Tue, 17 June 2014 23:44 Go to previous messageGo to next message
Winston Prakash is currently offline Winston PrakashFriend
Messages: 490
Registered: August 2011
Location: Fremont, CA USA
Senior Member
I'm not sure what do you mean by integration with eclipse.

- Do you mean to view the build results in Eclipse

For this you could use Mylyn Hudson connector

- Or use Hudson to build your code changes.

For this you have to create a centralized SCM repository. Then setup Hudson to build from that repository. You can setup SCM polling in Hudson to poll the SCM for any changes. When you commit your changes from Eclipse to the SCM repository, Hudson will automatically checkout your changes and build it for you.


Winston Prakash
Eclipse Hudson team
Re: Hudson integration with eclipse [message #1386513 is a reply to message #1386502] Wed, 18 June 2014 04:16 Go to previous messageGo to next message
Srinivas rao is currently offline Srinivas raoFriend
Messages: 4
Registered: June 2014
Junior Member
Hi Prakash,

Thank you for replay,

we can see Hudson builds in eclips. but we want to see the eclips java buils in Hudson.

Is there any way to integration between eclips and Hudson.

our intention is eclips build we can see in Hudson, Hudson will integrate with ALM.


Please suggest me how to proceed further.

Regards
Srinivas
Re: Hudson integration with eclipse [message #1386515 is a reply to message #1386513] Wed, 18 June 2014 04:50 Go to previous messageGo to next message
Winston Prakash is currently offline Winston PrakashFriend
Messages: 490
Registered: August 2011
Location: Fremont, CA USA
Senior Member
What do you mean by Eclipse build? Using Buckminster?

Winston Prakash
Eclipse Hudson team
Re: Hudson integration with eclipse [message #1386516 is a reply to message #1386515] Wed, 18 June 2014 04:56 Go to previous messageGo to next message
Srinivas rao is currently offline Srinivas raoFriend
Messages: 4
Registered: June 2014
Junior Member
Hi Prakash,

After executing the java program. we are generating java build. that build information i want to see in Hudson.

Sorry i mentioned as eclips build.

Is there any way to see the java build in Hudson
Re: Hudson integration with eclipse [message #1386518 is a reply to message #1386516] Wed, 18 June 2014 05:18 Go to previous messageGo to next message
Winston Prakash is currently offline Winston PrakashFriend
Messages: 490
Registered: August 2011
Location: Fremont, CA USA
Senior Member
I'm going to assume you have a software project which is developed using eclipse and you want to build that using Hudson.

- Find how you are going to build your project via command line

If it pure Eclipse project then you have to find a command line to invoke it (as explained here Headless Building with APT in Eclipse).

If you are using maven, gradle, ant or ivy, then Hudson has direct support (some via plugins)

- Next you need to tell Hudson how to find your source

Put your sources in some SCM like git, subversion or cvs (Hudson support many SCM). Configure the job to checkout the source from that SCM

- Next you tell Hudson how often it should check SCM for new commits Via SCM Polling

- Next tell Hudson how to build your source by adding appropriate builder in the Hudson job configuration page. Configure the builder by specifying exact command you use to build your source.

You might want to read Hudson books to get more detail

https://wiki.eclipse.org/Hudson-ci#Hudson_Books





Winston Prakash
Eclipse Hudson team
Re: Hudson integration with eclipse [message #1386519 is a reply to message #1386518] Wed, 18 June 2014 05:41 Go to previous message
Srinivas rao is currently offline Srinivas raoFriend
Messages: 4
Registered: June 2014
Junior Member
HI Prakash,

Thank you somuch for the information.

While exeucting the run command eclipse generate automatic build. so why we need to run the command prompt.

Regards
Srinivas
Previous Topic:Hudson jobs triggered by scm change (git) show "no changes".
Next Topic:SCM Post-commit notification should not require authentication
Goto Forum:
  


Current Time: Mon Apr 27 10:31:44 GMT 2015

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

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