Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Merge pull request #581 from jglick/export-JENKINS-50777
[JENKINS-50777] Exporting AbstractGitSCMSource.SCMRevisionImpl.hash
  • Loading branch information
MarkEWaite committed Apr 13, 2018
2 parents aecfb07 + 174870a commit a81c655
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/main/java/jenkins/plugins/git/AbstractGitSCMSource.java
Expand Up @@ -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.
Expand Down Expand Up @@ -1203,6 +1204,7 @@ public SCMRevisionImpl(SCMHead head, String hash) {
this.hash = hash;
}

@Exported
public String getHash() {
return hash;
}
Expand Down

0 comments on commit a81c655

Please sign in to comment.