Matthew Heitz
2012-07-30 14:49:13 UTC
Hi,
I need some help configuring Hudson to build my project after its
migration from CVS to Git.
We migrated from one CVS repository to several Git repositories, thanks to
statements like "Typically, one Git repository (.git) is created for each
logical unit, or grouping of code -- a plugin, a connector, a component,
and so on." in http://wiki.eclipse.org/Git/Migrating_to_Git . I want the
code from all of the Git repos to be compiled together by one Hudson job,
but I haven't succeeded yet.
Hudson's build config page allows you to specify as many Git repos as
you'd like, but I just read in the Hudson Book
http://wiki.eclipse.org/The_Hudson_Book that "Providing multiple
repositories only makes sense when they are clones or instances off the
same repository, since they will be used for merging together the content
prior to the build." That's not what I'm trying to do. Each repository
contains a distinct set of plugins.
In order for my build to work, the files from all repos must be extracted
to the same directory in the Hudson workspace. But Hudson is removing the
previous contents of the directory each time it fetches files from a repo.
I end up with only the files from the last repo.
I tried telling Hudson to put each repo's files into a different place,
but then javac couldn't find them.
I appreciate any help you can give me.
-Matt
--------------
Matt Heitz
Developer, Eclipse EGL Development Tools and IBM Rational Business
Developer
http://www.eclipse.org/edt/
http://www.ibm.com/developerworks/rational/products/rbde/
I need some help configuring Hudson to build my project after its
migration from CVS to Git.
We migrated from one CVS repository to several Git repositories, thanks to
statements like "Typically, one Git repository (.git) is created for each
logical unit, or grouping of code -- a plugin, a connector, a component,
and so on." in http://wiki.eclipse.org/Git/Migrating_to_Git . I want the
code from all of the Git repos to be compiled together by one Hudson job,
but I haven't succeeded yet.
Hudson's build config page allows you to specify as many Git repos as
you'd like, but I just read in the Hudson Book
http://wiki.eclipse.org/The_Hudson_Book that "Providing multiple
repositories only makes sense when they are clones or instances off the
same repository, since they will be used for merging together the content
prior to the build." That's not what I'm trying to do. Each repository
contains a distinct set of plugins.
In order for my build to work, the files from all repos must be extracted
to the same directory in the Hudson workspace. But Hudson is removing the
previous contents of the directory each time it fetches files from a repo.
I end up with only the files from the last repo.
I tried telling Hudson to put each repo's files into a different place,
but then javac couldn't find them.
I appreciate any help you can give me.
-Matt
--------------
Matt Heitz
Developer, Eclipse EGL Development Tools and IBM Rational Business
Developer
http://www.eclipse.org/edt/
http://www.ibm.com/developerworks/rational/products/rbde/