无法在TF_BUILD_BUILDNUMBER中找到版本号数据 [英] Could not find version number data in TF_BUILD_BUILDNUMBER

查看:128
本文介绍了无法在TF_BUILD_BUILDNUMBER中找到版本号数据的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


我正在使用
ApplyVersionToAssemblies.ps1重命名为PreBuildVersioning.ps1。
当我运行构建时,它立即失败,我在日志中收到以下消息。正如您所看到的,env变量有一个值,但由于这个原因,它无法在下一行找到它。
有人可以帮我理解发生了什么。脚本在构建服务器上运行。

I am running a build with the ApplyVersionToAssemblies.ps1 renamed to PreBuildVersioning.ps1. When i run the build it fails straight away and i get the following message in the log. As you can see the env variable has a value but for so reason it cannot find it on the next line. Can someone help me understand what's going on. The scripts run on the build server.

VERBOSE: TF_BUILD_BUILDNUMBER:CodeCoverageReleaseTest_1.1.0.1

推荐答案

保罗,  

感谢你的帖子。

你从这个
网站
?如果是,请在该站点的ISSUE选项卡下发布此错误作为问题,我在TFS 2013 Update 4版本中测试了此场景,并收到了相同的结果。

You download the ps1 file from this site? If yes, please post this error as an issue under the ISSUE tab in that site, I tested this scenario in my TFS 2013 Update 4 build, and received the same result.


这篇关于无法在TF_BUILD_BUILDNUMBER中找到版本号数据的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆