Class BitbucketCredentialUtils

java.lang.Object
io.jenkins.blueocean.blueocean_bitbucket_pipeline.BitbucketCredentialUtils

public class BitbucketCredentialUtils extends Object
Author:
cliffmeyers
  • Constructor Details

    • BitbucketCredentialUtils

      public BitbucketCredentialUtils()
  • Method Details

    • computeCredentialId

      public static String computeCredentialId(String credentialId, String scmId, String apiUrl)
      Create proper credentialId for Bitbucket Cloud and Server. If null/empty credentialId value is passed in, will compute proper default value.
      Parameters:
      credentialId -
      scmId - "bitbucket-cloud" or "bitbucket-server"
      apiUrl - apiUrl, for server only
      Returns: