/** * Called when a job finished building normally or abnormally. */ protected void onEndBuilding() { // signal that we've finished building. state = State.COMPLETED; LOGGER.log(FINER, "moving to COMPLETED on {0}", this); if (runner!=null) { // MavenBuilds may be created without their corresponding runners. runner.checkpoints.allDone(); runner = null; RunnerStack.INSTANCE.pop(); } if (result == null) { result = Result.FAILURE; LOGGER.log(WARNING, "{0}: No build result is set, so marking as failure. This should not happen.", this); } RunListener.fireFinalized(this); }
/** * Called when a job finished building normally or abnormally. */ protected void onEndBuilding() { // signal that we've finished building. state = State.COMPLETED; LOGGER.log(FINER, "moving to COMPLETED on {0}", this); if (runner!=null) { // MavenBuilds may be created without their corresponding runners. runner.checkpoints.allDone(); runner = null; RunnerStack.INSTANCE.pop(); } if (result == null) { result = Result.FAILURE; LOGGER.log(WARNING, "{0}: No build result is set, so marking as failure. This should not happen.", this); } RunListener.fireFinalized(this); }
/** * Called when a job finished building normally or abnormally. */ protected void onEndBuilding() { // signal that we've finished building. if (runner!=null) { // MavenBuilds may be created without their corresponding runners. state = State.COMPLETED; runner.checkpoints.allDone(); runner = null; RunnerStack.INSTANCE.pop(); } else { state = State.COMPLETED; } if (result == null) { result = Result.FAILURE; LOGGER.warning(toString() + ": No build result is set, so marking as failure. This shouldn't happen."); } RunListener.fireFinalized(this); }
/** * Called when a job finished building normally or abnormally. */ protected void onEndBuilding() { // signal that we've finished building. if (runner!=null) { // MavenBuilds may be created without their corresponding runners. state = State.COMPLETED; runner.checkpoints.allDone(); runner = null; RunnerStack.INSTANCE.pop(); } else { state = State.COMPLETED; } if (result == null) { result = Result.FAILURE; LOGGER.warning(toString() + ": No build result is set, so marking as failure. This shouldn't happen."); } RunListener.fireFinalized(this); }
/** * Called when a job finished building normally or abnormally. */ protected void onEndBuilding() { // signal that we've finished building. if (runner!=null) { // MavenBuilds may be created without their corresponding runners. state = State.COMPLETED; runner.checkpoints.allDone(); runner = null; RunnerStack.INSTANCE.pop(); } else { state = State.COMPLETED; } if (result == null) { result = Result.FAILURE; LOGGER.warning(toString() + ": No build result is set, so marking as failure. This shouldn't happen."); } RunListener.fireFinalized(this); }
/** * Called when a job finished building normally or abnormally. */ protected void onEndBuilding() { // signal that we've finished building. if (runner != null) { // MavenBuilds may be created without their corresponding runners. setState(State.COMPLETED); runner.checkpoints.allDone(); runner = null; RunnerStack.INSTANCE.pop(); } else { setState(State.COMPLETED); } if (getResult() == null) { setResult(Result.FAILURE); LOGGER.warning(toString() + ": No build result is set, so marking as failure. This shouldn't happen."); } RunListener.fireFinalized(this); }