Exemplo n.º 1
0
 public void emailContent(StringBuilder content, Modification modification) {
   content
       .append("Dependency: " + pipelineName + "/" + stageName)
       .append('\n')
       .append(
           String.format(
               "revision: %s, completed on %s",
               modification.getRevision(), modification.getModifiedTime()));
 }
Exemplo n.º 2
0
 @Override
 public void emailContent(StringBuilder content, Modification modification) {
   String scmDetails = getTypeForDisplay() + " : " + getDisplayName();
   String revisionDetails =
       format(
           "revision: %s, completed on %s\n%s",
           modification.getRevision(), modification.getModifiedTime(), modification.getComment());
   content.append(scmDetails).append('\n').append(revisionDetails);
 }