java.lang.Object
io.jenkins.blueocean.rest.model.Resource
io.jenkins.blueocean.rest.impl.pipeline.scm.Scm
io.jenkins.blueocean.rest.impl.pipeline.scm.AbstractScm
io.jenkins.blueocean.blueocean_bitbucket_pipeline.AbstractBitbucketScm
io.jenkins.blueocean.blueocean_bitbucket_pipeline.server.BitbucketServerScm
All Implemented Interfaces:
io.jenkins.blueocean.rest.Reachable

public class BitbucketServerScm extends AbstractBitbucketScm
Author:
Vivek Pandey
  • Field Details

  • Constructor Details

    • BitbucketServerScm

      public BitbucketServerScm(io.jenkins.blueocean.rest.Reachable parent)
  • Method Details

    • getId

      @NonNull public String getId()
      Specified by:
      getId in class io.jenkins.blueocean.rest.impl.pipeline.scm.Scm
    • getUri

      @NonNull public String getUri()
      Overrides:
      getUri in class AbstractBitbucketScm
    • getServers

      public io.jenkins.blueocean.rest.impl.pipeline.scm.ScmServerEndpointContainer getServers()
      Specified by:
      getServers in class io.jenkins.blueocean.rest.impl.pipeline.scm.Scm
    • createCredentialId

      @NonNull protected String createCredentialId(@NonNull String apiUrl)
      Description copied from class: AbstractBitbucketScm
      Caller must ensure apiUrl is not blank or null
      Specified by:
      createCredentialId in class AbstractBitbucketScm
      Parameters:
      apiUrl - must be normalized url using BitbucketEndpointConfiguration.normalizeServerUrl(String)
      Returns:
      url
    • getDomainId

      @NonNull protected String getDomainId()
      Specified by:
      getDomainId in class AbstractBitbucketScm