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

  • Home
  • SEARCH
  • 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 6938439
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T12:29:38+00:00 2026-05-27T12:29:38+00:00

We have CC.NET as continuous integration environment. CC gets every commits from Git, build

  • 0

We have CC.NET as continuous integration environment. CC gets every commits from Git, build and publish to server.

This is config:

        <buildpublisher
            <sourceDir>Path_to_dir_with_source</sourceDir>
            <publishDir>path_to_deploy</publishDir>
            <cleanPublishDirPriorToCopy>true</cleanPublishDirPriorToCopy>
            <useLabelSubDirectory>false</useLabelSubDirectory>
            <alwaysPublish>true</alwaysPublish>
        </buildpublisher>

But our QA engeneer wants to get “fresh” build every morning, not 20 times in a day 🙂

Anybody know how to make this with CC.NET?

[UPDATE]

We still need to build every commit, but put this commit to web server only once in a day

  • 1 1 Answer
  • 0 Views
  • 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-27T12:29:38+00:00Added an answer on May 27, 2026 at 12:29 pm

    Use the ScheduleTrigger block:

    <scheduleTrigger time="23:30" buildCondition="ForceBuild" name="Scheduled">
      <weekDays>
        <weekDay>Monday</weekDay>
      </weekDays>
    </scheduleTrigger>
    

    You can also use a cronTrigger, or an intervalTrigger, but for your case, the scheduleTrigger seems simplest.

    http://www.cruisecontrolnet.org/projects/ccnet/wiki/Trigger_Blocks

    Added to address the comment:

    You can have multiple triggers in one Project block.

    We have an Interval Trigger on our end as well as a Schedule Trigger. You can have as many triggers as you need.

    If you want to keep the builds separate, you can also have a compeltely separate Project block – one that operates on a Schedule trigger, and one that operates on an interval, but there are risks, and the configuration needs to be planned. The following comes to mind as potential considerations:

    1. If you do this, be sure you check out the source code to different directories, or you can run into conflicts if both are running at the same time.
    2. Even if the source code checkout is to different directories, you can still run into conflicts if both projects are publishing to the same output location.
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

On our CC.NET continuous integration server, I have implemented a Start Update hook script
I have setup a Continuous Integration environment using CruiseControl.Net. I want to know how
I have a Continuous Integration server with dozens of ASP.NET applications hosted on IIS.
I'm setting up a continuous integration environment, using VisualSVN Server and CrusieControl.NET. What I
We're using CruiseControl.Net to do our continuous integration of our web applications. we build
I am just beginning to set up a Continuous Integration Server using CruiseControl.Net. To
We have started using CC.NET for continuous integration and as the number of projects
We have CruiseControl.NET set up to do continuous integration of a number of our
I have set up continuous integration for an ASP .NET MVC application on Team
I am using CruiseControl.Net for continuous integration and I know how to have CruiseControl.Net

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.