Skip to content

Commit 42c6e28

Browse files
Merge pull request jenkinsci#659 from tomqwu/master
remove extra msg comments for build comment file
2 parents dbd73f1 + f5fa69d commit 42c6e28

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/main/java/org/jenkinsci/plugins/ghprb/extensions/comments/GhprbCommentFile.java

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -59,10 +59,7 @@ public String postBuildComment(Run<?, ?> build, TaskListener listener) {
5959
if (content == null) {
6060
content = FileUtils.readFileToString(new File(scriptFilePathResolved));
6161
}
62-
63-
msg.append("Build comment file: \n--------------\n");
6462
msg.append(content);
65-
msg.append("\n--------------\n");
6663
} catch (IOException e) {
6764
msg.append("\n!!! Couldn't read commit file !!!\n");
6865
listener.getLogger().println("Couldn't read comment file at " + scriptFilePathResolved);

0 commit comments

Comments
 (0)