Increase path limit in Code coverage for Bitbucket Server plugin

XMLWordPrintable

    • Type: Suggestion
    • Resolution: Unresolved
    • None
    • Component/s: Plugin Development
    • None

      Issue Summary

      In the Code coverage for Bitbucket server plugin there is a limit of 255 characters for file paths. 

      This is reproducible on Data Center: yes

      Steps to Reproduce

      1. Install Code coverage for Bitbucket server plugin 
      2. Send file paths longer than 255 to https://localhost/rest/code-coverage/1.0/commits/

      Expected Results

      File paths longer than 255 are supported by the plugin

      Actual Results

      Here is the errored response from querying the rest api at https://localhost/rest/code-coverage/1.0/commits/

      ERROR: 400 - "{\"context\":null,\"message\":\"One or more files have invalid paths. File paths must not be null and not exceed 255 characters.\",\"exceptionName\":null ..........}" 

      Workaround

      Currently there is no known workaround for this behavior. A workaround will be added here when available

              Assignee:
              Unassigned
              Reporter:
              James Adams
              Votes:
              8 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated: