SBuild latestBuild = buildType.getLastChangesStartedBuild();
if (latestBuild != null) {
String userName = "";
ResponsibilityEntry buildTypeResponsibility = responsibilityFacade.findBuildTypeResponsibility(buildType);
if (buildTypeResponsibility != null) {
User responsibleUser = buildTypeResponsibility.getResponsibleUser();
userName = responsibleUser.getUsername();
}
long duration = -1;
long secondsSinceFinished = -1;