Class BitbucketCredentialUtils
java.lang.Object
io.jenkins.blueocean.blueocean_bitbucket_pipeline.BitbucketCredentialUtils
- Author:
- cliffmeyers
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic String
computeCredentialId
(String credentialId, String scmId, String apiUrl) Create proper credentialId for Bitbucket Cloud and Server.
-
Constructor Details
-
BitbucketCredentialUtils
public BitbucketCredentialUtils()
-
-
Method Details
-
computeCredentialId
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:
-