[blueocean-plugin] No pipelines found

236 views
Skip to first unread message

Wayne Warren

unread,
Jun 15, 2016, 2:20:58 PM6/15/16
to Jenkins Developers
Howdy folks!

So recently I built and installed the blueocean-plugin from the https://github.com/jenkinsci/blueocean-plugin git repo. The SHA from which I built the plugin is 1d5239dd00cec9f7b233a9d960b5cb72a9144320.

I am using a clean install of http://pkg.jenkins-ci.org/debian/binary/jenkins_2.8_all.deb with authentication set up such that any user logged in through LDAP can "do anything".

I created one job without using a folder (someone on IRC mentioned that blueocean-plugin doesn't "see" folders). The config.xml for that job is here:

<flow-definition plugin="workflow-job@2.2">
  <description/>
  <keepDependencies>false</keepDependencies>
  <properties/>
  <definition class="org.jenkinsci.plugins.workflow.cps.CpsFlowDefinition" plugin="workflow-cps@2.5">
    <script>node { stage 'Stage 1' echo 'Hello World 1' stage 'Stage 2' echo 'Hello World 2'}</script>
    <sandbox>true</sandbox>
  </definition>
  <triggers/>
</flow-definition>

When I navigate to $HOST/blue/pipelines all I see below the blue bar in the UI is "No pipelines found."

Anyone have advice for how to figure out why my pipeline job isn't showing up? Am I using the wrong job type? When I created it I selected the "Pipeline" project type in the UI. Thanks in advance for whatever help you can offer!

Tom Fennelly

unread,
Jun 16, 2016, 4:07:54 PM6/16/16
to Jenkins Developers
Hi Wayne. So how did you install Blue Ocean on your Jenkins instance. It sounds as though one of the blueocean-* plugins are missing. Can you check the JavaScript console in the browser and let us know if you see any errors/warnings?

Wayne Warren

unread,
Jun 16, 2016, 4:54:19 PM6/16/16
to Jenkins Developers


On Thursday, June 16, 2016 at 1:07:54 PM UTC-7, Tom Fennelly wrote:
Hi Wayne. So how did you install Blue Ocean on your Jenkins instance.

I installed it by uploading the various blueocean-* plugins one-by-one in the "Advanced" tab of the plugin manager page in the Jenkins UI.
 
It sounds as though one of the blueocean-* plugins are missing.

I've attached the JSON output from the pluginManager/api/json?depth=2&pretty=true endpoint on my Jenkins instance.
 
Can you check the JavaScript console in the browser and let us know if you see any errors/warnings?

I see a 404 response when my browser attempts to contact the /blue/rest/pipelines/ endpoint. The response body is:

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<title>Error 404 Not Found</title>
</head>
<body><h2>HTTP ERROR 404</h2>
<p>Problem accessing /blue/rest/pipelines/. Reason:
<pre>    Not Found</pre></p><hr><i><small>Powered by Jetty://</small></i><hr/>

</body>
</html>

Thanks for your quick response!
 
installed-plugins.json

Wayne Warren

unread,
Jun 16, 2016, 4:57:07 PM6/16/16
to Jenkins Developers
Top-posting because I figured out the problem...I neglected one of the most fundamental aspects of Jenkins plugin management...always restart the process after installing plugins ;)

I just restarted the process and now see the pipelines in the blue ocean dashboard.

Thanks again for the help!

James Dumay

unread,
Jun 17, 2016, 3:09:54 AM6/17/16
to Jenkins Developers
Great to hear that you found a resolution. Restart has tripped me up a few times too.
Reply all
Reply to author
Forward
0 new messages