-
Improvement
-
Resolution: Unresolved
-
Minor
-
None
-
Jenkins 2.170
BlueOcean 1.14
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.