Class BitbucketCredentialUtils


  • public class BitbucketCredentialUtils
    extends Object
    Author:
    cliffmeyers
    • Constructor Detail

      • BitbucketCredentialUtils

        public BitbucketCredentialUtils()
    • Method Detail

      • 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: