Hello
We would like to execute GitVersion from withing a build script, but would like to get the json output. If the build environment is detected, the option json is ignored.
This was already issued once: #675
Apparentely, this bug seems to be still open.
You can repro it by yourself by executing the following inside a PowerShell session:
$env:TF_BUILD = "True"
GitVersion.exe /output json /nofetch
The output is still the "buildserver" one.