TeamCity plugin: support agent-side VCS checkout mode
Currently, the Plastic plugin for TeamCity (Continuous Integration) only supports server-side checkout mode.
This means the workspace resides on the server and after updating the workspace its contents are copied to the build agent(s). Thus, the agent does not have a complete workspace, only a copy, which means that Plastic commands can not be run in this copy on the agent.
More specifically, it is not possible to ask questions about the current changeset or workspace status on the agent. (Our build process assumes that the build is done inside a Plastic workspace.)
Could you please considere supporting the TeamCity "agent-side VCS checkout mode" as well?
Done in 5.4.16.712
-
Diego H. Bustamante commented
I just got the following error though - is this right?
[Updating sources] VCS Root: Plastic-Central-BuildTools
[22:14:20][VCS Root: Plastic-Central-BuildTools] checkout rules: teamcity/build_utils=>build-tools; revision: 29
[22:14:20][Updating sources] Failed to perform checkout on agent: Plastic SCM plugin does not currently support agent side path-mapping checkout rules. -
Göran Wallgren commented
In reply to "jhon" - Not sure if this will help your issue, but Plastic release 5.4.16.783 (Oct 07 2016) came with the following note (among others):
New - TeamCity plugin: Server-side workspaces are no longer required. This will improve 'checkout from VCS' step and changes detection performance.
-
jhon commented
Well,i got a problem on it. I have a internal vcs server on company which the agent can access only.
But when i create a build config,the tc will check on vcs url.I dont want the tc to check on it,because tc is on the outside of the internal network env,tc cant access the vcs server. Is there any way to skip the vcs check up on the tc server side?
-
Göran Wallgren commented
I guess this has been implemented in 5.4.16.712?!
"TeamCity plugin: Automatic checkout on agent is now supported."
-
Göran Wallgren commented
The two modes are explained here:
https://confluence.jetbrains.com/display/TCD9/VCS+Checkout+Mode