You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@continuum.apache.org by Cameron Jones <cm...@gmail.com> on 2007/06/13 00:42:35 UTC
Build schedule for only when subversion has changed
Hey groupies,
Quick question, and possibly a stupid one, but is there any way of
specifying a build schedule which only fires when there have been
changes in subversion aka an option i've used before in luntbuild and
cruise control. this would be really useful for me as its a very small
dev team and even nightly builds are unnecessary.
Conversely from that, is it possible to configure a build schedule so
that it doesn't fire if there have been no changes to subversion, ie a
nightly build that will not re-build if everything is still the same?
Thanks,
Cam
Re: Build schedule for only when subversion has changed
Posted by Wayne Fay <wa...@gmail.com>.
Generally, people achieve this by using a post-commit hook in their
SCM. You can find several threads discussing this if you search this
lists' archives for XML-RPC.
Wayne
On 6/12/07, Napoleon Esmundo C. Ramirez
<na...@gmail.com> wrote:
> Hey there, Cam!
>
> As of now, Continuum only has builds scheduled. Continuum checkouts/updates
> the sources for building, but still under a schedule.
>
> It would definitely be a nice feature, having Continuum detect scm changes.
> Bring up this post sometime soon! :)
>
> Cheers!
> Nap
>
> On 6/13/07, Cameron Jones <cm...@gmail.com> wrote:
> >
> > Hey groupies,
> >
> > Quick question, and possibly a stupid one, but is there any way of
> > specifying a build schedule which only fires when there have been
> > changes in subversion aka an option i've used before in luntbuild and
> > cruise control. this would be really useful for me as its a very small
> > dev team and even nightly builds are unnecessary.
> >
> > Conversely from that, is it possible to configure a build schedule so
> > that it doesn't fire if there have been no changes to subversion, ie a
> > nightly build that will not re-build if everything is still the same?
> >
> > Thanks,
> > Cam
> >
>
Re: Build schedule for only when subversion has changed
Posted by "Napoleon Esmundo C. Ramirez" <na...@gmail.com>.
Hey there, Cam!
As of now, Continuum only has builds scheduled. Continuum checkouts/updates
the sources for building, but still under a schedule.
It would definitely be a nice feature, having Continuum detect scm changes.
Bring up this post sometime soon! :)
Cheers!
Nap
On 6/13/07, Cameron Jones <cm...@gmail.com> wrote:
>
> Hey groupies,
>
> Quick question, and possibly a stupid one, but is there any way of
> specifying a build schedule which only fires when there have been
> changes in subversion aka an option i've used before in luntbuild and
> cruise control. this would be really useful for me as its a very small
> dev team and even nightly builds are unnecessary.
>
> Conversely from that, is it possible to configure a build schedule so
> that it doesn't fire if there have been no changes to subversion, ie a
> nightly build that will not re-build if everything is still the same?
>
> Thanks,
> Cam
>
Re: Build schedule for only when subversion has changed
Posted by Cameron Jones <cm...@gmail.com>.
Cool, thanks. I'm using subversion which looks like the only
difference, i'll retest my system and have a look around to see if
anything else could be causing it.
thanks,
Cam
On 6/13/07, Martin Hoeller <ma...@xss.co.at> wrote:
> Hi!
> On Wednesday, 13. June 2007 15:27 Cameron Jones wrote:
>
> > So, having a build triggered only by scm changes is currently not a
> > feature. Cool, but would be good. Emmanuel - from what i understand
> > from your post do you mean that continuum currently should not be
> > building a scheduled build if there are no modifications in the
> > repository? This isn't what i've been experiencing but is the
> > behaviour i'm looking for. I'm using version 1.0.3, has anyone else
> > seen this happen?
>
> I'm using 1.0.3 and the behavior Emmanuel mentioned is exactly what's
> happening here:
>
> If I have a build scheduled for every hour, the actual build only happens if
> some modifications were found compared to the last successful build (I'm
> using CVS as an SCM).
>
> If nothing changed in CVS, no build is triggered.
>
> hth,
> - martin
> --
> Martin Höller | martin.hoeller@xss.co.at
> *x Software + Systeme | http://www.xss.co.at/
> Karmarschgasse 51/2/20 | Tel: +43-1-6060114-30
> A-1100 Vienna, Austria | Fax: +43-1-6060114-71
>
>
Re: Build schedule for only when subversion has changed
Posted by Martin Hoeller <ma...@xss.co.at>.
Hi!
On Wednesday, 13. June 2007 15:27 Cameron Jones wrote:
> So, having a build triggered only by scm changes is currently not a
> feature. Cool, but would be good. Emmanuel - from what i understand
> from your post do you mean that continuum currently should not be
> building a scheduled build if there are no modifications in the
> repository? This isn't what i've been experiencing but is the
> behaviour i'm looking for. I'm using version 1.0.3, has anyone else
> seen this happen?
I'm using 1.0.3 and the behavior Emmanuel mentioned is exactly what's
happening here:
If I have a build scheduled for every hour, the actual build only happens if
some modifications were found compared to the last successful build (I'm
using CVS as an SCM).
If nothing changed in CVS, no build is triggered.
hth,
- martin
--
Martin Höller | martin.hoeller@xss.co.at
*x Software + Systeme | http://www.xss.co.at/
Karmarschgasse 51/2/20 | Tel: +43-1-6060114-30
A-1100 Vienna, Austria | Fax: +43-1-6060114-71
Re: Build schedule for only when subversion has changed
Posted by Cameron Jones <cm...@gmail.com>.
Thanks for the feedback everyone, much appreciated.
So, having a build triggered only by scm changes is currently not a
feature. Cool, but would be good. Emmanuel - from what i understand
from your post do you mean that continuum currently should not be
building a scheduled build if there are no modifications in the
repository? This isn't what i've been experiencing but is the
behaviour i'm looking for. I'm using version 1.0.3, has anyone else
seen this happen?
Thanks,
Cam
On 6/13/07, Emmanuel Venisse <em...@venisse.net> wrote:
> Continuum works like that by default
>
> Emmanuel
>
> Cameron Jones a écrit :
> > Hey groupies,
> >
> > Quick question, and possibly a stupid one, but is there any way of
> > specifying a build schedule which only fires when there have been
> > changes in subversion aka an option i've used before in luntbuild and
> > cruise control. this would be really useful for me as its a very small
> > dev team and even nightly builds are unnecessary.
> >
> > Conversely from that, is it possible to configure a build schedule so
> > that it doesn't fire if there have been no changes to subversion, ie a
> > nightly build that will not re-build if everything is still the same?
> >
> > Thanks,
> > Cam
> >
> >
> >
>
>
Re: Build schedule for only when subversion has changed
Posted by Emmanuel Venisse <em...@venisse.net>.
Continuum works like that by default
Emmanuel
Cameron Jones a écrit :
> Hey groupies,
>
> Quick question, and possibly a stupid one, but is there any way of
> specifying a build schedule which only fires when there have been
> changes in subversion aka an option i've used before in luntbuild and
> cruise control. this would be really useful for me as its a very small
> dev team and even nightly builds are unnecessary.
>
> Conversely from that, is it possible to configure a build schedule so
> that it doesn't fire if there have been no changes to subversion, ie a
> nightly build that will not re-build if everything is still the same?
>
> Thanks,
> Cam
>
>
>