Skip to content

Commit dd260d5

Browse files
authored
Merge pull request #176 from Iridias/master
improved shortdescription for builds/cause
2 parents f72889e + ce62abd commit dd260d5

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/main/java/bitbucketpullrequestbuilder/bitbucketpullrequestbuilder/bitbucket/server/ServerBitbucketCause.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@ public ServerBitbucketCause(String serverUrl, String sourceBranch, String target
1616

1717
@Override
1818
public String getShortDescription() {
19-
return getServerUrl() + "/projects/" + getRepositoryOwner() + "/repos/" + getRepositoryName() + "/pull-requests/" + getPullRequestId();
19+
return "#" + getPullRequestId() + " " + getPullRequestTitle()
20+
+ " (" + getServerUrl() + "/projects/" + getRepositoryOwner() + "/repos/" + getRepositoryName() + "/pull-requests/" + getPullRequestId() + ")";
2021
}
2122

2223
public String getServerUrl() {

0 commit comments

Comments
 (0)