[Blue Ocean] New pipeline --> 404

497 views
Skip to first unread message

Maelig Gohin

unread,
Jul 8, 2016, 9:27:04 AM7/8/16
to Jenkins Developers
Hi,

just installed the last version of Blue Ocean, successfully built it, run it, configure Jenkins, then go to blue ocean dashboard.

When I click on "new pipeline" I'm getting : 

404 Not Found

Stapler processed this HTTP request as follows, but couldn't find the resource to consume the request

-> evaluate(<hudson.model.Hudson@5e19d130> :hudson.model.Hudson,"/view/All/newJob")
-> evaluate(((StaplerProxy)<hudson.model.Hudson@5e19d130>).getTarget(),"/view/All/newJob")
-> evaluate(<hudson.model.Hudson@5e19d130>.getView("All"),"/newJob")
-> unexpected null!

If this 404 is unexpected, double check the last part of the trace to see if it should have evaluated to null.


Don't know what to do :/

Baptiste Mathus

unread,
Jul 8, 2016, 9:37:54 AM7/8/16
to Jenkins Developers
Hi,
if you built it from source, you're on the right list, if not, then the users list would have been better.

Which version do you use? By chance, would you be using https://hub.docker.com/r/jenkinsci/blueocean/ ? If so, this is a known issue, long time fixed but this image is outdated.

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/0acb6f41-39b5-4ec7-a5e4-e0a9f32ec074%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Maelig Gohin

unread,
Jul 8, 2016, 9:40:13 AM7/8/16
to Jenkins Developers, m...@batmat.net
I built it from the sources from github's project.

I'm trying right now with the release blueocean-parent-1.0-alpha-2. Do I have to cancel the build ? (25min to built first time :p )

Baptiste Mathus

unread,
Jul 8, 2016, 9:44:33 AM7/8/16
to Jenkins Developers
Not sure what you mean about building.

Did you use hpi:run to use it as documented, or did you install the plugins by hand?

If you don't plan to hack on the project's code, then indeed it's strongly recommended to install through the update center, as installing by hand is quite hard to do because of the dependency tree you handle to manually handle right.

If hacking on it is indeed what you want, then keep asking questions ;-)

Cheers


Maelig Gohin

unread,
Jul 8, 2016, 9:50:34 AM7/8/16
to Jenkins Developers, m...@batmat.net
I don't find the plugin into the list of plugins in the update center, I'm missing something ?

Baptiste Mathus

unread,
Jul 8, 2016, 9:54:29 AM7/8/16
to Jenkins Developers
Yes, please see https://groups.google.com/forum/?utm_medium=email&utm_source=footer#!msg/jenkinsci-dev/8HLKwwz3OmU/NVSKvIXuBAAJ

Note that this plugin is still alpha, for a reason, so classical reminder: don't use it in production yet.

Maelig Gohin

unread,
Jul 8, 2016, 9:57:43 AM7/8/16
to Jenkins Developers, m...@batmat.net
Nice !
Never used experimental plugins and don't worry, it's only by curiosity, I'm using it on my local machine to test, no production use yet ^^

Maelig Gohin

unread,
Jul 8, 2016, 10:08:30 AM7/8/16
to Jenkins Developers, m...@batmat.net
So lucky me, I'm accessing http://localhost:8080/blue/pipelines but when I click on "new pipeline" (goes to http://localhost:8080/view/All/newJob) I'm getting :

HTTP ERROR 404

Problem accessing /view/All/newJob. Reason:

    Not Found


Powered by Jetty://

Thorsten Scherler

unread,
Jul 8, 2016, 10:25:44 AM7/8/16
to Jenkins Developers, m...@batmat.net
Hi Maelig,

weird, that url should work. How do you start the plugin, standalone, like:

cd blueocean-plugin
mvn hpi:run

if so what does the console print when you request the newJob page?

salu2
Message has been deleted

Maelig Gohin

unread,
Jul 8, 2016, 10:28:51 AM7/8/16
to Jenkins Developers, m...@batmat.net
Hi,

I'm using now the plugin from the plugin page of jenkins, so I don't run any command anymore

Maelig Gohin

unread,
Jul 8, 2016, 10:40:46 AM7/8/16
to Jenkins Developers, m...@batmat.net
Just tried a whole fresh install of Jenkins, still the same result :/


Le vendredi 8 juillet 2016 16:25:44 UTC+2, Thorsten Scherler a écrit :

Thorsten Scherler

unread,
Jul 8, 2016, 10:45:07 AM7/8/16
to Jenkins Developers, m...@batmat.net
Hmm have not tried that myself, but it seems that there maybe something wrong with the context path. Did you see "classic" jjenkins anyway?

salu2

Maelig Gohin

unread,
Jul 8, 2016, 10:52:28 AM7/8/16
to Jenkins Developers, m...@batmat.net
Yes I have full access to jenkins pages, and I also see the Blue Dashboard

Thorsten Scherler

unread,
Jul 8, 2016, 11:05:09 AM7/8/16
to Jenkins Developers, m...@batmat.net
Then you can create a pipeline from the classic ui, the button on the bo dashboard is just a link to the classic ATM. So if you can see classic jenkins just copy the url before you create a new job and post it here to see the difference. 

salu2

Baptiste Mathus

unread,
Jul 8, 2016, 11:14:27 AM7/8/16
to Jenkins Developers

Do you run the Jenkins war directly for your Jenkins instance, or do you deploy in tomcat? Or though rpm or something else?

Which Jenkins version?

Maelig Gohin

unread,
Jul 9, 2016, 4:49:26 AM7/9/16
to Jenkins Developers, m...@batmat.net
Jenkins : http://localhost:7070/
Blue Ocean : http://localhost:7070/blue/ then automatic redirect to http://localhost:7070/blue/pipelines
Click on "new pipeline" : http://localhost:7070/view/All/newJob --> 404

Maelig Gohin

unread,
Jul 9, 2016, 4:49:55 AM7/9/16
to Jenkins Developers, m...@batmat.net
I downloaded the .pkg from Jenkins website.

James Dumay

unread,
Jul 10, 2016, 8:00:27 PM7/10/16
to Jenkins Developers, m...@batmat.net
Have you tried with a clean Jenkins home or uninstalling all the manually installed Blue Ocean plugins first?

Maelig Gohin

unread,
Jul 11, 2016, 3:26:57 AM7/11/16
to Jenkins Developers, m...@batmat.net
I did it at least 5 times.
I'm always starting from a fresh Jenkins installation on my OSX.

Baptiste Mathus

unread,
Jul 11, 2016, 4:27:08 AM7/11/16
to Jenkins Developers

IMO we should take this off this list and into an issue in the big tracker.
Obviously, Maelig you will want to provide as much details as you can since this issue was defined deemed fixed. Like the full list of installed plugins and versions, your platform,jdk version and so on.

Cheers

Maelig Gohin

unread,
Jul 11, 2016, 4:42:29 AM7/11/16
to Jenkins Developers, m...@batmat.net
I just wanted to try, but I spent too much time on it. 
I can provide some data to help you but I'll not continue trying :)

James Dumay

unread,
Jul 11, 2016, 4:30:12 PM7/11/16
to Jenkins Developers, m...@batmat.net
Appreciated Maelig :)

Maelig Gohin

unread,
Jul 12, 2016, 3:05:08 AM7/12/16
to Jenkins Developers, m...@batmat.net
So do I have to go somewhere to post it ?

Baptiste Mathus

unread,
Jul 12, 2016, 4:28:17 AM7/12/16
to Jenkins Developers
Hi, Yes, please file a detailed report at https://issues.jenkins-ci.org/ on the JENKINS project.
You'll want to specify the blueocean-plugin component.

If you don't have one yet, you'll need to create an account on https://accounts.jenkins.io/signup.

Cheers

Maelig Gohin

unread,
Jul 12, 2016, 4:45:40 AM7/12/16
to Jenkins Developers, m...@batmat.net

Michael Neale

unread,
Jul 12, 2016, 5:32:55 AM7/12/16
to Jenkins Developers, m...@batmat.net
You can just create jobs the normal way in Jenkins. Blue ocean just redirects to there anyway. Perhaps that button is misleading. 

Maelig Gohin

unread,
Jul 12, 2016, 5:37:22 AM7/12/16
to Jenkins Developers, m...@batmat.net
:o OMG you are right ! It's working !

Michael Neale

unread,
Jul 12, 2016, 5:40:25 AM7/12/16
to Jenkins Developers, m...@batmat.net


Great. 
I commented on that ticket - if you can follow what it says, would be good to know (track the issue there).

Maelig Gohin

unread,
Jul 12, 2016, 10:14:04 AM7/12/16
to Jenkins Developers, m...@batmat.net
I answered :)
Reply all
Reply to author
Forward
0 new messages