开发者

Teamcity - Build Number - Pass into ant script

I want to pass the build number from Teamcity into an ant script as 开发者_JS百科a parameter. Does anyone know the exact syntax for doing this?


The build number is passed as a system property at build time. You can see the predefined properties available here. In this case you would reference it in ant as a property like so:

 ${build.number}
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜