|
Content with label cache in CruiseControl (See content from all spaces)
Related Labels:
artifacts, scrubbing, forcebuildwithtarget
TimeBuilderCodeSample
CC uses the following logic in time builders to decide whether to run the builder or not: if (isTimeBuilder) { boolean didntBuildToday = builderDidntBuildToday(lastBuild, now, buildTime); boolean isAfterBuildTime = buildTime<=Util.getTimeFromDate(now); boolean isValidDay = builder.isValidDay(now); if (didntBuildToday && isAfterBuildTime && isValidDay) } SchedulingExample
Other labels:
forcebuildwithtarget
|
DeleteOldArtifactsWorkAround
Deleting Old Artifacts Time based As a temporary work around (until CC supports deleting artifacts itself) you may want to add a cron job to delete builds over a set age. Here is an example Unix shell ...
Other labels:
artifacts, scrubbing
|
|
|