Interface JenkinsToBitbucketCredentials

  • All Known Implementing Classes:
    JenkinsToBitbucketCredentialsImpl

    public interface JenkinsToBitbucketCredentials
    Converts Jenkins credentials to 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 id
        context - the context 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