[Blue Ocean] - Customize and deploy Blue Ocean - Resolve dependencies/modules from local repository

44 views
Skip to first unread message

Nagaraj JB

unread,
Oct 5, 2020, 6:44:31 AM10/5/20
to Jenkins Developers
I am making a small UI change as per our need in Blue Ocean Plugin. I am able to run the plugin from IDE and see the changes reflecting. As it is a customization I don't want to publish, how can I package it and use it in our Jenkins instance? I packaged it and got .hpi file. I uploaded to the Jenkins and got below error. I think it is trying to resolve these from maven repository. Could you please assist how can I get it working from my local maven repo(m2)? Many thanks in advance.

 - Plugin is missing: blueocean-bitbucket-pipeline (1.24.1-SNAPSHOT)
 - Plugin is missing: blueocean-config (1.24.1-SNAPSHOT)
 - Plugin is missing: blueocean-personalization (1.24.1-SNAPSHOT)
 - Plugin is missing: blueocean-core-js (1.24.1-SNAPSHOT)
 - Plugin is missing: blueocean-pipeline-editor (1.24.1-SNAPSHOT)
 - Plugin is missing: blueocean-jira (1.24.1-SNAPSHOT)
 - Plugin is missing: jenkins-design-language (1.24.1-SNAPSHOT)
 - Plugin is missing: blueocean-jwt (1.24.1-SNAPSHOT)
 - Plugin is missing: blueocean-events (1.24.1-SNAPSHOT)
 - Plugin is missing: blueocean-pipeline-api-impl (1.24.1-SNAPSHOT)
 - Plugin is missing: blueocean-dashboard (1.24.1-SNAPSHOT)
 - Plugin is missing: blueocean-web (1.24.1-SNAPSHOT)
 - Plugin is missing: blueocean-github-pipeline (1.24.1-SNAPSHOT)
 - Plugin is missing: blueocean-git-pipeline (1.24.1-SNAPSHOT)
 - Plugin is missing: blueocean-rest-impl (1.24.1-SNAPSHOT)
 - Plugin is missing: blueocean-i18n (1.24.1-SNAPSHOT)

Nagaraj JB

unread,
Oct 5, 2020, 8:05:03 AM10/5/20
to Jenkins Developers
I was able to get it working by uploading .hpi files for each of the missing plugins/modules. Is there a better way to do it?

Jesse Glick

unread,
Oct 5, 2020, 10:52:54 AM10/5/20
to Jenkins Dev
On Mon, Oct 5, 2020 at 8:05 AM Nagaraj JB <mail...@gmail.com> wrote:
> I was able to get it working by uploading .hpi files for each of the missing plugins/modules. Is there a better way to do it?

No, that is one of the downsides of developing plugins in a
multimodule Maven reactor as is done in `blueocean-plugin`.

Nagaraj JB

unread,
Oct 9, 2020, 10:51:06 AM10/9/20
to Jenkins Developers
Many thanks Jesse.
Reply all
Reply to author
Forward
0 new messages