Use of <buildstatus> within Cruise Control

David Peter Bradly <[email protected]>
Newsgroups gmane.comp.java.cruise-control.user
Message-ID <0F933620C468E644A2E0ED4FCF0926185C56ACD4@NL0230MBX10N1.DIR.slb.com>
I am struggling to understand the basic concept of getting one project to fire off after the successful completion of another.

I am firing off a project on a daily basis using <schedule> <composite time="0101> ...

What I want is for a second project to start if and only if this project completes successfully.

I have tried

<modificationset>
      <buildstatus logdir="logs/Project A"/>
</modificationset>

    <schedule interval="3600">
      <exec ..."/>
    </schedule>

But this fires off once an hour and it looks as if I remove the interval=3600, it will fire off with the default interval of 5 minutes! And it seems to fire off if Project A has failed as well.

I have read the Wiki page on Dependent Builds, but this does not really help.

I have also seen some posts about <log> but cannot see what extra I have to do.

All I want is for Project B to fire off when and only when Project A has completed successfully (on a daily basis).

How do I do this?

David Bradly

------------------------------------------------------------------------------
AppSumo Presents a FREE Video for the SourceForge Community by Eric 
Ries, the creator of the Lean Startup Methodology on "Lean Startup 
Secrets Revealed." This video shows you how to validate your ideas, 
optimize your ideas and identify your business strategy.
http://p.sf.net/sfu/appsumosfdev2dev

_______________________________________________
Cruisecontrol-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/cruisecontrol-user
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.