From 77799131b869c9e6b7e346e745378057fdf7d15c Mon Sep 17 00:00:00 2001 From: Jesse Glick Date: Thu, 19 Apr 2018 20:12:22 -0400 Subject: [PATCH] [JENKINS-50777] Also allow an SCMSource to define exported fields (but do not define any generic ones). --- src/main/java/jenkins/scm/api/SCMSource.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main/java/jenkins/scm/api/SCMSource.java b/src/main/java/jenkins/scm/api/SCMSource.java index d7483345..f9c49ea5 100644 --- a/src/main/java/jenkins/scm/api/SCMSource.java +++ b/src/main/java/jenkins/scm/api/SCMSource.java @@ -55,6 +55,7 @@ import net.jcip.annotations.GuardedBy; import org.kohsuke.stapler.DataBoundConstructor; import org.kohsuke.stapler.DataBoundSetter; +import org.kohsuke.stapler.export.ExportedBean; /** * A {@link SCMSource} is responsible for fetching {@link SCMHead} and corresponding {@link SCMRevision} instances from @@ -72,6 +73,7 @@ * {@link #fetch(SCMHead, hudson.model.TaskListener)} must * involve at least one network round trip to validate any cached information. */ +@ExportedBean public abstract class SCMSource extends AbstractDescribableImpl implements ExtensionPoint {