Closed
Description
Describe the bug
Version 5.10 is causing "SyntaxError: Unexpected end of JSON input" error
Failing build:
Normal working build:
Expected Behavior
No errors
Actual Behavior
I believe this is because since version 5.10 the variable 'Branch from build environment: ' is not being set.
Possible Fix
Make sure the variable is set again
Steps to Reproduce
Context
We always use the newest version fi gitvesion, since the update a few hours ago, our builds stopped working.
Your Environment
Azure DevOps (private environment)
- Version Used:
Agent name: 'Azure Pipelines 2'
Agent machine name: 'WIN-MGDD5L23JQP'
Current agent version: '2.202.0'
Operating System
Virtual Environment
Virtual Environment Provisioner
Current image version: '20220330.1'
Agent running as: 'VssAdministrator'
Prepare build directory.
Set build variables.
Download all required tasks.
Downloading task: gitversion/setup (0.9.13)
Downloading task: gitversion/execute (0.9.13)
Downloading task: NodeTool (0.200.0)
Downloading task: Npm (1.198.0)
Downloading task: DotNetCoreCLI (2.198.0)
Downloading task: reportgenerator (5.1.4)
Downloading task: PublishCodeCoverageResults (1.200.0)
Downloading task: Gitleaks (2.2.16)
Downloading task: PublishBuildArtifacts (1.200.0)