Re: ClearCase - Trigger Build Based On New Recommended Baseline
Antoine Levy Lambert <[email protected]>
| Newsgroups | gmane.comp.java.cruise-control.user |
|---|---|
| Message-ID | <[email protected]> |
Hello Jeff, I am using base ClearCase so I do not know the baselines. What you could do is the following : - determine which cleartool subcommand or sequence of subcommands gives you the information neeeded, - write a plugin implementing the net.sourceforge.cruisecontrol.sourcecontrols.SourceControl interface I have written custom ClearCase plugins (for base ClearCase only) using commons-exec for its capacities to run commands and process the stdout and stderr outputs. Looking at the source code of CruiseControl can give you hints about how to write your code. If you do not want to program, you could for instance write a shell script which would write trigger files consumed by CruiseControl when new baselines are created. Then using the <filesystem/> source control which is built-in in CruiseControl, you can trigger the build. Regards, Antoine Jeff Plater wrote: Hi, We are using CruiseControl and ClearCase and I was wondering if anyone knew if it was possible to only trigger a build if a new recommended baseline is available. Basically we have a process that runs every night and does our build/deploy but we only want it to run if there is a new recommended baseline (we don’t want it to run if there were changes but no baseline was recommended). If so, how does one configure it? Thanks for your help. -Jeff ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Cruisecontrol-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/cruisecontrol-user