Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 673233
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T00:34:24+00:00 2026-05-14T00:34:24+00:00

How would I do a nightly or other scheduled build for CruiseControl.NET without having

  • 0

How would I do a nightly or other scheduled build for CruiseControl.NET without having a duplicate project?

In my current config, every 60 seconds, I am checking out the trunk using Subversion, running MSBuild, then either NUnit or MSTest.

I would like to commit back to SVN as a tag, but I don’t want it on every successful build. I want it to make a nightly build or some other set schedule. To me, it seems a bit tedious to have two CruiseControl.Net projects with basically the same options. What is the best way to handle that?

As a bonus, I would like it to build as a release build and commit the binaries in the same tag.

  • 1 1 Answer
  • 1 View
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-14T00:34:24+00:00Added an answer on May 14, 2026 at 12:34 am

    The only way I have found thus far, is to create another project in the ccnet.config file which relies on the output of the first… here’s what I mean.

    The first project builds as normal whenever a developer checks-in any code.

    The second project only runs after a specified time (e.g. 11pm) and will only run IF the first project shows a successful build.

    Therefore, I am using the second project to do the UI tests in Selenium during the middle of the night, without having them run during the day and occupying the build machine for when the devs need it.

    Here’s what I have done to do this: In my ccnet.config file, my second project has this as it’s settings:

    <triggers>  
            <multiTrigger operator="And"> 
                <triggers> 
                    <projectTrigger project="NameOfProject1" /> 
                    <scheduleTrigger time="23:00" buildCondition="ForceBuild">
                        <weekDays>
                            <weekDay>Monday</weekDay>
                            <weekDay>Tuesday</weekDay>
                            <weekDay>Wednesday</weekDay>
                            <weekDay>Thursday</weekDay>
                            <weekDay>Friday</weekDay>
                            <weekDay>Saturday</weekDay>
                        </weekDays>
                    </scheduleTrigger>
                </triggers> 
            </multiTrigger>
        </triggers>
    

    In addition, my source control section has this:

    <sourcecontrol type="multi">
    <sourceControls>   
        <svn>
            <trunkUrl>http://<my-svn-url>:81/svn/<my-project-name>/branches/1.13</trunkUrl>
            <workingDirectory>c:\ccnet\<my-system-name>\<my-project-name></workingDirectory>
            <cleanCopy>false</cleanCopy>
        </svn>
    

    …
    …

    Whereby the is set to false, so that the project doesn’t delete the code, but uses what’s there already.

    Then in my task a little further down, I’m passing a flag through to NAnt to tell it to only run the UI tests for my projects, as the first project in the ccnet.config file has already run the build process through but then ignores the UI tests.

    Does this help at all? I can expand further if this is the sort of direction you want to go in.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I would like to automate SchemaSpy as part of a nightly build against a
Goal: Using a CRON task (or other scheduled event) to update database with nightly
I am using one server to build the same project both continuously and nightly;
I would like to use some build parameters from Project 1 in Project 2.
Our project is using a nightly backup application that simply makes a duplicate of
I have a folder path stored in the property nightly.basepath (here the value would
Would like a for loop in jquery so that: For every hover_link: show hidden
I have a nightly database backup which I would like to scp to a
I'd like to have the nightly build check for how many NotImplementedExeptions there are
I am wondering what the community would most recommend for a problem I'm having

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.