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}
精彩评论