-
Improvement
-
Resolution: Unresolved
-
Minor
-
None
Starting from Bitbucket Branch Source 932.vff504b_2003fe, README.md warns that only classes in the com.cloudbees.jenkins.plugins.bitbucket.api package are intended to be public API. I have an unpublished plugin that uses a type not in that package and I'd like to ensure that it keep working with future versions of Bitbucket Branch Source.
The unpublished plugin automatically posts data to the REST API of Bitbucket when certain events happen in Jenkins. To find the correct URL and credentials, it calls the following methods of com.cloudbees.jenkins.plugins.bitbucket.BitbucketSCMSource, so that users do not need to configure these separately for each plugin:
- public String getCredentialsId()
- public String getServerUrl()
- public String getRepoOwner()
- public String getRepository()
I'd like the Bitbucket Branch Source plugin to provide a stable API for querying this information.
- depends on
-
JENKINS-56690 Make Bitbucket Server, Owner and repository environment variables for Bitbucket Team/Project based jobs
- Closed
- relates to
-
JENKINS-64691 Stable API for reading REST URL from BitbucketSCMSource
- Open