How to pass TeamCity build number to NAnt script?
I would like to pass TeamCity's build number to my NAnt script. Do I just put "build.number" as part of the command line parameters, or does it need to be wrapped in special characters of any sort?
Please sign in to leave a comment.
Brian Baker wrote:
Read the BUILD_NUMBER environment variable
Thanks, I was able to get it working by using the environment variable.