-
Improvement
-
Resolution: Unresolved
-
Minor
-
None
Please add setter for duration property of Run,
so that user can override this in case of custom pipelines, parallel stages, etc.
In Run.java, something like:
/**
* Sets the {@link #getDuration} of this build.
* @param d the proposed new duration
*/
public void setDuration(Long d) {
duration = d;
LOGGER.log(FINE, this + " in " + getRootDir() + ": Run duration is set to " + d, LOGGER.isLoggable(Level.FINER) ? new Exception() : null);
}
}