Java – teamcity – build number – pass in ant script
•
Java
I want to pass the build number in teamcity as a parameter to the ant script Who knows the exact syntax for doing this?
Solution
The build number is passed as a system property at build time You can see the available predefined properties here In this case, you can refer to it as an attribute in ant, as follows:
${build.number}
The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
二维码