[JIRA] (JENKINS-60494) 428 response "Invalid Credential" when trying to edit pipeline by blueocean plugin

7 views
Skip to first unread message

floyd_ljy@163.com (JIRA)

unread,
Dec 16, 2019, 2:19:02 AM12/16/19
to jenkinsc...@googlegroups.com
Jin Yang Li created an issue
 
Jenkins / Bug JENKINS-60494
428 response "Invalid Credential" when trying to edit pipeline by blueocean plugin
Issue Type: Bug Bug
Assignee: Unassigned
Attachments: 1.png, 2.png, 3.png
Components: blueocean-plugin
Created: 2019-12-16 07:18
Environment: blueocean v1.21
Jenkins v2.204
Priority: Blocker Blocker
Reporter: Jin Yang Li

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.

 

 

 

 

 

 

 

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)
Atlassian logo

floyd_ljy@163.com (JIRA)

unread,
Dec 16, 2019, 2:22:01 AM12/16/19
to jenkinsc...@googlegroups.com

floyd_ljy@163.com (JIRA)

unread,
Dec 16, 2019, 2:22:02 AM12/16/19
to jenkinsc...@googlegroups.com

floyd_ljy@163.com (JIRA)

unread,
Dec 16, 2019, 2:23:03 AM12/16/19
to jenkinsc...@googlegroups.com

igorce@outlook.com (JIRA)

unread,
Jan 26, 2020, 6:40:03 AM1/26/20
to jenkinsc...@googlegroups.com
Igor Stojanovski commented on Bug JENKINS-60494
 
Re: 428 response "Invalid Credential" when trying to edit pipeline by blueocean plugin

I had the same problem.

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

Reply all
Reply to author
Forward
0 new messages