Jenkins Blue Ocean won't show Agent when creating a Pipeline

This issue is archived. You can view it, but you can't modify it. Learn more

XMLWordPrintable

      I'm new to Blue Ocean, and I'm following the tutorial which tells me to run:

      docker run \
      --rm \
      -u root \
      -p 8080:8080 \
      -v jenkins-data:/var/jenkins_home \
      -v /var/run/docker.sock:/var/run/docker.sock \
      -v "$HOME":/home \
      jenkinsci/blueocean

      It fired up the docker instance, I got to the Blue Ocean screen, Clicked on create a new pipeline, set the GitHub token, Etc.

      Update: this also happens when running Jenkins from java directly on my laptop, and installing Ocean Blue plugin:

      java -jar jenkins.war --httpPort=8080

      Now I'm at the part where you select the Agent, but mine has no agent:

      Moreover, if I click the save button and then "save & run" it gets stuck and the docker container output throws:

      WARNING: Error while serving http://localhost:8080/blue/rest/pipeline-metadata/agentMetadata
      java.lang.reflect.InvocationTargetException
      ... <stack trace here> ...
      
      Caused by: java.lang.NoSuchMethodError: org.jenkinsci.plugins.pipeline.modeldefinition.agent.DeclarativeAgentDescriptor.all()Lhudson/ExtensionList;
      

       
      I posted this problem on Stack Overflow but somebody said this might be a new bug. Hope this report helps.

       

        1. Screen Shot 2018-04-13 at 7.13.25 PM.png
          93 kB
          Christopher Francisco
        2. Screen Shot 2018-04-13 at 7.13.25 PM.png
          42 kB
          Christopher Francisco
        3. screenshot-1.png
          444 kB
          Karl Shultz
        4. screenshot-2.png
          287 kB
          Karl Shultz
        5. screenshot-3.png
          622 kB
          Karl Shultz
        6. screenshot-4.png
          473 kB
          Karl Shultz
        7. screenshot-5.png
          581 kB
          Karl Shultz
        8. screenshot-6.png
          634 kB
          Karl Shultz
        9. screenshot-7.png
          549 kB
          Karl Shultz
        10. screenshot-8.png
          294 kB
          Karl Shultz

            Assignee:
            Unassigned
            Reporter:
            Christopher Francisco
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Resolved:
              Archived: