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

428 response "Invalid Credential" when trying to edit pipeline by blueocean plugin

    Details

    • Type: Bug
    • Status: Open (View Workflow)
    • Priority: Blocker
    • Resolution: Unresolved
    • Component/s: blueocean-plugin
    • Labels:
      None
    • Environment:
      blueocean v1.21
      Jenkins v2.204
    • Similar Issues:

      Description

      I can't edit the pipeline from blueocean plugin.

      This is new instllation env.

      in the browser I can see a blank output shows a window with title "connect to git".

      But it show nothing more.

      and Iook at the F12 network tool from browser, it shows a error 428 for the following link.

      https://10.9.65.199/jenkins/blue/rest/organizations/jenkins/pipelines/devopsdemo-ctbri/scm/content?path=Jenkinsfile&branch=master

      { "message" : "Invalid credential", "code" : 428, "errors" : [ ] }

      see 2.png

      and I tried to connect the link directly it got the same result.

      I tried a shorter link, and here's the result:

      https://10.9.65.199/jenkins/blue/rest/organizations/jenkins/pipelines/devopsdemo-ctbri/

      see 3.png

       

      Please help find where's the issue.

      Thanks.

       

       

       

       

       

       

       

        Attachments

        1. 2.png
          2.png
          139 kB
        2. 3.png
          3.png
          252 kB
        3. 4.png
          4.png
          127 kB

          Activity

          Hide
          igorski Igor Stojanovski added a comment -

          I had the same problem.

          I fixed by changing the Branch Sources step from Git to Github. Then I could edit without a problem.

          Show
          igorski Igor Stojanovski added a comment - I had the same problem. I fixed by changing the Branch Sources step from Git to Github. Then I could edit without a problem.

            People

            • Assignee:
              Unassigned
              Reporter:
              floyd_ljy Jin Yang Li
            • Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: