From 174870ac2e22fbacddf2b90e0d542c2271c75a4c Mon Sep 17 00:00:00 2001 From: Jesse Glick Date: Thu, 12 Apr 2018 19:36:09 -0400 Subject: [PATCH] [JENKINS-50777] Exporting AbstractGitSCMSource.SCMRevisionImpl.hash. --- src/main/java/jenkins/plugins/git/AbstractGitSCMSource.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main/java/jenkins/plugins/git/AbstractGitSCMSource.java b/src/main/java/jenkins/plugins/git/AbstractGitSCMSource.java index 8ffc1b3412..ca03b9ee77 100644 --- a/src/main/java/jenkins/plugins/git/AbstractGitSCMSource.java +++ b/src/main/java/jenkins/plugins/git/AbstractGitSCMSource.java @@ -120,6 +120,7 @@ import org.kohsuke.accmod.Restricted; import org.kohsuke.accmod.restrictions.DoNotUse; import org.kohsuke.accmod.restrictions.NoExternalUse; +import org.kohsuke.stapler.export.Exported; /** * Base class for {@link SCMSource} implementations that produce {@link GitSCM} implementations. @@ -1203,6 +1204,7 @@ public SCMRevisionImpl(SCMHead head, String hash) { this.hash = hash; } + @Exported public String getHash() { return hash; }