Hi. We’re running build with gradle 7.3.3 (and Java 11) and all is well on Linux, but it fails on windows at executing git commands. This is the build log:
$ ./gradlew clean
FAILURE: Build failed with an exception.
* What went wrong:
A problem occurred configuring root project 'buying'.
Problem encountered while executing [git rev-parse --abbrev-ref HEAD] exitValue=[1] err=[]
When looking at the stacktrace, it comes down to running a git command: branchName = executeCommand(“git rev-parse --abbrev-ref HEAD”)
Only a few developer in our team are experiencing this issue. Any idea what could be causing the issue?
Thanks,
Alain