Skip to content

Directory spaces are not supported? #1129

@cuibty

Description

@cuibty
2017-01-06T01:09:57.7452422Z 将 workingFolder 设置为默认值: D:\Program Files\Microsoft Team Foundation Server 14.0\Build\tasks\GitVersion\3.6.5
2017-01-06T01:09:57.8581612Z 正在执行 powershell 脚本: D:\Program Files\Microsoft Team Foundation Server 14.0\Build\tasks\GitVersion\3.6.5\GitVersion.ps1
2017-01-06T01:09:58.1573381Z Current Directory:  D:\Program Files\Microsoft Team Foundation Server 14.0\Build\tasks\GitVersion\3.6.5
2017-01-06T01:09:58.1573381Z Sources Directory:  D:\Program Files\Microsoft Team Foundation Server 14.0\Build\_work\2\s
2017-01-06T01:09:58.1729641Z Invoking GitVersion with D:\Program Files\Microsoft Team Foundation Server 14.0\Build\_work\2\s /output buildserver /nofetch /updateassemblyinfo true
2017-01-06T01:09:58.1729641Z D:\Program Files\Microsoft Team Foundation Server 14.0\Build\tasks\GitVersion\3.6.5\GitVersion.exe D:\Program Files\Microsoft Team Foundation Server 14.0\Build\_work\2\s /output buildserver /nofetch /updateassemblyinfo true
2017-01-06T01:09:58.2510930Z WARN [01/06/17 9:09:58:25] The working directory 'D:\Program' does not exist.
2017-01-06T01:09:58.2510930Z INFO [01/06/17 9:09:58:25] IsDynamicGitRepository: False
2017-01-06T01:09:58.2667189Z ERROR [01/06/17 9:09:58:26] An unexpected error occurred:
2017-01-06T01:09:58.2667189Z System.IO.DirectoryNotFoundException: Can't find the .git directory in D:\Program
2017-01-06T01:09:58.2667189Z    在 GitVersion.GitPreparer.GetDotGitDirectory()
2017-01-06T01:09:58.2667189Z    在 GitVersion.GitPreparer.GetProjectRootDirectory()
2017-01-06T01:09:58.2667189Z    在 GitVersion.ConfigurationProvider.Verify(GitPreparer gitPreparer, IFileSystem fileSystem)
2017-01-06T01:09:58.2667189Z    在 GitVersion.Program.VerifyArgumentsAndRun()
2017-01-06T01:09:58.2823449Z INFO [01/06/17 9:09:58:26] 
2017-01-06T01:09:58.2823449Z INFO [01/06/17 9:09:58:26] Attempting to show the current git graph (please include in issue): 
2017-01-06T01:09:58.2823449Z INFO [01/06/17 9:09:58:26] Showing max of 100 commits
2017-01-06T01:09:58.2823449Z ERROR [01/06/17 9:09:58:28] Couldn't dump the git graph due to the following error: System.ComponentModel.Win32Exception (0x80004005): 目录名称无效。
2017-01-06T01:09:58.2823449Z    在 System.Diagnostics.Process.StartWithCreateProcess(ProcessStartInfo startInfo)
2017-01-06T01:09:58.2823449Z    在 System.Diagnostics.Process.Start(ProcessStartInfo startInfo)
2017-01-06T01:09:58.2823449Z    在 GitTools.ProcessHelper.Start(ProcessStartInfo startInfo)
2017-01-06T01:09:58.2823449Z    在 GitTools.ProcessHelper.Run(Action`1 output, Action`1 errorOutput, TextReader input, String exe, String args, String workingDirectory, KeyValuePair`2[] environmentalVariables)
2017-01-06T01:09:58.2823449Z    在 GitTools.LibGitExtensions.DumpGraph(String workingDirectory, Action`1 writer, Nullable`1 maxCommits)
2017-01-06T01:09:58.2823449Z    在 GitVersion.Program.VerifyArgumentsAndRun()
2017-01-06T01:09:58.2823449Z WARN [01/06/17 9:09:58:25] The working directory 'D:\Program' does not exist.
2017-01-06T01:09:58.2823449Z INFO [01/06/17 9:09:58:25] IsDynamicGitRepository: False
2017-01-06T01:09:58.2823449Z ERROR [01/06/17 9:09:58:26] An unexpected error occurred:
2017-01-06T01:09:58.2823449Z System.IO.DirectoryNotFoundException: Can't find the .git directory in D:\Program
2017-01-06T01:09:58.2823449Z    在 GitVersion.GitPreparer.GetDotGitDirectory()
2017-01-06T01:09:58.2823449Z    在 GitVersion.GitPreparer.GetProjectRootDirectory()
2017-01-06T01:09:58.2823449Z    在 GitVersion.ConfigurationProvider.Verify(GitPreparer gitPreparer, IFileSystem fileSystem)
2017-01-06T01:09:58.2823449Z    在 GitVersion.Program.VerifyArgumentsAndRun()
2017-01-06T01:09:58.2823449Z INFO [01/06/17 9:09:58:26] 
2017-01-06T01:09:58.2823449Z INFO [01/06/17 9:09:58:26] Attempting to show the current git graph (please include in issue): 
2017-01-06T01:09:58.2823449Z INFO [01/06/17 9:09:58:26] Showing max of 100 commits
2017-01-06T01:09:58.2823449Z ERROR [01/06/17 9:09:58:28] Couldn't dump the git graph due to the following error: System.ComponentModel.Win32Exception (0x80004005): 目录名称无效。
2017-01-06T01:09:58.2823449Z    在 System.Diagnostics.Process.StartWithCreateProcess(ProcessStartInfo startInfo)
2017-01-06T01:09:58.2823449Z    在 System.Diagnostics.Process.Start(ProcessStartInfo startInfo)
2017-01-06T01:09:58.2823449Z    在 GitTools.ProcessHelper.Start(ProcessStartInfo startInfo)
2017-01-06T01:09:58.2823449Z    在 GitTools.ProcessHelper.Run(Action`1 output, Action`1 errorOutput, TextReader input, String exe, String args, String workingDirectory, KeyValuePair`2[] environmentalVariables)
2017-01-06T01:09:58.2823449Z    在 GitTools.LibGitExtensions.DumpGraph(String workingDirectory, Action`1 writer, Nullable`1 maxCommits)
2017-01-06T01:09:58.2823449Z    在 GitVersion.Program.VerifyArgumentsAndRun()
2017-01-06T01:09:58.3130836Z ##[error]从工具 GitVersion.exe 返回意外的退出代码 1

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