gocd-build-github-pull-requests icon indicating copy to clipboard operation
gocd-build-github-pull-requests copied to clipboard

Plugin returned with code '500' and the following response: '"Unable to parse git-diff-tree"

Open gregoryfischer opened this issue 2 years ago • 0 comments

@ashwanthkumar

The following error was previously reported in https://github.com/ashwanthkumar/gocd-build-github-pull-requests/issues/123 however it still persists in another permutation in Release 1.4.0-RC4.

Modification check failed for material: [[email protected]:xxx/xxx.git] Affected pipelines are ebroker-pr.25 Feb, 2022 at 11:34:26 Local Time
The plugin sent a response that could not be understood by Go. Plugin returned with code '500' and the following response: '"Unable to parse git-diff-tree output line: MMMMM\tDockerfile\nFrom output:\n afc1a254a698be419299e6717a6c72c4e365ac8c\nMMMMM\tDockerfile"'

A PR has been raised in git-cmd to remove the guess work on how many MMMMM to expect. https://github.com/ashwanthkumar/git-cmd/pull/46

cc/ @krinklesaurus

gregoryfischer avatar Feb 25 '22 17:02 gregoryfischer