Interface BitbucketSCMHeadDiscoveryHandler

    • Method Detail

      • discoverHeads

        Stream<? extends jenkins.scm.api.SCMHead> discoverHeads()
        Returns:
        as stream of heads to be used for processing the source request
      • toRevision

        jenkins.scm.api.SCMRevision toRevision​(jenkins.scm.api.SCMHead head)
        Creates a revision for the specified head.
        Parameters:
        head - the head to create a revision for
        Returns:
        the revision for the specified head