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

Bitbucket feature works only when bitbucket online editor is enabled

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Open (View Workflow)
    • Priority: Minor
    • Resolution: Unresolved
    • Component/s: blueocean-plugin
    • Labels:
      None
    • Environment:
      Jenkins 2.170
      BlueOcean 1.14
    • Similar Issues:

      Description

      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.

        Attachments

          Activity

          There are no comments yet on this issue.

            People

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

              Dates

              • Created:
                Updated: