ashwanthkumar / gocd-build-github-pull-requests

GoCD plugin to build PRs for a Github repo
95 stars 72 forks source link

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

Open gregoryfischer opened 2 years ago

gregoryfischer commented 2 years ago

@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: [url=git@git.xxx.xxx: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