How to pass svn last commit author and comment to ant build script, invoked via Teamcity runner?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You can make use of
%system.build.vcs.number%and pass it as parameter to the ANT build file or read the environment variable set by TeamCity –%env.BUILD_VCS_NUMBER%( the environment variable to be read will beBUILD_VCS_NUMBER) in the build file.Use that along with the
%vcsroot.url%to get the author and the commit message ( you can choose different vcs roots using their names like%vcsroot.name.url%