private String resolveBuildDescription(AbstractBuild build) { String buildDescription = this.getDescription(); if (isNullOrEmpty(buildDescription) && build != null) { buildDescription = build.getDescription(); } return buildDescription; }
target.setId(source.getId()); target.setNumber(source.getNumber()); target.setDescription(source.getDescription()); target.setProjectName(source.getProject().getFullName()); target.setDuration(source.getDuration());