避免# 评论到pr关联错issue

This commit is contained in:
yashin 2018-07-05 11:57:12 +08:00
parent 190c634f6c
commit 489c55e76f
1 changed files with 1 additions and 1 deletions

View File

@ -224,7 +224,7 @@ public class GiteeMessagePublisher extends MergeRequestNotifier {
} else {
String icon = getResultIcon(build.getResult());
String buildUrl = Jenkins.getInstance().getRootUrl() + build.getUrl();
message = MessageFormat.format("{0} Jenkins Build {1}\n\nResults available at: [Jenkins [{2} #{3}]]({4})",
message = MessageFormat.format("{0} Jenkins Build {1}\n\nResults available at: [Jenkins [{2} # {3}]]({4})",
icon, build.getResult().toString(), build.getParent().getDisplayName(), build.getNumber(), buildUrl);
}
return message;