From 6e3b157914087cf2a63e6c73d12f06c2ffe4e455 Mon Sep 17 00:00:00 2001 From: Tom Andrews Date: Fri, 30 Oct 2015 17:48:38 +0000 Subject: [PATCH] Fix logging of Author and Assignee --- src/main/java/com/dabsquared/gitlabjenkins/GitLabWebHook.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/dabsquared/gitlabjenkins/GitLabWebHook.java b/src/main/java/com/dabsquared/gitlabjenkins/GitLabWebHook.java index dede4e189..fb7b8a1a0 100644 --- a/src/main/java/com/dabsquared/gitlabjenkins/GitLabWebHook.java +++ b/src/main/java/com/dabsquared/gitlabjenkins/GitLabWebHook.java @@ -417,8 +417,8 @@ protected void buildOpenMergeRequests(GitLabPushTrigger trigger, Integer project + mr.getSourceBranch() + "\n target: " + mr.getTargetBranch() + "\n state: " + mr.getState() + "\n assign: " - + mr.getAssignee() + "\n author: " - + mr.getAuthor() + "\n id: " + + mr.getAssignee().getName() + "\n author: " + + mr.getAuthor().getName() + "\n id: " + mr.getId() + "\n iid: " + mr.getIid() + "\n last commit: " + lastCommit.getId() + "\n\n");