aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/org
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/org')
-rw-r--r--src/main/java/org/jenkinsci/plugins/bbprb/BitbucketBuildTrigger.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/org/jenkinsci/plugins/bbprb/BitbucketBuildTrigger.java b/src/main/java/org/jenkinsci/plugins/bbprb/BitbucketBuildTrigger.java
index 4f57f04..d05b96b 100644
--- a/src/main/java/org/jenkinsci/plugins/bbprb/BitbucketBuildTrigger.java
+++ b/src/main/java/org/jenkinsci/plugins/bbprb/BitbucketBuildTrigger.java
@@ -264,7 +264,7 @@ public class BitbucketBuildTrigger extends Trigger<AbstractProject<?, ?>> {
dstRepository, pr.getString("title"),
src.getJSONObject("commit").getString("hash"),
dst.getJSONObject("commit").getString("hash"),
- pr.getJSONObject("author").getString("username"));
+ pr.getJSONObject("author").getString("display_name"));
switch (event) {
case "pullrequest:created":
startJob(cause);