Cruisecontrol actions after a successful build?

I use cruisecontrol (phpCruiseControl, to be precise) as the CI server, and my build script works in an automated manner. Do I need to add tasks to the cruisecontrol script configuration for successful build actions?

thank

+3
source share
1 answer

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">
         ...
+7
source

Source: https://habr.com/ru/post/1758739/


All Articles