开发者

Teamcity - Build Number - Pass into ant script

开发者 https://www.devze.com 2022-12-30 06:18 出处:网络
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

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

精彩评论

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

关注公众号