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

Pipeline creation does not work when security is disabled.

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Critical
    • Resolution: Fixed
    • Component/s: blueocean-plugin
    • Labels:
      None
    • Environment:
      1.0.0-rc4
      · Core 2.53
      · 2119ac5
      · (no branch)
      · 3rd April 2017 11:50 PM

      Windows Server 2012R2
      Chrome
    • Epic Link:
    • Sprint:
      Blue Ocean - 1.1-beta-1
    • Similar Issues:

      Description

      Problem
      Pipeline creation in Blue Ocean stores tokens, passwords and SSH keys against the user. If you do not have security setup and are logged in as a valid user, then creation cannot work.

      Solution
      Close off creation and let the user know their Jenkins needs security enabled. Creation is then re-enabled when security is ON.

      Original request
      When I click at "Create Pipeline" and choose "Git" at "Where do you store your code" I still wait forever.

       

      Demo in Attachment

       

      Version: 

      1.0.0-rc4 · Core 2.53 · 2119ac5 · (no branch) · 3rd April 2017 11:50 PM

       

      Plugin-List: (All Update at 5/april 09h)

      ace-editor.jpi
       active-directory.jpi
       ant.jpi
       antisamy-markup-formatter.jpi
       authentication-tokens.jpi
       bds-plugin.jpi
       blueocean-autofavorite.jpi
       blueocean-commons.jpi
       blueocean-config.jpi
       blueocean-dashboard.jpi
       blueocean-display-url.jpi
       blueocean-events.jpi
       blueocean-git-pipeline.jpi
       blueocean-github-pipeline.jpi
       blueocean-i18n.jpi
       blueocean-jwt.jpi
       blueocean-personalization.jpi
       blueocean-pipeline-api-impl.jpi
       blueocean-pipeline-editor.jpi
       blueocean-rest-impl.jpi
       blueocean-rest.jpi
       blueocean-web.jpi
       blueocean.jpi
       bouncycastle-api.jpi
       branch-api.jpi
       build-timeout.jpi
       change-assembly-version-plugin.jpi
       cloudbees-folder.jpi
       credentials-binding.jpi
       credentials.jpi
       display-url-api.jpi
       docker-commons.jpi
       docker-workflow.jpi
       durable-task.jpi
       email-ext.jpi
       emma.jpi
       envinject.jpi
       external-monitor-job.jpi
       favorite.jpi
       git-client.jpi
       git-server.jpi
       git.jpi
       github-api.jpi
       github-branch-source.jpi
       github-organization-folder.jpi
       github.jpi
       gitlab-hook.jpi
       gitlab-logo.jpi
       gitlab-oauth.jpi
       gitlab-plugin.jpi
       gradle.jpi
       handlebars.jpi
       icon-shim.jpi
       jackson2-api.jpi
       javadoc.jpi
       jquery-detached.jpi
       jquery.jpi
       junit.jpi
       ldap.jpi
       lockable-resources.jpi
       mailer.jpi
       mapdb-api.jpi
       matrix-auth.jpi
       matrix-project.jpi
       maven-plugin.jpi
       metrics.jpi
       momentjs.jpi
       msbuild.jpi
       mstest.jpi
       mstestrunner.jpi
       pam-auth.jpi
       pipeline-build-step.jpi
       pipeline-github-lib.jpi
       pipeline-graph-analysis.jpi
       pipeline-input-step.jpi
       pipeline-milestone-step.jpi
       pipeline-model-api.jpi
       pipeline-model-declarative-agent.jpi
       pipeline-model-definition.jpi
       pipeline-model-extensions.jpi
       pipeline-rest-api.jpi
       pipeline-stage-step.jpi
       pipeline-stage-tags-metadata.jpi
       pipeline-stage-view.jpi
       plain-credentials.jpi
       pubsub-light.jpi
       resource-disposer.jpi
       rocketchatnotifier.jpi
       ruby-runtime.jpi
       scm-api.jpi
       script-security.jpi
       slack.jpi
       sonar.jpi
       sse-gateway.jpi
       ssh-credentials.jpi
       ssh-slaves.jpi
       structs.jpi
       subversion.jpi
       timestamper.jpi
       token-macro.jpi
       variant.jpi
       vstestrunner.jpi
       windows-slaves.jpi
       workflow-aggregator.jpi
       workflow-api.jpi
       workflow-basic-steps.jpi
       workflow-cps-global-lib.jpi
       workflow-cps.jpi
       workflow-durable-task-step.jpi
       workflow-job.jpi
       workflow-multibranch.jpi
       workflow-scm-step.jpi
       workflow-step-api.jpi
       workflow-support.jpi
       ws-cleanup.jpi
      

       

      When I enable security settings, it works. 

       

        Attachments

        1. 2017-08-15_0953.png
          2017-08-15_0953.png
          71 kB
        2. config.xml
          1 kB
        3. Jenkins Credentials System.png
          Jenkins Credentials System.png
          64 kB
        4. logs.zip
          2.67 MB
        5. Showing.gif
          Showing.gif
          368 kB

          Issue Links

            Activity

            Show
            cliffmeyers Cliff Meyers added a comment - PR: https://github.com/jenkinsci/blueocean-plugin/pull/955
            Hide
            cliffmeyers Cliff Meyers added a comment -

            UI changes are now in master.

            Show
            cliffmeyers Cliff Meyers added a comment - UI changes are now in master.
            Hide
            jamesdumay James Dumay added a comment -

            This will ship in Blue Ocean 1.1

            Show
            jamesdumay James Dumay added a comment - This will ship in Blue Ocean 1.1
            Hide
            comscience15 Nat Sr added a comment -

            Hi  I would like to ask how to enable the security to be able to get "create pipeline" work?  Currently, I got this but I can create the pipeline with classic mode. Thank you in advance.

             

            Show
            comscience15 Nat Sr added a comment - Hi  I would like to ask how to enable the security to be able to get "create pipeline" work?  Currently, I got this but I can create the pipeline with classic mode. Thank you in advance.  
            Show
            jamesdumay James Dumay added a comment - Nat Sr you will need to follow https://wiki.jenkins.io/display/JENKINS/Standard+Security+Setup

              People

              • Assignee:
                cliffmeyers Cliff Meyers
                Reporter:
                maiconcpereira Maicon Pereira
              • Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: