C
C
cyberorg2013-01-16 14:11:07
Java
cyberorg, 2013-01-16 14:11:07

Eclipse IDE and Hudson server integration and overall build process

What is now:
1) Eclipse IDE
2) Bitbucket repository
3) Hudson build server

How I see the build process:

1) Developer makes stable code
2) git push to build branch
3) hudson polls bitbucket periodically
4) hudson does git clone
5 ) hudson builds via ant
6) hundson runs tests
6) hudson does git merge and git push to stable

Now the questions are:
0) What is wrong in the above process?
1) How to start the assembly manually from eclipse instead of the default "build as ..."?
2) If you do not build the project locally in eclipse, then eclipse will not create a bin folder, and therefore there will be a lot of errors about class not found and things like that. How to get rid of this without loading the developer's computer with the build process?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
aakhmerov, 2013-01-16
@aakhmerov

use Maven instead of ant to build and describe dependencies. Accordingly, there will be no problems with the environment in which the build is launched, dependencies during the build, and Hudson integrates perfectly with it. Ant should be used if your project during the build process must perform some very specific modifications and be launched by maven pugin.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question