Kinook Software Forum

Kinook Software Forum (https://www.kinook.com/Forum/index.php)
-   [VBP] General Discussion (https://www.kinook.com/Forum/forumdisplay.php?f=2)
-   -   Continuous Integration best practice (https://www.kinook.com/Forum/showthread.php?t=2004)

benfulton 08-18-2006 09:37 AM

Continuous Integration best practice
 
My instinct for setting up a CI build on a Windows machine was to set up a task in the task scheduler to run every x minutes.

But I see the Continuous Integration sample that is available in the samples, which seems to start and then go continually all day with a Sleep step in the middle. Is there a specific reason why this technique is superior to the task scheduler?

kinook 08-18-2006 11:59 AM

Both methods have different advantages and drawbacks. Some are listed below.

Continously repeating build loop

+ automatic serialization of builds
- depending on requirements, may need to configure build box to automatically logon and run scheduled task at login (see notes at http://www.visualbuild.com/Manual/contintegsample.htm for details)

Repeating scheduled task

+ runs whether user is logged on or not (but no visible UI if not)
- need to ensure builds are run sequentially (one way is to check for signal file at start of build and exit if found, then create a signal file and delete on build succeed/fail)


All times are GMT -5. The time now is 11:07 PM.


Copyright © 1999-2023 Kinook Software, Inc.