Hudson support for multiple CVS roots

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

Hudson support for multiple CVS roots

Jeff-271
We are currently evaluating Hudson to replace our current build system.  I am trying to set up an initial project to run some test with but I have run into a snag.  We are using CVS for our Source Code Management.  Most of our applications depend on a project that is located in a different CVSROOT.  Example:

MainProjectCode is located in: :pserver:[hidden email]:/java

DependentCode is located in:  :pserver:[hidden email]:/projects

As far as I can tell from the configuration page and the documentation, Hudson will only allow you to specify one CVSROOT per project.  Is that true or am I missing something?

I have searched the mailing list but did not find much.  I did find this comment is one message "There's an RFE to have CVS support multiple CVS roots".  I tried to find this RFE with no success.  Is this an enhancement that is planned for Hudson?  Is there a time frame for implementing this?

In the mean time, is there any other way I can handle the multiple CVSROOTs?

Jeff


---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

RE: Hudson support for multiple CVS roots

Adam Purkiss
I thought it did, but I just had a quick look and only svn supports multiple locations...




> Date: Tue, 22 Jul 2008 08:41:51 -0500

> From: [hidden email]
> To: [hidden email]
> Subject: Hudson support for multiple CVS roots
>
> We are currently evaluating Hudson to replace our current build system. I am trying to set up an initial project to run some test with but I have run into a snag. We are using CVS for our Source Code Management. Most of our applications depend on a project that is located in a different CVSROOT. Example:
>
> MainProjectCode is located in: :pserver:[hidden email]:/java
>
> DependentCode is located in: :pserver:[hidden email]:/projects
>
> As far as I can tell from the configuration page and the documentation, Hudson will only allow you to specify one CVSROOT per project. Is that true or am I missing something?
>
> I have searched the mailing list but did not find much. I did find this comment is one message "There's an RFE to have CVS support multiple CVS roots". I tried to find this RFE with no success. Is this an enhancement that is planned for Hudson? Is there a time frame for implementing this?
>
> In the mean time, is there any other way I can handle the multiple CVSROOTs?
>
> Jeff
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [hidden email]
> For additional commands, e-mail: [hidden email]
>


Reply | Threaded
Open this post in threaded view
|

RE: Hudson support for multiple CVS roots

Michael Donohue-2
In reply to this post by Jeff-271
RE: Hudson support for multiple CVS roots

Does your MainProjectCode depend on files directly in DependentCode?  Or do you run a build of DependentCode, and then use the output of that build in MainProjectCode?

If you just need the output of the DependentCode build, then create two jobs in Hudson, and have the second job get the build artifacts from the first.  This also works if you just need one or two files from DependentCode - just use the build artifact feature to capture the relevant files.

If you need the entire DependentCode repository to build MainProjectCode, the best choice is to put the cvs checkout command into the MainProjectCode build script, and not use Hudson to checkout DependentCode.

-Michael

-----Original Message-----
From: Jeff [[hidden email]]
Sent: Tue 7/22/2008 6:41 AM
To: [hidden email]
Subject:  Hudson support for multiple CVS roots

We are currently evaluating Hudson to replace our current build system.  I am trying to set up an initial project to run some test with but I have run into a snag.  We are using CVS for our Source Code Management.  Most of our applications depend on a project that is located in a different CVSROOT.  Example:

MainProjectCode is located in: :pserver:[hidden email]:/java

DependentCode is located in:  :pserver:[hidden email]:/projects

As far as I can tell from the configuration page and the documentation, Hudson will only allow you to specify one CVSROOT per project.  Is that true or am I missing something?

I have searched the mailing list but did not find much.  I did find this comment is one message "There's an RFE to have CVS support multiple CVS roots".  I tried to find this RFE with no success.  Is this an enhancement that is planned for Hudson?  Is there a time frame for implementing this?

In the mean time, is there any other way I can handle the multiple CVSROOTs?

Jeff


---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]



Reply | Threaded
Open this post in threaded view
|

AW: RE: Hudson support for multiple CVS roots

Schäffler, Nils
In reply to this post by Adam Purkiss
I think only CVSROOT is possible per Hudson job.

But you can try to work around it with a couple of dependent jobs.

 

For example:

 

1) Job with CVSROOT :pserver:[hidden email]:/projects

2) Job with CVSROOT :pserver:[hidden email]:/java

 

Make job 2 depend on job 1 and use the build artefacts of the "last successful build" from job 1 in job 2.

 

Of course you have to make job 1 to collect build artefacts that are usefull for job 2.

 

Another benefit in this solution is that you can recognize independently when one of the sources becomes corrupt and in case job 1 becomes corrupt you can still continue to use the last successful build from job 1.

 

Regards

Nils


________________________________

Von: Adam Purkiss [mailto:[hidden email]]
Gesendet: Di 22.07.2008 15:49
An: [hidden email]
Betreff: RE: Hudson support for multiple CVS roots


I thought it did, but I just had a quick look and only svn supports multiple locations...




________________________________

> Date: Tue, 22 Jul 2008 08:41:51 -0500
> From: [hidden email]
> To: [hidden email]
> Subject: Hudson support for multiple CVS roots
>
> We are currently evaluating Hudson to replace our current build system. I am trying to set up an initial project to run some test with but I have run into a snag. We are using CVS for our Source Code Management. Most of our applications depend on a project that is located in a different CVSROOT. Example:
>
> MainProjectCode is located in: :pserver:[hidden email]:/java
>
> DependentCode is located in: :pserver:[hidden email]:/projects
>
> As far as I can tell from the configuration page and the documentation, Hudson will only allow you to specify one CVSROOT per project. Is that true or am I missing something?
>
> I have searched the mailing list but did not find much. I did find this comment is one message "There's an RFE to have CVS support multiple CVS roots". I tried to find this RFE with no success. Is this an enhancement that is planned for Hudson? Is there a time frame for implementing this?
>
> In the mean time, is there any other way I can handle the multiple CVSROOTs?
>
> Jeff
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [hidden email]
> For additional commands, e-mail: [hidden email]
>

________________________________



This e-mail and any attachment is for authorised use by the intended recipient(s) only. It may contain proprietary material, confidential information and/or be subject to legal privilege. It should not be copied, disclosed to, retained or used by, any other party. If you are not an intended recipient then please promptly delete this e-mail and any attachment and all copies and inform the sender. Thank you.


---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

winmail.dat (7K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

RE: Hudson support for multiple CVS roots

Jeff-271
In reply to this post by Jeff-271

The MainProjectCode does depend on files directly in DependentCode to build.

I thought about putting the check out of the dependent projects in the ant build file of the MainProjectCode but I want this project to be rebuilt if there are any changes in the MainProjectCode or any of the dependent projects.  If the check out was in the build file, how would Hudson know to monitor these projects?

I am also trying to keep this solution pretty simple.  Since most of our developers will only be dealing with the build system periodically.  I don't want them to have to become "experts" with the Build system to enter a new project or TAG version.

-----Original Message-----
From: "Donohue, Michael"
Sent: Jul 22, 2008 8:53 AM
To: [hidden email], [hidden email]
Subject: RE: Hudson support for multiple CVS roots

Does your MainProjectCode depend on files directly in DependentCode?  Or do you run a build of DependentCode, and then use the output of that build in MainProjectCode?

If you just need the output of the DependentCode build, then create two jobs in Hudson, and have the second job get the build artifacts from the first.  This also works if you just need one or two files from DependentCode - just use the build artifact feature to capture the relevant files.

If you need the entire DependentCode repository to build MainProjectCode, the best choice is to put the cvs checkout command into the MainProjectCode build script, and not use Hudson to checkout DependentCode.

-Michael

-----Original Message-----
From: Jeff [[hidden email]]
Sent: Tue 7/22/2008 6:41 AM
To: [hidden email]
Subject:  Hudson support for multiple CVS roots

We are currently evaluating Hudson to replace our current build system.  I am trying to set up an initial project to run some test with but I have run into a snag.  We are using CVS for our Source Code Management.  Most of our applications depend on a project that is located in a different CVSROOT.  Example:

MainProjectCode is located in: :pserver:[hidden email]:/java

DependentCode is located in:  :pserver:[hidden email]:/projects

As far as I can tell from the configuration page and the documentation, Hudson will only allow you to specify one CVSROOT per project.  Is that true or am I missing something?

I have searched the mailing list but did not find much.  I did find this comment is one message "There's an RFE to have CVS support multiple CVS roots".  I tried to find this RFE with no success.  Is this an enhancement that is planned for Hudson?  Is there a time frame for implementing this?

In the mean time, is there any other way I can handle the multiple CVSROOTs?

Jeff


---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]



--------------------------------------------------------------------- To unsubscribe, e-mail: [hidden email] For additional commands, e-mail: [hidden email]