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

Bitbucket feature works only when bitbucket online editor is enabled

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Minor Minor
    • blueocean-plugin
    • 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.

            Unassigned Unassigned
            larkoie Larkoie
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: