How to get commit content from a change of any VCS?

Answered

I want to get commit content from change of Git, SVN repo.
Whenever I run a build, I can see commit content of changes from Changes tab. So I think Teamcity supports to take it into a variable.

I use Ant script to make build configs. Please help me! Thanks

1 comment
Comment actions Permalink

Hi,

 

What are you trying to accomplish with access to the changelist mid build? What kind of information exactly do you need? TeamCity has the system.teamcity.build.changedFiles.file passed as a file with the files that have been changed in the changes that have been applied into the specific build, but if you provide further info we might be able to give you a more accurate suggestion.

0

Please sign in to leave a comment.