Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-50805

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

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      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.

       

        Attachments

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

          Issue Links

            Activity

            reijis2 Christopher Francisco created issue -
            reijis2 Christopher Francisco made changes -
            Field Original Value New Value
            Description I'm new to Blue Ocean, and I'm following [the tutorial|https://jenkins.io/doc/tutorials/create-a-pipeline-in-blue-ocean/#create-your-pipeline-project-in-blue-ocean] 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.

            Now I'm at the part where you [select the Agent|https://jenkins.io/doc/tutorials/create-a-pipeline-in-blue-ocean/#create-your-initial-pipeline], but mine has no agent:

            !Screen Shot 2018-04-13 at 7.13.25 PM.png!

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

             
            {code:java}
            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;
            {code}
             

             

            I posted this problem on [Stack Overflow|https://stackoverflow.com/questions/49826667/jenkins-blue-ocean-wont-show-agent-when-creating-a-pipeline?noredirect=1#comment86670169_49826667] but somebody said this might be a new bug. Hope this report helps.

             
            I'm new to Blue Ocean, and I'm following [the tutorial|https://jenkins.io/doc/tutorials/create-a-pipeline-in-blue-ocean/#create-your-pipeline-project-in-blue-ocean] which tells me to run:
            {code:java}
            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{code}
            It fired up the docker instance, I got to the Blue Ocean screen, Clicked on create a new pipeline, set the GitHub token, Etc.

            Now I'm at the part where you [select the Agent|https://jenkins.io/doc/tutorials/create-a-pipeline-in-blue-ocean/#create-your-initial-pipeline], but mine has no agent:

            !Screen Shot 2018-04-13 at 7.13.25 PM.png!

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

             
            {code:java}
            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;
            {code}
             

             

            I posted this problem on [Stack Overflow|https://stackoverflow.com/questions/49826667/jenkins-blue-ocean-wont-show-agent-when-creating-a-pipeline?noredirect=1#comment86670169_49826667] but somebody said this might be a new bug. Hope this report helps.

             
            reijis2 Christopher Francisco made changes -
            reijis2 Christopher Francisco made changes -
            Description I'm new to Blue Ocean, and I'm following [the tutorial|https://jenkins.io/doc/tutorials/create-a-pipeline-in-blue-ocean/#create-your-pipeline-project-in-blue-ocean] which tells me to run:
            {code:java}
            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{code}
            It fired up the docker instance, I got to the Blue Ocean screen, Clicked on create a new pipeline, set the GitHub token, Etc.

            Now I'm at the part where you [select the Agent|https://jenkins.io/doc/tutorials/create-a-pipeline-in-blue-ocean/#create-your-initial-pipeline], but mine has no agent:

            !Screen Shot 2018-04-13 at 7.13.25 PM.png!

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

             
            {code:java}
            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;
            {code}
             

             

            I posted this problem on [Stack Overflow|https://stackoverflow.com/questions/49826667/jenkins-blue-ocean-wont-show-agent-when-creating-a-pipeline?noredirect=1#comment86670169_49826667] but somebody said this might be a new bug. Hope this report helps.

             
            I'm new to Blue Ocean, and I'm following [the tutorial|https://jenkins.io/doc/tutorials/create-a-pipeline-in-blue-ocean/#create-your-pipeline-project-in-blue-ocean] which tells me to run:
            {code:java}
            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{code}
            It fired up the docker instance, I got to the Blue Ocean screen, Clicked on create a new pipeline, set the GitHub token, Etc.

            Now I'm at the part where you [select the Agent|https://jenkins.io/doc/tutorials/create-a-pipeline-in-blue-ocean/#create-your-initial-pipeline], but mine has no agent:

            !Screen Shot 2018-04-13 at 7.13.25 PM.png|thumbnail!

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

             
            {code:java}
            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;
            {code}
             

             

            I posted this problem on [Stack Overflow|https://stackoverflow.com/questions/49826667/jenkins-blue-ocean-wont-show-agent-when-creating-a-pipeline?noredirect=1#comment86670169_49826667] but somebody said this might be a new bug. Hope this report helps.

             
            reijis2 Christopher Francisco made changes -
            Description I'm new to Blue Ocean, and I'm following [the tutorial|https://jenkins.io/doc/tutorials/create-a-pipeline-in-blue-ocean/#create-your-pipeline-project-in-blue-ocean] which tells me to run:
            {code:java}
            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{code}
            It fired up the docker instance, I got to the Blue Ocean screen, Clicked on create a new pipeline, set the GitHub token, Etc.

            Now I'm at the part where you [select the Agent|https://jenkins.io/doc/tutorials/create-a-pipeline-in-blue-ocean/#create-your-initial-pipeline], but mine has no agent:

            !Screen Shot 2018-04-13 at 7.13.25 PM.png|thumbnail!

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

             
            {code:java}
            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;
            {code}
             

             

            I posted this problem on [Stack Overflow|https://stackoverflow.com/questions/49826667/jenkins-blue-ocean-wont-show-agent-when-creating-a-pipeline?noredirect=1#comment86670169_49826667] but somebody said this might be a new bug. Hope this report helps.

             
            I'm new to Blue Ocean, and I'm following [the tutorial|https://jenkins.io/doc/tutorials/create-a-pipeline-in-blue-ocean/#create-your-pipeline-project-in-blue-ocean] which tells me to run:
            {code:java}
            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{code}
            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:

            {code}java -jar jenkins.war --httpPort=8080{code}


            Now I'm at the part where you [select the Agent|https://jenkins.io/doc/tutorials/create-a-pipeline-in-blue-ocean/#create-your-initial-pipeline], but mine has no agent:

            !Screen Shot 2018-04-13 at 7.13.25 PM.png|thumbnail!

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

             
            {code:java}
            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;
            {code}
             

             

            I posted this problem on [Stack Overflow|https://stackoverflow.com/questions/49826667/jenkins-blue-ocean-wont-show-agent-when-creating-a-pipeline?noredirect=1#comment86670169_49826667] but somebody said this might be a new bug. Hope this report helps.

             
            reijis2 Christopher Francisco made changes -
            Description I'm new to Blue Ocean, and I'm following [the tutorial|https://jenkins.io/doc/tutorials/create-a-pipeline-in-blue-ocean/#create-your-pipeline-project-in-blue-ocean] which tells me to run:
            {code:java}
            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{code}
            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:

            {code}java -jar jenkins.war --httpPort=8080{code}


            Now I'm at the part where you [select the Agent|https://jenkins.io/doc/tutorials/create-a-pipeline-in-blue-ocean/#create-your-initial-pipeline], but mine has no agent:

            !Screen Shot 2018-04-13 at 7.13.25 PM.png|thumbnail!

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

             
            {code:java}
            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;
            {code}
             

             

            I posted this problem on [Stack Overflow|https://stackoverflow.com/questions/49826667/jenkins-blue-ocean-wont-show-agent-when-creating-a-pipeline?noredirect=1#comment86670169_49826667] but somebody said this might be a new bug. Hope this report helps.

             
            I'm new to Blue Ocean, and I'm following [the tutorial|https://jenkins.io/doc/tutorials/create-a-pipeline-in-blue-ocean/#create-your-pipeline-project-in-blue-ocean] which tells me to run:
            {code:java}
            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{code}
            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:

            {code}java -jar jenkins.war --httpPort=8080{code}

            Now I'm at the part where you [select the Agent|https://jenkins.io/doc/tutorials/create-a-pipeline-in-blue-ocean/#create-your-initial-pipeline], but mine has no agent:

            !Screen Shot 2018-04-13 at 7.13.25 PM.png|thumbnail!

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

            {code:java}
            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;
            {code}
             
            I posted this problem on [Stack Overflow|https://stackoverflow.com/questions/49826667/jenkins-blue-ocean-wont-show-agent-when-creating-a-pipeline?noredirect=1#comment86670169_49826667] but somebody said this might be a new bug. Hope this report helps.

             
            ndeloof Nicolas De Loof made changes -
            Component/s blueocean-plugin [ 21481 ]
            Component/s docker [ 20834 ]
            ndeloof Nicolas De Loof made changes -
            Assignee Nicolas De Loof [ ndeloof ]
            kshultz Karl Shultz made changes -
            Component/s blueocean-pipeline-editor-plugin [ 21828 ]
            kshultz Karl Shultz made changes -
            Priority Minor [ 4 ] Major [ 3 ]
            kshultz Karl Shultz made changes -
            Link This issue is related to JENKINS-50833 [ JENKINS-50833 ]
            kshultz Karl Shultz made changes -
            Attachment screenshot-1.png [ 42195 ]
            kshultz Karl Shultz made changes -
            Attachment screenshot-2.png [ 42196 ]
            kshultz Karl Shultz made changes -
            Attachment screenshot-3.png [ 42197 ]
            kshultz Karl Shultz made changes -
            Attachment screenshot-4.png [ 42198 ]
            kshultz Karl Shultz made changes -
            Attachment screenshot-5.png [ 42199 ]
            kshultz Karl Shultz made changes -
            Attachment screenshot-6.png [ 42200 ]
            kshultz Karl Shultz made changes -
            Attachment screenshot-7.png [ 42202 ]
            kshultz Karl Shultz made changes -
            Attachment screenshot-8.png [ 42203 ]
            kshultz Karl Shultz made changes -
            Resolution Fixed [ 1 ]
            Status Open [ 1 ] Resolved [ 5 ]
            jbriden Jenn Briden made changes -
            Status Resolved [ 5 ] Closed [ 6 ]

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              reijis2 Christopher Francisco
              Votes:
              2 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: