[Blue Ocean] - blueocean ui not available

305 vues
Accéder directement au premier message non lu

Michael Madden

non lue,
15 juin 2016, 16:25:0915/06/2016
à Jenkins Developers
I've been working through the directions to setup / test the latest version of jenkins.

https://jenkins.io//blog/2016/05/26/introducing-blue-ocean/
https://github.com/jenkinsci/blueocean-plugin

Supposedly you can go to the following URL after running through all the setup to use the new UI:

http://localhost:8080/jenkins/blue

However this is not working.  The more standard UI still works at:

http://localhost:8080/jenkins/

Here is the error I get when accessing the blue URL:

404 Not Found

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

-> evaluate(<hudson.model.Hudson@3d61f0ce> :hudson.model.Hudson,"/blue")
-> evaluate(((StaplerProxy)<hudson.model.Hudson@3d61f0ce>).getTarget(),"/blue")
-> evaluate(<hudson.model.Hudson@3d61f0ce>.getDynamic("blue",...),"")
            hudson.mo...@3d61f0ce.getDynamic("blue",...)==null. Back tracking.
-> evaluate(((StaplerFallback)<hudson.model.Hudson@3d61f0ce>).getStaplerFallback(),"/blue")
-> evaluate(<hudson.model.AllView@74fb8a51[view/All/]> :hudson.model.AllView,"/blue")
-> evaluate(<hudson.model.AllView@74fb8a51[view/All/]>.getDynamic("blue",...),"")
            hudson.model.AllView@74fb8a51[view/All/].getDynamic("blue",...)==null. Back tracking.
-> No matching rule was found on <hudson.model.AllView@74fb8a51[view/All/]> for "/blue"

<hudson.model.AllView@74fb8a51[view/All/]> has the following URL mappings, in the order of preference:

  1. hudson.model.AllView.doCreateItem(...) for url=/createItem/...
  2. hudson.model.View.doConfigSubmit(...) for url=/configSubmit/...
  3. hudson.model.View.doConfigDotXml(...) for url=/config.xml/...
  4. hudson.model.View.doItemCategories(...) for url=/itemCategories/...
  5. hudson.model.View.doRssLatest(...) for url=/rssLatest/...
  6. hudson.model.View.doSubmitDescription(...) for url=/submitDescription/...
  7. hudson.model.View.doDoDelete(...) for url=/doDelete/...
  8. hudson.model.View.doRssAll(...) for url=/rssAll/...
  9. hudson.model.View.doRssFailed(...) for url=/rssFailed/...
  10. hudson.model.View.doCheckJobName(...) for url=/checkJobName/...
  11. hudson.model.View.doChildrenContextMenu(...) for url=/childrenContextMenu/...
  12. TOKEN.groovy for url=/TOKEN
  13. VIEW.jelly for url=/VIEW
  14. hudson.model.View.LIST for url=/LIST/...
  15. hudson.model.View.SORTER for url=/SORTER/...
  16. hudson.model.View.PERMISSIONS for url=/PERMISSIONS/...
  17. hudson.model.View.CREATE for url=/CREATE/...
  18. hudson.model.View.DELETE for url=/DELETE/...
  19. hudson.model.View.CONFIGURE for url=/CONFIGURE/...
  20. hudson.model.View.READ for url=/READ/...
  21. hudson.model.View.NEW_PRONOUN for url=/NEW_PRONOUN/...
  22. hudson.model.Saveable.NOOP for url=/NOOP/...
  23. hudson.model.View.getItemCreatePermission() for url=/itemCreatePermission/...
  24. hudson.model.View.getUrl() for url=/url/...
  25. hudson.model.View.getOwner() for url=/owner/...
  26. hudson.model.View.getAllItems() for url=/allItems/...
  27. hudson.model.View.getAllProperties() for url=/allProperties/...
  28. hudson.model.AbstractModelObject.getSearch() for url=/search/...
  29. hudson.model.View.getApplicablePropertyDescriptors() for url=/applicablePropertyDescriptors/...
  30. hudson.model.View.getOwnerPrimaryView() for url=/ownerPrimaryView/...
  31. hudson.model.View.getColumns() for url=/columns/...
  32. hudson.model.View.getDisplayName() for url=/displayName/...
  33. hudson.model.View.getNewPronoun() for url=/newPronoun/...
  34. java.lang.Object.getClass() for url=/class/...
  35. hudson.model.View.getWidgets() for url=/widgets/...
  36. hudson.model.View.getIndenter() for url=/indenter/...
  37. hudson.model.View.getAbsoluteUrl() for url=/absoluteUrl/...
  38. hudson.model.View.getBuilds() for url=/builds/...
  39. hudson.model.AbstractModelObject.getSearchIndex() for url=/searchIndex/...
  40. hudson.model.View.getViewUrl() for url=/viewUrl/...
  41. hudson.model.View.getActions() for url=/actions/...
  42. hudson.model.View.getDescription() for url=/description/...
  43. hudson.model.View.getAsynchPeople() for url=/asynchPeople/...
  44. hudson.model.AbstractModelObject.getSearchName() for url=/searchName/...
  45. hudson.model.View.getPeople() for url=/people/...
  46. hudson.model.View.getTimeline() for url=/timeline/...
  47. hudson.model.View.getComputers() for url=/computers/...
  48. hudson.model.View.getSearchUrl() for url=/searchUrl/...
  49. hudson.model.View.getOwnerItemGroup() for url=/ownerItemGroup/...
  50. hudson.model.View.getViewName() for url=/viewName/...
  51. hudson.model.AllView.getPostConstructLandingPage() for url=/postConstructLandingPage/...
  52. hudson.model.View.getProperties() for url=/properties/...
  53. hudson.model.View.getDescriptor() for url=/descriptor/...
  54. hudson.model.View.getApi() for url=/api/...
  55. hudson.model.View.getOwnerViewActions() for url=/ownerViewActions/...
  56. hudson.model.View.getQueueItems() for url=/queueItems/...
  57. hudson.model.View.getACL() for url=/aCL/...
  58. hudson.model.AllView.getItems() for url=/items/...
  59. hudson.model.View.getApproximateQueueItemsQuickly() for url=/approximateQueueItemsQuickly/...
  60. hudson.model.View.getDynamic(String) for url=/dynamic/TOKEN/...
  61. hudson.model.View.getItem(String) for url=/item/TOKEN/...
  62. hudson.model.View.getJob(String) for url=/job/TOKEN/...
  63. hudson.model.View.getDynamic(String,StaplerRequest,StaplerResponse) for url=/TOKEN/...

somai.a...@gmail.com

non lue,
15 juin 2016, 16:38:2115/06/2016
à Jenkins Developers
Hello Michael,

Let's assume that you've cloned your project in /home/workspace.

So the steps are like this:
/home/workspace/blueocean-plugin: mvn clean install
Afterwards, you must switch to the blueocean-plugin folder. This is another folder located within the project root directory. In this folder you must run mvn hpi:run:
/home/workspace/blueocean-plugin/blueocean-plugin: mvn hpi:run

I hope that I was clear.

Regards,
Alex

On Wednesday, June 15, 2016 at 11:25:09 PM UTC+3, Michael Madden wrote:
I've been working through the directions to setup / test the latest version of jenkins.

https://jenkins.io//blog/2016/05/26/introducing-blue-ocean/
https://github.com/jenkinsci/blueocean-plugin

Supposedly you can go to the following URL after running through all the setup to use the new UI:

http://localhost:8080/jenkins/blue

However this is not working.  The more standard UI still works at:

http://localhost:8080/jenkins/

Here is the error I get when accessing the blue URL:

404 Not Found

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

-> evaluate(<hudson.model.Hudson@3d61f0ce> :hudson.model.Hudson,"/blue")
-> evaluate(((StaplerProxy)<hudson.model.Hudson@3d61f0ce>).getTarget(),"/blue")
-> evaluate(<hudson.model.Hudson@3d61f0ce>.getDynamic("blue",..
.),"")
            hudson.model.Hudson@3d61f0ce.getDynamic("blue",...)==null. Back tracking.
-> evaluate(((StaplerFallback)<hudson.model.Hudson@3d61f0ce>).getStaplerFallback(),"/blue")
-> evaluate(<hudson.model.AllView@74fb8a51[view/All/]> :hudson.model.AllView,"/blue")
-> evaluate(<hudson.model.AllView@74fb8a51[view/All/]>.getDynamic("blue",...),"")
            hudson.model.AllView@74fb8a51[view/All/].getDynamic("blue",...)==null. Back tracking.

Michael Madden

non lue,
15 juin 2016, 16:54:5215/06/2016
à Jenkins Developers
That seems like the issue I was running into.  I was in the top level blueocean-plugin directory.

James Dumay

non lue,
16 juin 2016, 04:37:5716/06/2016
à Jenkins Developers
FYI we are going to be publishing Blue Ocean to the experimental update center so you don't have to build it yourself. We will be publishing daily and it should be available in a day or two :)

Michael Madden

non lue,
16 juin 2016, 09:21:0516/06/2016
à Jenkins Developers

Thanks. Is there a certain page I should check for updates?


>.getDynamic("blue",...),"")
            hudson.mo...@3d61f0ce.getDynamic("blue",...)==null. Back tracking.
-> evaluate(((StaplerFallback)<hudson.model.Hudson@3d61f0ce>).getStaplerFallback(),"/blue")
-> evaluate(<hudson.model.AllView@74fb8a51[view/All/]> :hudson.model.AllView,"/blue")
-> evaluate(<hudson.model.AllView@74fb8a51[view/All/]>.getDynamic("blue",...),"")
            hudson.model.AllView@74fb8a51[view/All/].getDynamic("blue",...)==null. Back tracking.

--
You received this message because you are subscribed to a topic in the Google Groups "Jenkins Developers" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/jenkinsci-dev/FUQED3BAteg/unsubscribe.
To unsubscribe from this group and all its topics, send an email to jenkinsci-de...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/4c71bf0c-e06f-4012-ba78-1099cde77833%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Daniel Beck

non lue,
16 juin 2016, 10:14:5716/06/2016
à jenkin...@googlegroups.com

> On 16.06.2016, at 15:20, Michael Madden <mikema...@gmail.com> wrote:
>
> Thanks. Is there a certain page I should check for updates?
>

Unfortunately the experimental update site isn't well documented.

In Manage Jenkins » Manage Plugins » Advanced, point Jenkins to this update site URL:
http://updates.jenkins-ci.org/experimental/update-center.json

Once you do that, you can update plugins released to the experimental update site within Jenkins.

Michael Madden

non lue,
16 juin 2016, 10:30:1816/06/2016
à Jenkins Developers
Wouldn't you have to still manually build the version of Jenkins from https://github.com/jenkinsci/blueocean-plugin to get started.  It sounds like the experimental update site just updates plugins.

It would be really nice to have the updated version of Jenkins available as a war or Linux package (rpm, deb).

--
You received this message because you are subscribed to a topic in the Google Groups "Jenkins Developers" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/jenkinsci-dev/FUQED3BAteg/unsubscribe.
To unsubscribe from this group and all its topics, send an email to jenkinsci-de...@googlegroups.com.

Daniel Beck

non lue,
16 juin 2016, 10:34:5916/06/2016
à jenkin...@googlegroups.com

> On 16.06.2016, at 16:29, Michael Madden <mikema...@gmail.com> wrote:
>
> Wouldn't you have to still manually build the version of Jenkins from https://github.com/jenkinsci/blueocean-plugin to get started. It sounds like the experimental update site just updates plugins.

Not sure what you mean. Blue Ocean is a set of regular Jenkins plugins, requiring Jenkins 2.2 or newer AFAICT.

Michael Madden

non lue,
16 juin 2016, 10:40:4316/06/2016
à Jenkins Developers
If I follow the directions from https://github.com/jenkinsci/blueocean-plugin, here was my basic workflow.

cd blueocean-plugin
mvn clean install
mvn -f blueocean-plugin/pom.xml hpi:run

I'm guessing I could skip most of the above development foo by starting with a recent 2.x build of Jenkins (war, rpm, or deb) & then add the experimental update site to get the newer plugins?

--
You received this message because you are subscribed to a topic in the Google Groups "Jenkins Developers" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/jenkinsci-dev/FUQED3BAteg/unsubscribe.
To unsubscribe from this group and all its topics, send an email to jenkinsci-de...@googlegroups.com.

Daniel Beck

non lue,
16 juin 2016, 10:43:5216/06/2016
à jenkin...@googlegroups.com

> On 16.06.2016, at 16:40, Michael Madden <mikema...@gmail.com> wrote:
>
> by starting with a recent 2.x build of Jenkins (war, rpm, or deb) & then add the experimental update site to get the newer plugins?

Yes.

Tom Fennelly

non lue,
16 juin 2016, 16:11:1716/06/2016
à Jenkins Developers,m...@beckweb.net
Once the plugins are in the experimental update center. They're not there yet. 

James Dumay

non lue,
17 juin 2016, 03:12:0917/06/2016
à Jenkins Developers
Best watch the blog and mailing lists - we will be announcing the availability of the plugin in the experimental update center in those location

Ivan Peshev

non lue,
22 juin 2016, 05:43:4922/06/2016
à Jenkins Developers
Can't install BlueOcean plugins on Jenkins 2.10 , tried several methods including: manual upload of hpi files ( only two are installed the others are failing ) , through console utility   
java -jar /tmp/jenkins-cli.jar -s http://localhost install-plugin ... this is passing but then nothing has changed in jenkins and only blueocean is in list of installed plugins with list-plugins command.
Also have tried to put the files into jenkins plugins directory , it processes those but after restart nothing changes.
Am I doing something wrong, or I should wait for official release of blueocean as jenkins plugin in plugin registries ? 

Tom Fennelly

non lue,
22 juin 2016, 06:17:2222/06/2016
à Jenkins Developers
As said earlier ... manually installing (Vs using hpi:run from source) the plugins is a pita at the moment and not going to work unless you get absolutely all the deps you need (including transitive deps). We hope to be doing an experimental update site release in the next few days. That should make things a lot easier for people.

If you want to continue trying to get it working on a Jenkins instance (not using hpi:run) then you could try using hpi:assemble-dependencies and then manually dropping them into JENKINS_HOME.

--
You received this message because you are subscribed to a topic in the Google Groups "Jenkins Developers" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/jenkinsci-dev/FUQED3BAteg/unsubscribe.
To unsubscribe from this group and all its topics, send an email to jenkinsci-de...@googlegroups.com.

Ivan Peshev

non lue,
24 juin 2016, 08:52:2324/06/2016
à Jenkins Developers
Thanks for the info Tom, 

I've tried to build it with static deps still same result, will be looking forward to see it in experimental update site soon.

Regards
Répondre à tous
Répondre à l'auteur
Transférer
0 nouveau message