Re: stop build after restart

John Patrick <[email protected]> Wed, 4 Apr 2012 13:10:10 +0100
Newsgroups gmane.comp.java.cruise-control.user
Message-ID <CAH9u10m3YHq=aJ-dXCrp+taJakaoDYCpZQeh73F7gbaBVXQWYA@mail.gmail.com>
Just want to confirm your requirements/issue.

Assumptions:
One CruiseControl
One Project named X
CruiseControl checks Project X ever :00, :15, :30, :45 mins
Project X takes 10 mins to build

Timeline:
1) 00:00 cruisecontrol started
2) 00:01 cruisecontrol running
3) 00:10 check in to project x
4) 00:15 cruisecontrol detects change in project x at 00:10 and
triggers build of project x
5) 00:18 cruisecontrol dies, restarted, crashed, hangs, i.e. 3 mins
into project x build
6) 00:20 cruisecontrol is started again
7) 00:21 cruisecontrol running
8A) 00:21 cruisecontrol detects change in project x at 00:10 and
triggers build of project x
8B) 00:30 cruisecontrol detects change in project x at 00:10 and
triggers build of project x

In the above example timeline, do you see step 8A or 8B happening?

i.e. does the build get triggered as soon as cruisecontrol is running
again, or at the next check interval?

Without double checking the code I would assume that CruiseControl
only updates the project serialized file on build success or failure,
not if it starts/triggers a build.

If your project was queued to build and the server restarts would you
expect a build to be triggered again?

It might be simple to add this feature, but it would need to optional.
Gives me something to do over Easter, I'll see if I can get it
working.

John

On 4 April 2012 12:41, Vindhya S <[email protected]> wrote:
> Hi,
>
> I have one requirment, cruise machine got rebooted/stucked when  build is in
> progress, after I restarting the cruise it is starting the build even if
> there is no modification. How to avoid this?.
>
> If cruise stucks and restart, I don't want build after restart unless there
> is real change.
>
>
> Please help fixing this problem.
>
> Thanks,
> Vin
>
>
> ------------------------------------------------------------------------------
> Better than sec? Nothing is better than sec when it comes to
> monitoring Big Data applications. Try Boundary one-second
> resolution app monitoring today. Free.
> http://p.sf.net/sfu/Boundary-dev2dev
> _______________________________________________
> Cruisecontrol-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/cruisecontrol-user
>

------------------------------------------------------------------------------
Better than sec? Nothing is better than sec when it comes to
monitoring Big Data applications. Try Boundary one-second 
resolution app monitoring today. Free.
http://p.sf.net/sfu/Boundary-dev2dev
_______________________________________________
Cruisecontrol-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/cruisecontrol-user