Class BitbucketCredentialUtils
- java.lang.Object
-
- io.jenkins.blueocean.blueocean_bitbucket_pipeline.BitbucketCredentialUtils
-
public class BitbucketCredentialUtils extends Object
- Author:
- cliffmeyers
-
-
Constructor Summary
Constructors Constructor Description BitbucketCredentialUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static String
computeCredentialId(String credentialId, String scmId, String apiUrl)
Create proper credentialId for Bitbucket Cloud and Server.
-
-
-
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:
-
-