Re: Running a target only at certain times
Jeffrey Fredrick <[email protected]>
| Newsgroups | gmane.comp.java.cruise-control.user |
|---|---|
| Message-ID | <[email protected]> |
Knowing the first project has a successful build, that's easy, you use the BuildStatus plugin for that: http://cruisecontrol.sourceforge.net/main/configxml.html#buildstatus How do you get those artifacts? Take a look at the properties defined by the BuildStatus plugin that are passed to the builders. Jtf On Thu, Apr 2, 2009 at 10:00 AM, Mark Townsend <[email protected]> wrote: > Thanks Jeff. I think I understand. > > Here's another problem that I"m sure it's solvable, just don't know how to > do it. > > I have to the two projects now. But I want to be able to have one project > depend on the artifacts of the other project if the other project's last > build was successful. Is that possible? And if so, how do I get those > artifacts? > > Thanks, > Mark > > > > On Tue, Mar 31, 2009 at 3:37 PM, Jeffrey Fredrick < > [email protected]> wrote: > >> >> The best (imho) approach to that is to use two projects. You can use a >> template project to eliminate duplication between the projects: >> >> >> http://www.developertesting.com/archives/month200602/20060210-TemplateProjectsWithCruiseControl2.4.html >> >> That make sense? >> >> Jtf >> >> >> On Tue, Mar 31, 2009 at 2:57 PM, Mark Townsend <[email protected]>wrote: >> >>> Is there a way in the config.xml or the wrapper script to only run a >>> target after doing another build a certain amount of time or by having >>> another schedule to run a different wrapper that creates an artifact? >>> >>> Specifically, I have a build script that creates and EAR with one target >>> and a InstallAnywhere installer with another target. I only want to do the >>> install anywhere occasionally or on demand. >>> >>> Any ideas? >>> >>> Thanks, >>> Mark >>> >>> >>> >>> >>> ------------------------------------------------------------------------------ >>> >>> _______________________________________________ >>> Cruisecontrol-user mailing list >>> [email protected] >>> https://lists.sourceforge.net/lists/listinfo/cruisecontrol-user >>> >>> >> >> >> -- >> Build engineering training: http://ci-guys.com/training.php >> >> >> >> >> ------------------------------------------------------------------------------ >> >> _______________________________________________ >> Cruisecontrol-user mailing list >> [email protected] >> https://lists.sourceforge.net/lists/listinfo/cruisecontrol-user >> >> > > > ------------------------------------------------------------------------------ > > _______________________________________________ > Cruisecontrol-user mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/cruisecontrol-user > > -- Build engineering training: http://ci-guys.com/training.php ------------------------------------------------------------------------------ _______________________________________________ Cruisecontrol-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/cruisecontrol-user