【发布时间】:2019-12-16 03:56:47
【问题描述】:
我有一个迁移到 vNext 构建的 XAML 构建。 一个步骤是批量执行。
此批处理修改版本文件并在 TVFC 中检查更改。
在 XAML 中构建就像一个魅力。同一批给我看这个日志:
2019-08-07T18:10:07.7390807Z Current version: 2.0.13.17
2019-08-07T18:10:07.7546806Z C:\agent1\_work\1\s\Version.INI
2019-08-07T18:10:07.7546806Z 1 File(s) copied
2019-08-07T18:10:08.4098764Z TF14067: The item \agent1\_work\1\s\Version.ini could not be found in the ws_1_85;Project Collection Build Service workspace, or you do not have permission to access it.
2019-08-07T18:10:08.7374743Z There are no pending changes matching the specified items.
2019-08-07T18:10:08.7530742Z No files checked in.
似乎没有文件更改。我检查了 Version.ini 文件是否已成功修改。 这里是.bat:
\\VersionUpdater\VersionUpdater.exe /UPDATE VERSIONPATH="%~dp0Version.ini" SOLUTIONFOLDER="%~dp0Develop"
xcopy "%~dp0Version.ini" "%~dp0actualversion\" /Y
call %~dp0tf.bat checkout "%~dp0Version.ini"
set /p Version=<"%~dp0Version.ini"
\\VersionUpdater\VersionUpdater.exe /INCREMENT VERSIONPATH="%~dp0Version.ini"
call %~dp0tf.bat checkin "%~dp0Version.ini" /noprompt /comment:"Version upgrade %Version%"
【问题讨论】:
标签: tfs build tfsbuild tfs-2015 tfvc