How to get all the VCS root info in a buildscript
Hey,
As part of my build, I would like my buildscript to write to a file exactly which revision from which vcs root was used to create this build. Like:
VCSROOT: Trunk TYPE:Git URL: git://github.com/lucasmeijer/someproject.git CHANGE:ea0b89345bedaa9802342323
VCSROOT: Documentation TYPE: SVN URL: svn://lucasmeijer.com/docs/stable CHANGE: r234223
Is there a way I can achieve this?
(Please note the builds I want to do this for have multiple vcs roots)
Thanks, Lucas
Please sign in to leave a comment.
Hello and sorry for delay.
If you want to make this automatically for each build, this can only be done with help of custom plugin. If you need this in one particular build only, you can use build.vcs.number.* parameters: http://confluence.jetbrains.net/display/TCD5/Predefined+Properties