예제 #1
0
 private void finishBuildSetTask() {
   buildConfigSetRecord.setEndTime(new Date());
   setStatus(BuildSetStatus.DONE);
   if (getBuildTaskType().equals(BuildExecutionType.COMPOSED_BUILD)) {
     try {
       buildCoordinator.saveBuildConfigSetRecord(buildConfigSetRecord);
     } catch (CoreException e) {
       log.error("Unable to save build config set record", e);
     }
   }
 }
예제 #2
0
 /** Create build set task for running a single build or set of builds */
 public BuildSetTask(
     BuildCoordinator buildCoordinator,
     BuildConfigSetRecord buildConfigSetRecord,
     BuildExecutionType buildTaskType,
     ProductMilestone productMilestone) {
   this.buildCoordinator = buildCoordinator;
   this.buildConfigSetRecord = buildConfigSetRecord;
   this.buildTaskType = buildTaskType;
   this.productMilestone = productMilestone;
   this.buildSetStatusChangedEventNotifier =
       buildCoordinator.getBuildSetStatusChangedEventNotifier();
   setStatus(BuildSetStatus.NEW);
 }