diegohb Posted September 13, 2012 Report Posted September 13, 2012 I am using TeamCity 7.1 build 23907. Codice TeamCity Plugin SNAPSHOT-201201241016. When I try to run a personal build specifying the changeset (cs37, previous) to run with, it deploys the current/latest changeset (cs43) instead even though TeamCity thinks/says it deployed cs37 with this build. TeamCity VCS Root Selector for this project is configured like this: repository "%mmg.project.name%@SERVER.DOMAIN.COM:8087" path "/" branch "/%mmg.project.branch%" checkout "/%mmg.project.branch%" Once TeamCity runs, I go to the build agent's work directory and find the following for the selector for the project it deployed: repository "MMG.GSK.SHIELD@SERVER.DOMAIN.COM:8087" path "/" branch "/main" checkout "/main" It seems like it's not altering the VCS Root directory to pull the right cs ... ?
manu Posted September 14, 2012 Report Posted September 14, 2012 Hello Diego, are you using Plastic scm 3 or 4?
diegohb Posted September 14, 2012 Author Report Posted September 14, 2012 Plastic SCM 4. but maybe i need to re-download and reinstall the TC plugin for plastic?
manu Posted September 17, 2012 Report Posted September 17, 2012 We have scheduled a task regarding the Team City plugin. We need to improve it and review missing features. Please keep tuned to the forum I'll post new information as soon as the new plugin is ready.
diegohb Posted September 17, 2012 Author Report Posted September 17, 2012 We have scheduled a task regarding the Team City plugin. We need to improve it and review missing features. Please keep tuned to the forum I'll post new information as soon as the new plugin is ready. Thanks for the update! Does this mean pscm plugin for teamcity is not able to pull a previous changeset instructed by TC?
manu Posted September 17, 2012 Report Posted September 17, 2012 I think that there's now way to give team city except this: repository "%mmg.project.name%@SERVER.DOMAIN.COM:8087" path "/" smartbranch "/%mmg.project.branch%" changeset "xxx" But this doesn't make sense since you need to, manually, modify the "xxx" value each time you want to make the build.
diegohb Posted September 17, 2012 Author Report Posted September 17, 2012 Will using smartbranch in my selector make a difference? In all examples of VCS root configurations for other source control plugins, I've never seen a mention to a particular changeset so I assume that the plugin implements a way to retrieve a particular changeset and that teamcity calls this method to pull a previous changeset. Is that right?
manu Posted September 17, 2012 Report Posted September 17, 2012 Yes, that's why I'm not sure if that specification is going to work. The smarbranch keyword is the same as the "branch + checkout" pair, the thing I wanted to try is the other "changeset" field.
diegohb Posted September 17, 2012 Author Report Posted September 17, 2012 Oh I see.. but like you said, specifying changeset param with variable XXX doesn't make since cause i'd have to specifcy that each build. I've just downloaded the latest plugin version and it just doesn't pull the earlier cset. current pscm plugin version: SNAPSHOT-201208301644
diegohb Posted September 17, 2012 Author Report Posted September 17, 2012 This is how i trigger the build with a custom build. The revisions shows: cs:334@rep:MMG.Forest.ConnectMe@repserver:SERVER.DOMAIN.COM:808 That doesn't look like a valid selector .. is it?
diegohb Posted September 18, 2012 Author Report Posted September 18, 2012 See TeamCity issue... http://youtrack.jetbrains.com/issue/TW-20802#comment=27-382254 related to this.
manu Posted September 19, 2012 Report Posted September 19, 2012 Hi Diego, as I said we need to test the scenario and perform several changes in the Team City plugin.
JakubH Posted October 5, 2012 Report Posted October 5, 2012 How is it going with the new plugin for TeamCity 7.1? May I vote somewhere or whatever to increase its priority?
manu Posted October 8, 2012 Report Posted October 8, 2012 If you want to, you can add the idea in the user voice system. "Full integration with Team City" will work. https://plasticscm.uservoice.com
JakubH Posted October 8, 2012 Report Posted October 8, 2012 So that means it has not been added to the roadmap yet, has it?
manu Posted October 8, 2012 Report Posted October 8, 2012 It's already in the roadmap but if we make more noise the priority will be higher...
JakubH Posted October 8, 2012 Report Posted October 8, 2012 Ok. I've added it as an idea: https://plasticscm.uservoice.com/forums/15467-general/suggestions/3240406-full-plasticscm-4-integration-to-teamcity-7-1 It would be really helpful for us. And we are not alone, I suppose.
JakubH Posted February 25, 2013 Report Posted February 25, 2013 Hey! You close my uservote suggestion, but it doesn't seem to be completed. When I want to see diff of a changed file in TeamCity, I get: Error getting file contents: The specified revision was not found That is a bug, isn't it? Should I open another uservote suggestion for it?
manu Posted February 25, 2013 Report Posted February 25, 2013 Hi! yes please, let's be more specific in order to track them better, thanks!
JakubH Posted February 25, 2013 Report Posted February 25, 2013 Ok. Here is my new suggestion: https://plasticscm.uservoice.com/forums/15467-general/suggestions/3690235-diffs-in-teamcity
Recommended Posts
Archived
This topic is now archived and is closed to further replies.