【发布时间】: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
【问题讨论】:
-
@Chisko 没有帮助我,我看到了这个答案,更新我的问题
-
您是否在您的案例中使用 XAML 构建,您的 tfs 版本是什么?