Skip to content

"/output json" does not work in build server environment #1236

@marc-mueller

Description

@marc-mueller

Hello

We would like to execute GitVersion from withing a build script, but would like to get the json output. If the build environment is detected, the option json is ignored.

This was already issued once: #675

Apparentely, this bug seems to be still open.

You can repro it by yourself by executing the following inside a PowerShell session:

$env:TF_BUILD = "True"
GitVersion.exe /output json /nofetch

The output is still the "buildserver" one.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions