I only have experience with Java-based CruiseControl, so I donβt know if phpCruiseControl is anything else, but for the βgeneralβ CruiseControl that you can define in the configuration file (usually config.xml), you have the option add publishers. They start after assembly is complete. In response to your question, you need to add an element to the <onsuccess> configuration in the publisher section where you can call any publisher that you like. read the documentation for an explanation. Basically you want something like this:
<cruisecontrol>
<project>
<publishers>
<onsuccess>
<antpublisher buildfile="myTasks.xml">
...
source
share