Class SCMUtils
java.lang.Object
com.cloudbees.jenkins.plugins.bitbucket.impl.util.SCMUtils
Utility class that helps to extract specific information from implementation
of SCM base classes.
- Since:
- 936.1.0
- Author:
- Nikolas Falco
-
Method Summary
-
Method Details
-
getHash
Returns the SHA1 hash for the given SCMRevision implementation.In case of ChangeRequestSCMRevision returns the SHA1 hash of the target.
- Parameters:
revision
- extract from- Returns:
- a SHA1 commit hash in the revision if present
-