Build to Rev
We currently use SVN repositories. Is there (or plans to) include an option to build to a certain svn rev in the root? Right now I need to create a new branch and VCS root each time I want a specific build. Would really love to just say "Build to this revision" without needing to do those steps.
Please sign in to leave a comment.
Hi Art,
If you run a custom build (press on the ellipsis right next to the "Run" button), it should let you select from a changelist which changes should be built. Are you having any issue with this feature?
No, the problem is the change list only reflects times that teamcity has built (unless I am wrong and there is some other way to do it?). So for example, our svn is at rev 2000. 5 commits come in almost at the same time. The changelist will only show them as a whole since the build only runs every 1 minute. You do not get the resolution to select rev 2002.
It becomes even worse if you select to only build on command. You may only build every couple of days. The changelist only shows each time team city built, not the resolution of each svn rev.
For now its fine, I just create a new configuration tag the rev I want in svn and then change a parameter's value to be the tagged name and it builds to it. But would be nice to just keep a single configuration and run a custom build pointing to a svn rev instead of a changelog.
-Art
Hi Art,
I just tested in 2017.1.3 and run 2 different revisions at the same time, so only a single build. Both revisions show up in the custom build dialog. Are the revisions showing up separately in the "Changes" tab of the build configuration? Or are they combined? Which version are you running?
I am running 10.0.5. I just tried and it did show individual ones! I know I tried about a year or so ago and it did not. I just now got back around to configuring our teamcity to create deploys as well as our already in use continuous integration just used by developers to check our visual studio compile.
I guess when I added it a couple days ago I still saw it labeled as "Changes" and no entry for a svn revision as well as an empty list since I just created the configuration.
I was hoping for a way to just enter a svn number or select from all the svn log instead of only a list of changes seen since the configuration was created but at least it does look like it now shows each individual svn commit in the change list as long as the change occured after the configuration was created.
Thanks!
BTW I really like JetBrains products. Resharper, intelliJ, and teamcity are the ones I have/continue using.