[JIRA] (JENKINS-58398) Bitbucket feature works only when bitbucket online editor is enabled

2 views
Skip to first unread message

sylvain.targonski@gmail.com (JIRA)

unread,
Jul 9, 2019, 5:10:02 AM7/9/19
to jenkinsc...@googlegroups.com
Larkoie created an issue
 
Jenkins / Improvement JENKINS-58398
Bitbucket feature works only when bitbucket online editor is enabled
Issue Type: Improvement Improvement
Assignee: Unassigned
Attachments: 2019-07-09 11_02_41-Jenkins.png, 2019-07-09 11_08_01-Jenkins.png, 2019-07-09 11_08_34-.png
Components: blueocean-plugin
Created: 2019-07-09 09:09
Environment: Jenkins 2.170
BlueOcean 1.14
Priority: Minor Minor
Reporter: Larkoie

Hi,

I could not create new pipeline from repositories hosted on my Bitbucket server. It was throwing a generic error message at the Jenkinsfile creation.

After lots of debugging due to Jenkins not being able to render the Bitbucket error message I was able to attempt a PUT request with curl on my Bitbucket server which responded :

{"errors":[\{"context":null,"message":"Support for editing files has been disabled.","exceptionName":"com.atlassian.stash.internal.rest.content.ContentResource.FileEditorDisabledException"}

]}

 

So it appears that the "Bitbucket server" feature relies on the Bitbucket online editor. If the editor is disabled (which is the case for our production server and I guess we are not the only one) we get the generic error saying there was an issue while attempting to create the Jenkinfile.

 

It would be great to specify this when you select the feature or to display a specific error message specifying it.

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)
Reply all
Reply to author
Forward
0 new messages