Skip to content

[ISSUE]: Azure DevOps Pipeline GitVersion Task with error: "maxBuffer length exceeded" #1237

Closed
@ulluoink

Description

@ulluoink

Prerequisites

  • I have written a descriptive issue title
  • I have searched issues to ensure it has not already been reported

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions