Kinook Software Forum

Go Back   Kinook Software Forum > Visual Build Professional > [VBP] General Discussion
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 08-18-2006, 09:37 AM
benfulton benfulton is online now
Registered User
 
Join Date: 08-18-2006
Posts: 6
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?
Reply With Quote
  #2  
Old 08-18-2006, 11:59 AM
kinook kinook is online now
Administrator
 
Join Date: 03-06-2001
Location: Colorado
Posts: 6,034
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)
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



All times are GMT -5. The time now is 10:08 AM.


Copyright © 1999-2023 Kinook Software, Inc.