Prerequisites
GitVersion package
AzureDevops task
GitVersion version
6.5.1
Operating system
Windows
What are you seeing?
When there is some error when running GitVersion, the Azure package simply reports:
##[error]GitVersion output is not valid JSON
It'd be better to actually show the error.
This is the actual log.
Running on: 'Azure Pipelines'
Disable Telemetry
Command: git -C D:\a\1\s rev-parse --is-shallow-repository
Command: C:\hostedtoolcache\windows\GitVersion.Tool\6.5.1\dotnet-gitversion.exe --roll-forward Major D:\a\1\s /output json /l console /config D:\a\1\s\ci\GitVersion.yml
##[error]GitVersion output is not valid JSON
dotnet-gitversion Output:
-------------------
undefined
-------------------
undefined
What is expected?
GitVersion actual error.
Steps to Reproduce
Some error during Azure run
RepositoryFixture Test
No response
Output log or link to your CI build (if appropriate).
Prerequisites
GitVersion package
AzureDevops task
GitVersion version
6.5.1
Operating system
Windows
What are you seeing?
When there is some error when running GitVersion, the Azure package simply reports:
It'd be better to actually show the error.
This is the actual log.
What is expected?
GitVersion actual error.
Steps to Reproduce
Some error during Azure run
RepositoryFixture Test
No response
Output log or link to your CI build (if appropriate).