Forcing Build During Ant "Pause" Period

View: New views
3 Messages — Rating Filter:   Alert me  

Forcing Build During Ant "Pause" Period

by Tennis Smith-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

My schedule definition specifies that builds are triggered by svn changes during part of the day:
        <schedule interval="3600">
            <ant
                anthome="apache-ant-1.7.0"
                buildfile="projects/${project.name}/build-${project.name}.xml"
                target="build"
                uselogger="false"
                usedebug="false"
                showAntOutput="false"
                showProgress="false"
                saveLogDir="projects/cc/logs/${project.name}"
                timeout="1200"/>
            <pause starttime="1900" endtime="2359"/>
            <pause starttime="0000" endtime="0359"/>
            <pause day="saturday" starttime="0000" endtime="2359"/>
            <pause day="sunday" starttime="0000" endtime="2359"/>
        </schedule>

Is there any way to force a build during these pause times and when no changes have been made?

--

Tks,
-T

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Cruisecontrol-user mailing list
Cruisecontrol-user@...
https://lists.sourceforge.net/lists/listinfo/cruisecontrol-user

Re: Forcing Build During Ant "Pause" Period

by Chris Green-6 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Go to the dashboard control panel tab and click on the force build button
Sent using BlackBerry® from Orange

-----Original Message-----
From: Tennis Smith <tennis@...>
Date: Sun, 25 Oct 2009 11:25:58
To: <cruisecontrol-user@...>
Subject: [Cruisecontrol-user] Forcing Build During Ant "Pause" Period

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Cruisecontrol-user mailing list
Cruisecontrol-user@...
https://lists.sourceforge.net/lists/listinfo/cruisecontrol-user

Re: Forcing Build During Ant "Pause" Period

by Tennis Smith-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Thanks for the quick reply Chris, but that doesn't work.  I the following in my log:

[cc]Oct-25 12:29:24 jectController- itinerator Controller: forcing build
2009-10-25 12:29:24,828 [RMI TCP Connection(927)-127.0.1.1] INFO  ProjectController - itinerator Controller: forcing build
[cc]Oct-25 12:29:24 Project       - Project itinerator:  in build queue
2009-10-25 12:29:24,828 [Project itinerator thread] INFO  Project          - Project itinerator:  in build queue
[cc]Oct-25 12:29:24 jectController- itinerator Controller: build progress event: in build queue
2009-10-25 12:29:24,828 [Project itinerator thread] INFO  ProjectController - itinerator Controller: build progress event: in build queue
[cc]Oct-25 12:29:24 BuildQueue    - now adding to the thread queue: itinerator
2009-10-25 12:29:24,832 [BuildQueueThread] INFO  BuildQueue       - now adding to the thread queue: itinerator
[cc]Oct-25 12:29:24 Schedule      - CruiseControl is paused until: 00:00
2009-10-25 12:29:24,853 [Thread-81] INFO  Schedule         - CruiseControl is paused until: 00:00
[cc]Oct-25 12:29:24 Project       - Project itinerator:  idle
2009-10-25 12:29:24,853 [Thread-81] INFO  Project          - Project itinerator:  idle
[cc]Oct-25 12:29:24 jectController- itinerator Controller: build progress event: idle
2009-10-25 12:29:24,853 [Thread-81] INFO  ProjectController - itinerator Controller: build progress event: idle
[cc]Oct-25 12:29:24 Project       - Project itinerator:  next build in 15 hours 31 minutes
2009-10-25 12:29:24,854 [Project itinerator thread] INFO  Project          - Project itinerator:  next build in 15 hours 31 minutes
[cc]Oct-25 12:29:24 Project       - Project itinerator:  waiting for next time to build
2009-10-25 12:29:24,854 [Project itinerator thread] INFO  Project          - Project itinerator:  waiting for next time to build
[cc]Oct-25 12:29:24 jectController- itinerator Controller: build progress event: waiting for next time to build
2009-10-25 12:29:24,858 [Project itinerator thread] INFO  ProjectController - itinerator Controller: build progress event: waiting for next time to build

Ant stops the process since we're in a 'pause' period. :(

-T


On Sun, Oct 25, 2009 at 11:44 AM, <chris.green100@...> wrote:
Go to the dashboard control panel tab and click on the force build button
Sent using BlackBerry® from Orange

-----Original Message-----
From: Tennis Smith <tennis@...>
Date: Sun, 25 Oct 2009 11:25:58
To: <cruisecontrol-user@...>
Subject: [Cruisecontrol-user] Forcing Build During Ant "Pause" Period



--

Tks,
-T

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Cruisecontrol-user mailing list
Cruisecontrol-user@...
https://lists.sourceforge.net/lists/listinfo/cruisecontrol-user