【问题标题】:Unable to determine the workspace. You may be able to correct this by running无法确定工作区。您可以通过运行来纠正此问题
【发布时间】:2017-02-27 14:58:12
【问题描述】:

我尝试在我的 tfs 服务器中构建 apk 文件。当我运行构建时,5 分钟后 tfs 服务器告诉我我的 apk 文件已构建并且状态正常,文件夹中的字节不是 apk 文件,文件夹中只有我的日志。

 Run build_APK.bat
  F:\Android\projects\Mrdoc\TeamBuildTypes\mobile_v3R\\build_APK.bat "\\tfb\storage\mobile v3r_1.7\"
  Get last version in TFS Server...
  Unable to determine the workspace. You may be able to correct this by running 'tf workspaces /collection:TeamProjectCollectionUrl'.
  Enviroment initializing...
  The system cannot find the path specified.
  Assembling...
  Deploing path:"\\tfbd\storage\mobile v3r_1.7\"
  The command "F:\Android\projects\Mrdoc\TeamBuildTypes\EOSmobile_v3R\\build_APK.bat "\\tfb\storage\mobile v3r_1.7\"" exited with code 1.

我运行了命令 'tf workspaces /collection:TeamProjectCollectionUrl' 我看到了所有用户,但对我没有帮助。

 Overall Build Process

Get the Build

Update Build Number

Run On Agent Default Agent - test1

Get the Build Directory

If Not String.IsNullOrEmpty(ConfigurationFolderPath)

Run TfsBuild for Configuration Folder

Getting sources

Labeling sources

Generating list of changesets and updating work items

Выполнена сборка $/Doc/TeamBuildTypes/mobile_v3R/TFSBuild.proj для целевых объектов CompileConfiguration.

MSBuild Log File
If CompilationStatus = Unknown

Set CompilationStatus to Succeeded

If TestStatus = Unknown

Set TestStatus to Succeeded

【问题讨论】:

标签: android tfs


【解决方案1】:

首先,如果您的构建服务已向 网络服务 注册。尝试将其更改为具有足够构建权限的 Windows 用户。

此外,请确保您的构建计算机和运行构建代理的 Windows 帐户具有工作区映射

看看这个类似的问题:Team Build, fixing the "Unable to determine the workspace" error

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2017-06-17
    • 1970-01-01
    • 2020-09-09
    • 1970-01-01
    • 2012-12-24
    • 1970-01-01
    • 2014-04-17
    • 1970-01-01
    相关资源
    最近更新 更多