Hi all,
Our brooklyn-ui PR builds (e.g. [1]) were failing with the same error as
is given in INFRA-17055 [2].
```
Caused by: hudson.plugins.git.GitException: Command "git fetch --tags
--progress git://github.com/apache/brooklyn-ui.git
+refs/pull/*:refs/remotes/origin/pr/*" returned status code 128:
stdout:
stderr: error: Could not read 0f7365b818627ae0fa4c1cdf0fb6a65062d23968
```
I've therefore applied the same fix as described in INFRA-17055: enabled
'Delete workspace before build starts'.
And I've kicked off my PR build again for [3].
---
Longer term, I think it makes sense to delete the workspace for PR
builds, because PRs could vary massively. If this works for brooklyn-ui,
is it sensible to roll that change across all the other PR build
configurations as well?
(I think I've seen that error a few times - I'd previously put it down
to bad networks, interrupted during git fetch.)
Aled
[1] https://builds.apache.org/job/brooklyn-ui-pull-requests/167/console
[2] https://issues.apache.org/jira/browse/INFRA-17055
[3] https://github.com/apache/brooklyn-ui/pull/76