Interface JenkinsToBitbucketCredentials
- All Known Implementing Classes:
JenkinsToBitbucketCredentialsImpl
public interface JenkinsToBitbucketCredentials
Converts Jenkins credentials to Bitbucket Credentials.
-
Method Summary
Modifier and TypeMethodDescriptiontoBitbucketCredentials(com.cloudbees.plugins.credentials.Credentials credentials) Converts the input credentials to Bitbucket CredentialstoBitbucketCredentials(String credentialId, Item context) Converts the input credential id for the given context into Bitbucket Credentials.
-
Method Details
-
toBitbucketCredentials
Converts the input credential id for the given context into Bitbucket Credentials.- Parameters:
credentialId- the credentials idcontext- thecontextto 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
-