Skip to content

Commit f6ec0d0

Browse files
committed
1 parent 7ea44f8 commit f6ec0d0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/main/java/jenkins/scm/api/SCMSource.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -991,7 +991,8 @@ public final SCMRevision getTrustedRevisionForBuild(@NonNull SCMRevision revisio
991991
} else {
992992
LOGGER.fine(() -> build + " was not considered trustworthy, so replacing " + revision + " with " + trustedRevision);
993993
listener.getLogger().print(buffer.toString());
994-
listener.getLogger().println(build + " was not considered trustworthy, so replacing " + revision + " with " + trustedRevision);
994+
listener.getLogger().printf("This build was not considered trustworthy, so replacing %s with %s for sensitive files.%n", revision, trustedRevision);
995+
listener.getLogger().printf("(To retest using %s, trigger a new build explicitly, for example using Replay.)%n", revision);
995996
}
996997
return trustedRevision;
997998
}

0 commit comments

Comments
 (0)