Skip to content

TFS Task fails when there are spaces in the agent path. #1380

@thijstijsma

Description

@thijstijsma

From the log:

Executing the powershell script: D:\Team Foundation Server\Agents\Agent 1\_work\_tasks\GitVersion_e5983830-3f75-11e5-82ed-81492570a08e\3.6.5\GitVersion.ps1
Current Directory:  D:\Team Foundation Server\Agents\Agent 1\_work\_tasks\GitVersion_e5983830-3f75-11e5-82ed-81492570a08e\3.6.5
Sources Directory:  D:\Team Foundation Server\Agents\Agent 1\_work\1\s
Invoking GitVersion with D:\Team Foundation Server\Agents\Agent 1\_work\1\s /output buildserver /nofetch
D:\Team Foundation Server\Agents\Agent 1\_work\_tasks\GitVersion_e5983830-3f75-11e5-82ed-81492570a08e\3.6.5\GitVersion.exe D:\Team Foundation Server\Agents\Agent 1\_work\1\s /output buildserver /nofetch
WARN [03/03/18 22:42:02:95] The working directory 'D:\Team' does not exist.

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