Hello as a new user

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Hello as a new user

Chris Polderman
Hello everyone,

I've just discovered Hudson a couple of weeks ago and I must say: I am
impressed; it is so easy to setup and manage! I dumped cruisecontrol
10 minutes after implementing hudson..

I initially started off using CVS but have successfully switched to
Subversion now.

Now for a quick question:

I want to setup the build process to do an automated tag on the last
stable build. I have a few options here:

1) use the ant script of the job to tag whenever a build completes successfully;
2) use the automated deployment (which is a downstream shellscript
style job) to do the tagging.

The main downside of option 2 is that the tag is placed a while after
the build of the upstream job finishes; this can cause the tag to be
placed on the wrong version on some files which have changed
inbetween.

Is option 1 the standard way to go?

Kind regards,

Chris Polderman

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

Reply | Threaded
Open this post in threaded view
|

Re: Hello as a new user

Sven Reimers
Using svn you should be able to create a tag based on the revision you
retrieved when starting the build. This should solve your main problem
with option 2.

-Sven

On 1/21/07, Chris Polderman <[hidden email]> wrote:

> Hello everyone,
>
> I've just discovered Hudson a couple of weeks ago and I must say: I am
> impressed; it is so easy to setup and manage! I dumped cruisecontrol
> 10 minutes after implementing hudson..
>
> I initially started off using CVS but have successfully switched to
> Subversion now.
>
> Now for a quick question:
>
> I want to setup the build process to do an automated tag on the last
> stable build. I have a few options here:
>
> 1) use the ant script of the job to tag whenever a build completes successfully;
> 2) use the automated deployment (which is a downstream shellscript
> style job) to do the tagging.
>
> The main downside of option 2 is that the tag is placed a while after
> the build of the upstream job finishes; this can cause the tag to be
> placed on the wrong version on some files which have changed
> inbetween.
>
> Is option 1 the standard way to go?
>
> Kind regards,
>
> Chris Polderman
>
> ---------------------------------------------------------------------
> 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]

Reply | Threaded
Open this post in threaded view
|

Re: Hello as a new user

Kohsuke Kawaguchi-2
In reply to this post by Chris Polderman
Chris Polderman wrote:
> Hello everyone,
>
> I've just discovered Hudson a couple of weeks ago and I must say: I am
> impressed; it is so easy to setup and manage! I dumped cruisecontrol
> 10 minutes after implementing hudson..

Cool.

> I initially started off using CVS but have successfully switched to
> Subversion now.
>
> Now for a quick question:
>
> I want to setup the build process to do an automated tag on the last
> stable build. I have a few options here:

Just to check, you want to tag every build? Or are you only keeping the
tag on the last stable build?

> 1) use the ant script of the job to tag whenever a build completes successfully;
> 2) use the automated deployment (which is a downstream shellscript
> style job) to do the tagging.

... or write a plugin to do so.

> The main downside of option 2 is that the tag is placed a while after
> the build of the upstream job finishes; this can cause the tag to be
> placed on the wrong version on some files which have changed
> inbetween.
>
> Is option 1 the standard way to go?

I think it would be better if you write a Hudson plugin to do this. We
can help you.


--
Kohsuke Kawaguchi
Sun Microsystems                   [hidden email]

smime.p7s (4K) Download Attachment