Interface JenkinsToBitbucketCredentials
-
- All Known Implementing Classes:
JenkinsToBitbucketCredentialsImpl
public interface JenkinsToBitbucketCredentials
Converts Jenkins credentials to Bitbucket Credentials.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description BitbucketCredentials
toBitbucketCredentials(com.cloudbees.plugins.credentials.Credentials credentials)
Converts the input credentials to Bitbucket CredentialsBitbucketCredentials
toBitbucketCredentials(String credentialId, Item context)
Converts the input credential id for the given context into Bitbucket Credentials.
-
-
-
Method Detail
-
toBitbucketCredentials
BitbucketCredentials toBitbucketCredentials(@Nullable String credentialId, @Nullable Item context)
Converts the input credential id for the given context into Bitbucket Credentials.- Parameters:
credentialId
- the credentials idcontext
- thecontext
to retrieve the credentials from- Returns:
- Bitbucket credentials
- Since:
- 3.0.0
-
toBitbucketCredentials
BitbucketCredentials toBitbucketCredentials(@Nullable com.cloudbees.plugins.credentials.Credentials credentials)
Converts the input credentials to Bitbucket Credentials- Parameters:
credentials
- credentials- Returns:
- Bitbucket credentials
-
-