-
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
- Install Code coverage for Bitbucket server plugin
- 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