Open ulluoink opened 3 weeks ago
I see similar issue on GitHub. Removing stale branches, i.e. making sure that the output is smaller, solves the issue.
Same here. This happens in task version 2.x and 3.x, using version spec 5.x. Workaround for now is to go back to v1.x on those pipelines.
Had the same issue as well as others, version 3 of task with version spec 5 of the tool. Couldn't resolve until i went back to version 0 of the devops tasks.
Prerequisites
GitVersion package
AzureDevops task
What are you seeing?
In Azure yml pipeline step we use the gitversion tasks just like in the usage examples and get following error when executing
gitversion/execute@3.0.0
This is the output:
Command: git -C C:/a/15/s rev-parse --is-shallow-repository Command: C:\hostedtoolcache\windows\GitVersion.Tool\6.0.2\dotnet-gitversion.exe C:/a/15/s /output json /output buildserver /config C:\a\15\s\GitVersion.yml
[error]stdout maxBuffer length exceeded
What is expected?
well guess what ? should work
Steps to Reproduce
azure devops pipeline with these steps:
steps:
task: gitversion/setup@3.0.0 displayName: 'Install GitVersion' inputs: versionSpec: '6.x'
task: gitversion/execute@3.0.0 displayName: 'Configure Git Version' name: ${{ parameters.VersionStepName }} inputs: useConfigFile: true configFilePath: ${{ parameters.ConfigFilePath }}
Output log or link to your CI build (if appropriate).
No response