blueocean-web/src/main/js/main.jsx
ExtensionPoint.registerExtensionPoint("jenkins.main.routes", (extensions) => {
startApp();
});
That means we only can register one that extensionPoint and no other since the startApp(); can only be run once, correct?
blueocean-admin/src/main/js/jenkins-js-extension.yaml
- component: PipelineStore
extensionPoint: jenkins.main.stores
I added the above, how can I get it in bo-web? I tried
blueocean-web/src/main/js/main.jsx
function makeRoutes() {
const stores = ExtensionPoint.getExtensions("jenkins.main.stores")
...
});
But that is undefined. How can I get the Component I defined in admin as extension?