Trouble building Blue Ocean

106 views
Skip to first unread message

Ross Boucher

unread,
May 28, 2016, 9:45:28 AM5/28/16
to Jenkins Developers
Hey all, I'm excited about the new Blue Ocean project. Tried to get it running just now and I'm running into some trouble. After running `mvn clean install`, on the next step, I'm getting this: 


Any suggestions?

-Ross

Baptiste Mathus

unread,
May 28, 2016, 9:54:19 AM5/28/16
to Jenkins Developers
Hi Ross,

That's great! Depending on what you were planning to do (have a look, or start hacking on it?), if (at first) it's only playing with it, then you might want to use the dedicated docker image:

    $ docker run -p 8080:8080  jenkinsci/blueocean

About your local error, I think you're just trying to build a maven module of the whole repo, but that plugin actually depends on some others.

So, first get back to the root of the repo, and run 

    $ mvn clean install

That will build and install all the plugins inside what's the local maven cache (or somewhat improperly /repository/, but really it's better to see it as a cache. Anyway).

Then run hpi:run like you did.

Cheers!

--
You received this message because you are subscribed to the Google Groups "Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-de...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/e2fbb62c-ad36-4f67-bdfd-898186a83316%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Ross Boucher

unread,
May 28, 2016, 10:10:40 AM5/28/16
to Jenkins Developers, m...@batmat.net
Thanks. I got the docker image running, but it looks like there's a problem with jenkins believing it will be running at /jenkins/, but out of the box it seems to be configured to actually run at the web root /. (The initial page load works, but most links are broken).

Michael Neale

unread,
May 30, 2016, 2:51:27 AM5/30/16
to Jenkins Developers
Hi - did you run "mvn install" from the top level directory first? 

Or - use the docker image as mentioned by Baptiste. 

Michael Neale

unread,
May 30, 2016, 2:52:04 AM5/30/16
to Jenkins Developers, m...@batmat.net
Hrm, what are some links that you see broken? I have seen it run on / before - I wonder if the image has the wrong context root set somehow. 

nicolas de loof

unread,
May 30, 2016, 3:13:58 AM5/30/16
to jenkin...@googlegroups.com, m...@batmat.net
I have the docker image running locally and can't see any broken link. Could you please give more details ? screenshot ?

Michael Neale

unread,
May 30, 2016, 3:40:51 AM5/30/16
to Jenkins Developers, m...@batmat.net
Ah thanks for checking that Nicolas. 

The "New Pipeline" certainly points to the wrong place right now (that is known). 

Baptiste Mathus

unread,
May 30, 2016, 3:48:39 AM5/30/16
to Jenkins Developers
Reply all
Reply to author
Forward
0 new messages