From bfa9c503d6c8e213a683e1f9643f511d67f2ead5 Mon Sep 17 00:00:00 2001 From: Stephen Connolly Date: Tue, 23 Sep 2014 10:31:39 +0100 Subject: [PATCH] Expose the remote cause details --- core/src/main/java/hudson/model/Cause.java | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/core/src/main/java/hudson/model/Cause.java b/core/src/main/java/hudson/model/Cause.java index 5294191fa0..e650be33ed 100644 --- a/core/src/main/java/hudson/model/Cause.java +++ b/core/src/main/java/hudson/model/Cause.java @@ -457,6 +457,16 @@ public abstract class Cause { } return Messages.Cause_RemoteCause_ShortDescription(addr); } + + @Exported(visibility = 3) + public String getAddr() { + return addr; + } + + @Exported(visibility = 3) + public String getNote() { + return note; + } @Override public boolean equals(Object o) { -- GitLab