diff --git a/.changeset/good-hornets-hunt.md b/.changeset/good-hornets-hunt.md index 7c92d7937c..2c618a955e 100644 --- a/.changeset/good-hornets-hunt.md +++ b/.changeset/good-hornets-hunt.md @@ -57,6 +57,12 @@ jenkins: apiKey: ${JENKINS_PASSWORD} ``` +## Change javascript API + +As part of the above change, the javascript API exposed by the plugin as a possible place for customisation has changed. +The ApiRef now has an id of `plugin.jenkins.service2` and has entity-based functions to match the nedpoints exposed by +the new backend plugin + ## Change BuildWithStepsPage route The plugin originally provided a route to view a particular build of a particular branch so that if you wanted to view diff --git a/plugins/jenkins/src/index.ts b/plugins/jenkins/src/index.ts index 1a72b438ab..fb0a27cb26 100644 --- a/plugins/jenkins/src/index.ts +++ b/plugins/jenkins/src/index.ts @@ -27,3 +27,4 @@ export { isJenkinsAvailable as isPluginApplicableToEntity, } from './components/Router'; export { JENKINS_ANNOTATION } from './constants'; +export * from './api';