[x] I have searched issues to ensure it has not already been reported
GitVersion package
AzureDevops task
What are you seeing?
I am getting the following error when executing the gitversion/execute@3 step
...
##[debug]Parsing GitVersion output
##[debug]task result: Failed
##[error]Expected property name or '}' in JSON at position 1
##[debug]Processed: ##vso[task.issue type=error;]Expected property name or '}' in JSON at position 1
##[debug]Processed: ##vso[task.complete result=Failed;done=true;]Expected property name or '}' in JSON at position 1
...
I expect the gitversion/execute@3 step to finish successfully, and the {BranchName} placeholder to be replaced by the branch name at any place it occurs using the regex specified in the GitVersion.yml.
Prerequisites
GitVersion package
AzureDevops task
What are you seeing?
I am getting the following error when executing the
gitversion/execute@3
stepMy GitVersion.yml is rather simple:
What is expected?
I expect the
gitversion/execute@3
step to finish successfully, and the{BranchName}
placeholder to be replaced by the branch name at any place it occurs using the regex specified in theGitVersion.yml
.Steps to Reproduce
`pipelines/GitVersion.yml
to repository:Output log or link to your CI build (if appropriate).
2024-10-07T13:41:54.4300042Z ##[debug]Evaluating condition for step: 'Execute GitVersion' 2024-10-07T13:41:54.4302033Z ##[debug]Evaluating: SucceededNode() 2024-10-07T13:41:54.4302554Z ##[debug]Evaluating SucceededNode: 2024-10-07T13:41:54.4304053Z ##[debug]=> True 2024-10-07T13:41:54.4304579Z ##[debug]Result: True 2024-10-07T13:41:54.4304988Z ##[section]Starting: Execute GitVersion 2024-10-07T13:41:54.4311729Z ============================================================================== 2024-10-07T13:41:54.4311910Z Task : Execute GitVersion Task 2024-10-07T13:41:54.4312055Z Description : Easy Semantic Versioning (https://semver.org) for projects using Git 2024-10-07T13:41:54.4312233Z Version : 3.0.0 2024-10-07T13:41:54.4312344Z Author : GitTools Contributors 2024-10-07T13:41:54.4312490Z Help : See the documentation for help 2024-10-07T13:41:54.4312636Z ============================================================================== 2024-10-07T13:41:54.4879988Z ##[debug]Using node path: /agent/externals/node20_1/bin/node 2024-10-07T13:41:54.5462446Z Running on: 'Azure Pipelines' 2024-10-07T13:41:54.5464783Z ##[debug]Disabling telemetry 2024-10-07T13:41:54.5479526Z Disable Telemetry 2024-10-07T13:41:54.5480753Z ##[debug]Processed: ##vso[task.setvariable variable=DOTNET_CLI_TELEMETRY_OPTOUT;isOutput=false;issecret=false;]true 2024-10-07T13:41:54.5481579Z ##[debug]Processed: ##vso[task.setvariable variable=DOTNET_NOLOGO;isOutput=false;issecret=false;]true 2024-10-07T13:41:54.5481969Z Executing GitVersion 2024-10-07T13:41:54.5482400Z ##[debug]getVariable - INPUT_TARGETPATH: 2024-10-07T13:41:54.5482929Z ##[debug]getVariable - INPUT_DISABLECACHE: false 2024-10-07T13:41:54.5483467Z ##[debug]getVariable - INPUT_DISABLENORMALIZATION: false 2024-10-07T13:41:54.5484003Z ##[debug]getVariable - INPUT_DISABLESHALLOWCLONECHECK: false 2024-10-07T13:41:54.5484549Z ##[debug]getVariable - INPUT_USECONFIGFILE: true 2024-10-07T13:41:54.5485114Z ##[debug]getVariable - INPUT_CONFIGFILEPATH: /agent/_work/1/s/pipelines/GitVersion.yml 2024-10-07T13:41:54.5485671Z ##[debug]getVariable - INPUT_OVERRIDECONFIG: 2024-10-07T13:41:54.5486211Z ##[debug]getVariable - INPUT_UPDATEASSEMBLYINFO: false 2024-10-07T13:41:54.5487952Z ##[debug]getVariable - INPUT_UPDATEASSEMBLYINFOFILENAME: 2024-10-07T13:41:54.5488773Z ##[debug]getVariable - BUILD_SOURCESDIRECTORY: /agent/_work/1/s 2024-10-07T13:41:54.5489348Z Command: git -C /agent/_work/1/s rev-parse --is-shallow-repository 2024-10-07T13:41:54.5610385Z ##[debug]getVariable - INPUT_CONFIGFILEPATH: /agent/_work/1/s/pipelines/GitVersion.yml 2024-10-07T13:41:54.5611159Z ##[debug]getVariable - BUILD_SOURCESDIRECTORY: /agent/_work/1/s 2024-10-07T13:41:54.5613435Z ##[debug]getVariable - DOTNET_ROOT: ../share/dotnet 2024-10-07T13:41:54.5618448Z ##[debug]getVariable - GITVERSION_PATH: /opt/hostedtoolcache/GitVersion.Tool/6.0.2 2024-10-07T13:41:54.5619351Z Command: /opt/hostedtoolcache/GitVersion.Tool/6.0.2/dotnet-gitversion /agent/_work/1/s /output json /output buildserver /config /agent/_work/1/s/pipelines/GitVersion.yml 2024-10-07T13:41:55.4863926Z GitVersion executed successfully 2024-10-07T13:41:55.4875896Z GitVersion output: 2024-10-07T13:41:55.4876446Z ------------------- 2024-10-07T13:41:55.4877041Z INFO [24-10-07 13:41:54:78] Working directory: /agent/_work/1/s 2024-10-07T13:41:55.4877536Z INFO [24-10-07 13:41:54:80] Project root is: /agent/_work/1/s/ 2024-10-07T13:41:55.4877965Z INFO [24-10-07 13:41:54:80] DotGit directory is: /agent/_work/1/s/.git 2024-10-07T13:41:55.4878565Z INFO [24-10-07 13:41:54:80] Branch from build environment: refs/heads/feat/add-gitversion 2024-10-07T13:41:55.4879076Z INFO [24-10-07 13:41:54:80] -< Begin: Normalizing git directory for branch 'refs/heads/feat/add-gitversion' >- 2024-10-07T13:41:55.4879724Z INFO [24-10-07 13:41:54:83] One remote found (origin -> 'https://my-org>@dev.azure.com/<my-org//_git/').
2024-10-07T13:41:55.4880406Z INFO [24-10-07 13:41:54:84] Skipping fetching, if GitVersion does not calculate your version as expected you might need to allow fetching or use dynamic repositories
2024-10-07T13:41:55.4881275Z INFO [24-10-07 13:41:54:84] Creating local branch feat/add-gitversion
2024-10-07T13:41:55.4881772Z INFO [24-10-07 13:41:54:87] Creating local branch from remote tracking 'refs/remotes/origin/Health-Endpoints'.
2024-10-07T13:41:55.4882305Z INFO [24-10-07 13:41:54:88] Creating local branch from remote tracking 'refs/remotes/origin/dev-mb'.
2024-10-07T13:41:55.4882806Z INFO [24-10-07 13:41:54:88] Creating local branch from remote tracking 'refs/remotes/origin/dev-sd'.
2024-10-07T13:41:55.4883311Z INFO [24-10-07 13:41:54:88] Creating local branch from remote tracking 'refs/remotes/origin/main'.
2024-10-07T13:41:55.4883795Z INFO [24-10-07 13:41:54:89] HEAD points at branch 'refs/heads/feat/add-gitversion'.
2024-10-07T13:41:55.4884325Z INFO [24-10-07 13:41:54:89] -< End: Normalizing git directory for branch 'refs/heads/feat/add-gitversion' (Took: 83.58ms) >-
2024-10-07T13:41:55.4884848Z INFO [24-10-07 13:41:54:90] Found configuration file at '/agent/_work/1/s/pipelines/GitVersion.yml'
2024-10-07T13:41:55.4885502Z INFO [24-10-07 13:41:54:90] -< Begin: Loading version variables from disk cache file /agent/_work/1/s/.git/gitversion_cache/8842927E9FC8D4D79F33114ED85F851F75902FAB >-
2024-10-07T13:41:55.4886148Z INFO [24-10-07 13:41:54:90] Cache file /agent/_work/1/s/.git/gitversion_cache/8842927E9FC8D4D79F33114ED85F851F75902FAB not found.
2024-10-07T13:41:55.4886950Z INFO [24-10-07 13:41:54:90] -< End: Loading version variables from disk cache file /agent/_work/1/s/.git/gitversion_cache/8842927E9FC8D4D79F33114ED85F851F75902FAB (Took: 0.09ms) >-
2024-10-07T13:41:55.4887665Z INFO [24-10-07 13:41:54:90] Found configuration file at '/agent/_work/1/s/pipelines/GitVersion.yml'
2024-10-07T13:41:55.4888121Z INFO [24-10-07 13:41:55:09] Using latest commit on specified branch
2024-10-07T13:41:55.4888582Z INFO [24-10-07 13:41:55:10] Getting tagged semantic versions. TagPrefix: [vV]? and Format: Strict
2024-10-07T13:41:55.4889092Z INFO [24-10-07 13:41:55:12] Running against branch: feat/add-gitversion ('bbc4ba6' - fix: Another try....)
2024-10-07T13:41:55.4889605Z INFO [24-10-07 13:41:55:13] -< Begin: Fetching the base versions for version calculation... >-
2024-10-07T13:41:55.4890083Z INFO [24-10-07 13:41:55:14] -< Begin: Finding branches source of 'feat/add-gitversion' >-
2024-10-07T13:41:55.4890578Z INFO [24-10-07 13:41:55:14] -< Begin: Finding merge base between 'feat/add-gitversion' and 'main'. >-
2024-10-07T13:41:55.4891159Z INFO [24-10-07 13:41:55:15] Found merge base of ''0e983da' - Merged PR 112935: feat: Add deployment pipeline.'
2024-10-07T13:41:55.4891803Z INFO [24-10-07 13:41:55:15] Merge base of 'feat/add-gitversion' and 'main' is ''0e983da' - Merged PR 112935: feat: Add deployment pipeline.'
2024-10-07T13:41:55.4892406Z INFO [24-10-07 13:41:55:15] -< End: Finding merge base between 'feat/add-gitversion' and 'main'. (Took: 9.55ms) >-
2024-10-07T13:41:55.4892967Z INFO [24-10-07 13:41:55:15] -< Begin: Finding merge base between 'feat/add-gitversion' and 'origin/feat/add-gitversion'. >-
2024-10-07T13:41:55.4893622Z INFO [24-10-07 13:41:55:15] Found merge base of ''bbc4ba6' - fix: Another try....'
2024-10-07T13:41:55.4894178Z INFO [24-10-07 13:41:55:15] Merge base of 'feat/add-gitversion' and 'origin/feat/add-gitversion' is ''bbc4ba6' - fix: Another try....'
2024-10-07T13:41:55.4894784Z INFO [24-10-07 13:41:55:15] -< End: Finding merge base between 'feat/add-gitversion' and 'origin/feat/add-gitversion'. (Took: 0.32ms) >-
2024-10-07T13:41:55.4895352Z INFO [24-10-07 13:41:55:15] -< Begin: Finding merge base between 'feat/add-gitversion' and 'origin/main'. >-
2024-10-07T13:41:55.4895921Z INFO [24-10-07 13:41:55:15] Found merge base of ''0e983da' - Merged PR 112935: feat: Add deployment pipeline.'
2024-10-07T13:41:55.4896588Z INFO [24-10-07 13:41:55:15] Merge base of 'feat/add-gitversion' and 'origin/main' is ''0e983da' - Merged PR 112935: feat: Add deployment pipeline.'
2024-10-07T13:41:55.4897595Z INFO [24-10-07 13:41:55:15] -< End: Finding merge base between 'feat/add-gitversion' and 'origin/main'. (Took: 0.67ms) >-
2024-10-07T13:41:55.4898126Z INFO [24-10-07 13:41:55:16] -< End: Finding branches source of 'feat/add-gitversion' (Took: 20.61ms) >-
2024-10-07T13:41:55.4898578Z INFO [24-10-07 13:41:55:17] Calculating base versions for 'main'
2024-10-07T13:41:55.4899035Z INFO [24-10-07 13:41:55:17] -< Begin: [Using 'ConfiguredNextVersionVersionStrategy' strategy] >-
2024-10-07T13:41:55.4899560Z INFO [24-10-07 13:41:55:17] -< End: [Using 'ConfiguredNextVersionVersionStrategy' strategy] (Took: 0.66ms) >-
2024-10-07T13:41:55.4900032Z INFO [24-10-07 13:41:55:17] -< Begin: [Using 'MainlineVersionStrategy' strategy] >-
2024-10-07T13:41:55.4900508Z INFO [24-10-07 13:41:55:17] -< End: [Using 'MainlineVersionStrategy' strategy] (Took: 0.60ms) >-
2024-10-07T13:41:55.4900993Z INFO [24-10-07 13:41:55:17] -< Begin: [Using 'MergeMessageVersionStrategy' strategy] >-
2024-10-07T13:41:55.4901491Z INFO [24-10-07 13:41:55:23] -< End: [Using 'MergeMessageVersionStrategy' strategy] (Took: 54.39ms) >-
2024-10-07T13:41:55.4901962Z INFO [24-10-07 13:41:55:23] -< Begin: [Using 'TaggedCommitVersionStrategy' strategy] >-
2024-10-07T13:41:55.4902556Z INFO [24-10-07 13:41:55:24] -< Begin: Getting tagged semantic versions on branch 'refs/heads/feat/add-gitversion'. TagPrefix: [vV]? and Format: Strict >-
2024-10-07T13:41:55.4903229Z INFO [24-10-07 13:41:55:24] -< End: Getting tagged semantic versions on branch 'refs/heads/feat/add-gitversion'. TagPrefix: [vV]? and Format: Strict (Took: 5.52ms) >-
2024-10-07T13:41:55.4903862Z INFO [24-10-07 13:41:55:25] -< Begin: Getting tagged semantic versions on branch 'refs/heads/main'. TagPrefix: [vV]? and Format: Strict >-
2024-10-07T13:41:55.4904481Z INFO [24-10-07 13:41:55:25] -< End: Getting tagged semantic versions on branch 'refs/heads/main'. TagPrefix: [vV]? and Format: Strict (Took: 4.19ms) >-
2024-10-07T13:41:55.4905129Z INFO [24-10-07 13:41:55:25] -< Begin: Getting tagged semantic versions on branch 'refs/remotes/origin/main'. TagPrefix: [vV]? and Format: Strict >-
2024-10-07T13:41:55.4905764Z INFO [24-10-07 13:41:55:26] -< End: Getting tagged semantic versions on branch 'refs/remotes/origin/main'. TagPrefix: [vV]? and Format: Strict (Took: 3.91ms) >-
2024-10-07T13:41:55.4906317Z INFO [24-10-07 13:41:55:26] -< End: [Using 'TaggedCommitVersionStrategy' strategy] (Took: 31.02ms) >-
2024-10-07T13:41:55.4906825Z INFO [24-10-07 13:41:55:26] -< Begin: [Using 'TrackReleaseBranchesVersionStrategy' strategy] >-
2024-10-07T13:41:55.4908140Z INFO [24-10-07 13:41:55:26] -< End: [Using 'TrackReleaseBranchesVersionStrategy' strategy] (Took: 0.65ms) >-
2024-10-07T13:41:55.4909183Z INFO [24-10-07 13:41:55:26] -< Begin: [Using 'VersionInBranchNameVersionStrategy' strategy] >-
2024-10-07T13:41:55.4909695Z INFO [24-10-07 13:41:55:26] -< End: [Using 'VersionInBranchNameVersionStrategy' strategy] (Took: 0.72ms) >-
2024-10-07T13:41:55.4910350Z INFO [24-10-07 13:41:55:26] -< Begin: [Using 'FallbackVersionStrategy' strategy] >-
2024-10-07T13:41:55.4910885Z INFO [24-10-07 13:41:55:29] Fallback base version: Version increment '0.0.0' +semver 'Patch' with label '{BranchName}'
2024-10-07T13:41:55.4911406Z INFO [24-10-07 13:41:55:29] -< End: [Using 'FallbackVersionStrategy' strategy] (Took: 32.66ms) >-
2024-10-07T13:41:55.4911866Z INFO [24-10-07 13:41:55:29] Calculating base versions for 'origin/main'
2024-10-07T13:41:55.4912327Z INFO [24-10-07 13:41:55:29] -< Begin: [Using 'ConfiguredNextVersionVersionStrategy' strategy] >-
2024-10-07T13:41:55.4912841Z INFO [24-10-07 13:41:55:29] -< End: [Using 'ConfiguredNextVersionVersionStrategy' strategy] (Took: 0.06ms) >-
2024-10-07T13:41:55.4913326Z INFO [24-10-07 13:41:55:29] -< Begin: [Using 'MainlineVersionStrategy' strategy] >-
2024-10-07T13:41:55.4913798Z INFO [24-10-07 13:41:55:29] -< End: [Using 'MainlineVersionStrategy' strategy] (Took: 0.04ms) >-
2024-10-07T13:41:55.4914368Z INFO [24-10-07 13:41:55:29] -< Begin: [Using 'MergeMessageVersionStrategy' strategy] >-
2024-10-07T13:41:55.4914870Z INFO [24-10-07 13:41:55:30] -< End: [Using 'MergeMessageVersionStrategy' strategy] (Took: 9.13ms) >-
2024-10-07T13:41:55.4915338Z INFO [24-10-07 13:41:55:30] -< Begin: [Using 'TaggedCommitVersionStrategy' strategy] >-
2024-10-07T13:41:55.4915827Z INFO [24-10-07 13:41:55:30] -< End: [Using 'TaggedCommitVersionStrategy' strategy] (Took: 1.28ms) >-
2024-10-07T13:41:55.4916316Z INFO [24-10-07 13:41:55:30] -< Begin: [Using 'TrackReleaseBranchesVersionStrategy' strategy] >-
2024-10-07T13:41:55.4916824Z INFO [24-10-07 13:41:55:30] -< End: [Using 'TrackReleaseBranchesVersionStrategy' strategy] (Took: 0.04ms) >-
2024-10-07T13:41:55.4918257Z INFO [24-10-07 13:41:55:30] -< Begin: [Using 'VersionInBranchNameVersionStrategy' strategy] >-
2024-10-07T13:41:55.4918800Z INFO [24-10-07 13:41:55:30] -< End: [Using 'VersionInBranchNameVersionStrategy' strategy] (Took: 0.03ms) >-
2024-10-07T13:41:55.4919300Z INFO [24-10-07 13:41:55:30] -< Begin: [Using 'FallbackVersionStrategy' strategy] >-
2024-10-07T13:41:55.4919820Z INFO [24-10-07 13:41:55:31] Fallback base version: Version increment '0.0.0' +semver 'Patch' with label '{BranchName}'
2024-10-07T13:41:55.4920336Z INFO [24-10-07 13:41:55:31] -< End: [Using 'FallbackVersionStrategy' strategy] (Took: 1.56ms) >-
2024-10-07T13:41:55.4920858Z INFO [24-10-07 13:41:55:31] -< End: Fetching the base versions for version calculation... (Took: 178.34ms) >-
2024-10-07T13:41:55.4921329Z INFO [24-10-07 13:41:55:31] -------------------------------------------------------
2024-10-07T13:41:55.4921792Z INFO [24-10-07 13:41:55:31] Base version used: Fallback base version: Take '0.0.0'
2024-10-07T13:41:55.4922234Z INFO [24-10-07 13:41:55:31] -------------------------------------------------------
2024-10-07T13:41:55.4922732Z INFO [24-10-07 13:41:55:31] -< Begin: Using manual deployment workflow to calculate the incremented version. >-
2024-10-07T13:41:55.4923286Z INFO [24-10-07 13:41:55:31] 245 commits found between and 'bbc4ba6' - fix: Another try....
2024-10-07T13:41:55.4923812Z INFO [24-10-07 13:41:55:32] -< End: Using manual deployment workflow to calculate the incremented version. (Took: 4.99ms) >-
2024-10-07T13:41:55.4924327Z INFO [24-10-07 13:41:55:32] Found configuration file at '/agent/_work/1/s/pipelines/GitVersion.yml'
2024-10-07T13:41:55.4924948Z INFO [24-10-07 13:41:55:32] -< Begin: Write version variables to cache file /agent/_work/1/s/.git/gitversion_cache/8842927E9FC8D4D79F33114ED85F851F75902FAB >-
2024-10-07T13:41:55.4925643Z INFO [24-10-07 13:41:55:39] -< End: Write version variables to cache file /agent/_work/1/s/.git/gitversion_cache/8842927E9FC8D4D79F33114ED85F851F75902FAB (Took: 72.65ms) >-
2024-10-07T13:41:55.4926217Z INFO [24-10-07 13:41:55:39] Found configuration file at '/agent/_work/1/s/pipelines/GitVersion.yml'
2024-10-07T13:41:55.4926639Z Executing GenerateSetVersionMessage for 'AzurePipelines'.
2024-10-07T13:41:55.4939857Z ##[debug]Update build number for build: 1139588 to: 0.0.1-{BranchName}.1+245 at backend.
2024-10-07T13:41:55.5324886Z ##[debug]Processed: ##vso[build.updatebuildnumber]0.0.1-{BranchName}.1+245
2024-10-07T13:41:55.5325798Z Executing GenerateBuildLogOutput for 'AzurePipelines'.
2024-10-07T13:41:55.5327081Z ##[debug]Processed: ##vso[task.setvariable variable=GitVersion.Major]0
2024-10-07T13:41:55.5329550Z ##[debug]Processed: ##vso[task.setvariable variable=GitVersion.Major;isOutput=true]0
2024-10-07T13:41:55.5330295Z ##[debug]Processed: ##vso[task.setvariable variable=GitVersion.Minor]0
2024-10-07T13:41:55.5331356Z ##[debug]Processed: ##vso[task.setvariable variable=GitVersion.Minor;isOutput=true]0
2024-10-07T13:41:55.5332034Z ##[debug]Processed: ##vso[task.setvariable variable=GitVersion.Patch]1
2024-10-07T13:41:55.5332959Z ##[debug]Processed: ##vso[task.setvariable variable=GitVersion.Patch;isOutput=true]1
2024-10-07T13:41:55.5334043Z ##[debug]Processed: ##vso[task.setvariable variable=GitVersion.BuildMetaData]245
2024-10-07T13:41:55.5335052Z ##[debug]Processed: ##vso[task.setvariable variable=GitVersion.BuildMetaData;isOutput=true]245
2024-10-07T13:41:55.5335923Z ##[debug]Processed: ##vso[task.setvariable variable=GitVersion.FullBuildMetaData]245.Branch.feat-add-gitversion.Sha.bbc4ba64ddf97c913d51a991d5e809073cf65736
2024-10-07T13:41:55.5337285Z ##[debug]Processed: ##vso[task.setvariable variable=GitVersion.FullBuildMetaData;isOutput=true]245.Branch.feat-add-gitversion.Sha.bbc4ba64ddf97c913d51a991d5e809073cf65736
2024-10-07T13:41:55.5338132Z ##[debug]Processed: ##vso[task.setvariable variable=GitVersion.BranchName]feat/add-gitversion
2024-10-07T13:41:55.5339110Z ##[debug]Processed: ##vso[task.setvariable variable=GitVersion.BranchName;isOutput=true]feat/add-gitversion
2024-10-07T13:41:55.5339885Z ##[debug]Processed: ##vso[task.setvariable variable=GitVersion.EscapedBranchName]feat-add-gitversion
2024-10-07T13:41:55.5340905Z ##[debug]Processed: ##vso[task.setvariable variable=GitVersion.EscapedBranchName;isOutput=true]feat-add-gitversion
2024-10-07T13:41:55.5341757Z ##[debug]Processed: ##vso[task.setvariable variable=GitVersion.Sha]bbc4ba64ddf97c913d51a991d5e809073cf65736
2024-10-07T13:41:55.5342777Z ##[debug]Processed: ##vso[task.setvariable variable=GitVersion.Sha;isOutput=true]bbc4ba64ddf97c913d51a991d5e809073cf65736
2024-10-07T13:41:55.5343518Z ##[debug]Processed: ##vso[task.setvariable variable=GitVersion.ShortSha]bbc4ba6
2024-10-07T13:41:55.5344458Z ##[debug]Processed: ##vso[task.setvariable variable=GitVersion.ShortSha;isOutput=true]bbc4ba6
2024-10-07T13:41:55.5345184Z ##[debug]Processed: ##vso[task.setvariable variable=GitVersion.MajorMinorPatch]0.0.1
2024-10-07T13:41:55.5346136Z ##[debug]Processed: ##vso[task.setvariable variable=GitVersion.MajorMinorPatch;isOutput=true]0.0.1
2024-10-07T13:41:55.5347023Z ##[debug]Processed: ##vso[task.setvariable variable=GitVersion.SemVer]0.0.1-{BranchName}.1
2024-10-07T13:41:55.5348038Z ##[debug]Processed: ##vso[task.setvariable variable=GitVersion.SemVer;isOutput=true]0.0.1-{BranchName}.1
2024-10-07T13:41:55.5348813Z ##[debug]Processed: ##vso[task.setvariable variable=GitVersion.FullSemVer]0.0.1-{BranchName}.1+245
2024-10-07T13:41:55.5349806Z ##[debug]Processed: ##vso[task.setvariable variable=GitVersion.FullSemVer;isOutput=true]0.0.1-{BranchName}.1+245
2024-10-07T13:41:55.5350559Z ##[debug]Processed: ##vso[task.setvariable variable=GitVersion.AssemblySemVer]0.0.1.0
2024-10-07T13:41:55.5351542Z ##[debug]Processed: ##vso[task.setvariable variable=GitVersion.AssemblySemVer;isOutput=true]0.0.1.0
2024-10-07T13:41:55.5352308Z ##[debug]Processed: ##vso[task.setvariable variable=GitVersion.AssemblySemFileVer]0.0.1.0
2024-10-07T13:41:55.5353294Z ##[debug]Processed: ##vso[task.setvariable variable=GitVersion.AssemblySemFileVer;isOutput=true]0.0.1.0
2024-10-07T13:41:55.5354034Z ##[debug]Processed: ##vso[task.setvariable variable=GitVersion.PreReleaseTag]{BranchName}.1
2024-10-07T13:41:55.5355019Z ##[debug]Processed: ##vso[task.setvariable variable=GitVersion.PreReleaseTag;isOutput=true]{BranchName}.1
2024-10-07T13:41:55.5356088Z ##[debug]Processed: ##vso[task.setvariable variable=GitVersion.PreReleaseTagWithDash]-{BranchName}.1
2024-10-07T13:41:55.5357243Z ##[debug]Processed: ##vso[task.setvariable variable=GitVersion.PreReleaseTagWithDash;isOutput=true]-{BranchName}.1
2024-10-07T13:41:55.5358016Z ##[debug]Processed: ##vso[task.setvariable variable=GitVersion.PreReleaseLabel]{BranchName}
2024-10-07T13:41:55.5359025Z ##[debug]Processed: ##vso[task.setvariable variable=GitVersion.PreReleaseLabel;isOutput=true]{BranchName}
2024-10-07T13:41:55.5359802Z ##[debug]Processed: ##vso[task.setvariable variable=GitVersion.PreReleaseLabelWithDash]-{BranchName}
2024-10-07T13:41:55.5360854Z ##[debug]Processed: ##vso[task.setvariable variable=GitVersion.PreReleaseLabelWithDash;isOutput=true]-{BranchName}
2024-10-07T13:41:55.5361642Z ##[debug]Processed: ##vso[task.setvariable variable=GitVersion.PreReleaseNumber]1
2024-10-07T13:41:55.5362763Z ##[debug]Processed: ##vso[task.setvariable variable=GitVersion.PreReleaseNumber;isOutput=true]1
2024-10-07T13:41:55.5363516Z ##[debug]Processed: ##vso[task.setvariable variable=GitVersion.WeightedPreReleaseNumber]30001
2024-10-07T13:41:55.5364522Z ##[debug]Processed: ##vso[task.setvariable variable=GitVersion.WeightedPreReleaseNumber;isOutput=true]30001
2024-10-07T13:41:55.5365465Z ##[debug]Processed: ##vso[task.setvariable variable=GitVersion.InformationalVersion]0.0.1-{BranchName}.1+245.Branch.feat-add-gitversion.Sha.bbc4ba64ddf97c913d51a991d5e809073cf65736
2024-10-07T13:41:55.5366724Z ##[debug]Processed: ##vso[task.setvariable variable=GitVersion.InformationalVersion;isOutput=true]0.0.1-{BranchName}.1+245.Branch.feat-add-gitversion.Sha.bbc4ba64ddf97c913d51a991d5e809073cf65736
2024-10-07T13:41:55.5367721Z ##[debug]Processed: ##vso[task.setvariable variable=GitVersion.CommitDate]2024-10-07
2024-10-07T13:41:55.5369417Z ##[debug]Processed: ##vso[task.setvariable variable=GitVersion.CommitDate;isOutput=true]2024-10-07
2024-10-07T13:41:55.5370181Z ##[debug]Processed: ##vso[task.setvariable variable=GitVersion.VersionSourceSha]
2024-10-07T13:41:55.5371203Z ##[debug]Processed: ##vso[task.setvariable variable=GitVersion.VersionSourceSha;isOutput=true]
2024-10-07T13:41:55.5371953Z ##[debug]Processed: ##vso[task.setvariable variable=GitVersion.CommitsSinceVersionSource]245
2024-10-07T13:41:55.5372957Z ##[debug]Processed: ##vso[task.setvariable variable=GitVersion.CommitsSinceVersionSource;isOutput=true]245
2024-10-07T13:41:55.5373705Z ##[debug]Processed: ##vso[task.setvariable variable=GitVersion.UncommittedChanges]0
2024-10-07T13:41:55.5374706Z ##[debug]Processed: ##vso[task.setvariable variable=GitVersion.UncommittedChanges;isOutput=true]0
2024-10-07T13:41:55.5375079Z {
2024-10-07T13:41:55.5375417Z "AssemblySemFileVer": "0.0.1.0",
2024-10-07T13:41:55.5375671Z "AssemblySemVer": "0.0.1.0",
2024-10-07T13:41:55.5376176Z "BranchName": "feat/add-gitversion",
2024-10-07T13:41:55.5376428Z "BuildMetaData": 245,
2024-10-07T13:41:55.5376728Z "CommitDate": "2024-10-07",
2024-10-07T13:41:55.5377104Z "CommitsSinceVersionSource": 245,
2024-10-07T13:41:55.5377439Z "EscapedBranchName": "feat-add-gitversion",
2024-10-07T13:41:55.5377899Z "FullBuildMetaData": "245.Branch.feat-add-gitversion.Sha.bbc4ba64ddf97c913d51a991d5e809073cf65736",
2024-10-07T13:41:55.5378304Z "FullSemVer": "0.0.1-{BranchName}.1+245",
2024-10-07T13:41:55.5378806Z "InformationalVersion": "0.0.1-{BranchName}.1+245.Branch.feat-add-gitversion.Sha.bbc4ba64ddf97c913d51a991d5e809073cf65736",
2024-10-07T13:41:55.5379126Z "Major": 0,
2024-10-07T13:41:55.5379363Z "MajorMinorPatch": "0.0.1",
2024-10-07T13:41:55.5379582Z "Minor": 0,
2024-10-07T13:41:55.5379784Z "Patch": 1,
2024-10-07T13:41:55.5380026Z "PreReleaseLabel": "{BranchName}",
2024-10-07T13:41:55.5380352Z "PreReleaseLabelWithDash": "-{BranchName}",
2024-10-07T13:41:55.5380608Z "PreReleaseNumber": 1,
2024-10-07T13:41:55.5380867Z "PreReleaseTag": "{BranchName}.1",
2024-10-07T13:41:55.5381195Z "PreReleaseTagWithDash": "-{BranchName}.1",
2024-10-07T13:41:55.5381806Z "SemVer": "0.0.1-{BranchName}.1",
2024-10-07T13:41:55.5382098Z "Sha": "bbc4ba64ddf97c913d51a991d5e809073cf65736",
2024-10-07T13:41:55.5382364Z "ShortSha": "bbc4ba6",
2024-10-07T13:41:55.5382598Z "UncommittedChanges": 0,
2024-10-07T13:41:55.5382848Z "VersionSourceSha": "",
2024-10-07T13:41:55.5383096Z "WeightedPreReleaseNumber": 30001
2024-10-07T13:41:55.5383315Z }
2024-10-07T13:41:55.5383404Z
2024-10-07T13:41:55.5383642Z -------------------
2024-10-07T13:41:55.5384139Z ##[debug]Parsing GitVersion output
2024-10-07T13:41:55.5384632Z ##[debug]task result: Failed
2024-10-07T13:41:55.5417939Z ##[error]Expected property name or '}' in JSON at position 1
2024-10-07T13:41:55.5426749Z ##[debug]Processed: ##vso[task.issue type=error;]Expected property name or '}' in JSON at position 1
2024-10-07T13:41:55.5429355Z ##[debug]Processed: ##vso[task.complete result=Failed;done=true;]Expected property name or '}' in JSON at position 1
2024-10-07T13:41:55.5431510Z ##[section]Async Command Start: Update Build Number
2024-10-07T13:41:55.6864977Z Update build number to 0.0.1-{BranchName}.1+245 for build 1139588
2024-10-07T13:41:55.6865299Z ##[section]Async Command End: Update Build Number
2024-10-07T13:41:55.6866502Z ##[section]Finishing: Execute GitVersion