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 6653605
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T01:17:26+00:00 2026-05-26T01:17:26+00:00

I am setting up a nightly build using ccnet 1.6 to run projects sequentially

  • 0

I am setting up a nightly build using ccnet 1.6 to run projects sequentially and exclusively, but however I set up the queues when the build is triggered the projects do not start in the expected order as defined by the queue priority. The config below randomly starts queues 1, 2, 3 or 4 first then completes the remaining projects in the defined sequence order (ie 2, 1, 3, 4 or 3, 1, 2, 4 etc). I’ve tried xlmns 1.6 and 1.5 with same results. I can’t see why this is not working, am I missing something?
Thanks

 <cb:define name="Common">
  <webURL>http://hostname/ccnet/server/local/project\$(CCProjectName)\ViewLatestBuildReport.aspx</webURL>
  <workingDirectory>D:\source\$(ProjectName)</workingDirectory>
  <sourcecontrol type="svn"/>
  <modificationDelaySeconds>60</modificationDelaySeconds>   
  <triggers>
    <scheduleTrigger time="11:05" buildCondition="ForceBuild "/>
  </triggers>
  <state type="state" directory="C:\Program Files\CruiseControl.NET\server" />
</cb:define>

<cb:define name="BuildProject">
  <project name="$(CCProjectName)" queue="SequentialQueue" queuePriority="$(QueuePriority)">
    <cb:Common />
    <tasks>
      <exec>
        <executable>$(ANT_HOME)\bin\ant.bat</executable>
        <buildArgs>-logger org.apache.tools.ant.XmlLogger -logfile build_log.xml -f build\$(ProjectName).xml</buildArgs>
      </exec>
    </tasks>
    <publishers>
      <merge>
        <files>
          <file>D:\source\$(ProjectName)\build\*.xml</file>
        </files>
      </merge>
      <xmllogger /> 
    </publishers>
  </project>
</cb:define>    

<cb:BuildProject CCProjectName="API" ProjectName="api" QueuePriority="1" />

<cb:BuildProject CCProjectName="Ack" ProjectName="acknowledgement" QueuePriority="2" />

<cb:BuildProject CCProjectName="Error" ProjectName="error" QueuePriority="3" />

<cb:BuildProject CCProjectName="Monitoring" ProjectName="monitoring"  QueuePriority="4" />
  • 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-26T01:17:26+00:00Added an answer on May 26, 2026 at 1:17 am

    I’m guessing this is a bug in CruiseControl.Net, your scenario (variable priority projects in one queue triggered by the same schedule trigger) is not a common one. You should file a bug on cruisecontrolnet.org.

    A more usual solution for this kind of setup is having the projects trigger each other using <projectTrigger/>, which also results in a sequential build. You’ll probably want to change the triggerStatus parameter so that a failed build does not stop the chain.

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

Sidebar

Related Questions

Setting the style attribute to elements is not working in IE 6/7 . But
I'm setting up a MSBuild project to run some NUnit test, using the MSBuild
I'm setting up a nightly build for continuous integration within TeamCity. I wanted to
Our team is setting up nightly and continuous integration builds. We own Team Foundation
Setting up an integration server, I’m in doubt about the best approach regarding using
Setting onchange event for CheckBoxList using the following code doesn't work. chkListUserGroup.Attributes.Add(onchange, document.forms[0].isRecordModified.value='true';); How
Setting a Magento store for a winery. They well bottles of wine, but you
We run a nightly process that generates a large number (~8000) of reports each
setting type to hashed seems to not allow enablePasswordRetrieval. what if a user forgot
Setting up TeamCity 5.0.1 to run unit tests for the first time, we're seeing

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.