viceroypenguin Posted January 7, 2013 Report Share Posted January 7, 2013 As an interim until Plastic releases a new TeamCity plugin that is effective for branches and such, we are considering the use of Git as a medium for allowing TeamCity access to Plastic. That is to say, Plastic is our primary source control, we use Plastic hooks to automatically replicate changes to Git, and TeamCity picks up the changes from Git and builds as necessary. We downloaded and are using Plastic 22.214.171.1243 - Newcastle. This is the latest labs version, and it does have Git bi-sync. I am able to use the GUI to set a URL http://<server>:<port>/<project>.git with a username and password and the process syncs fine. I am now attempting to use the command line so I can automate the sync process. I have attempted to run 'cm sync <project>@<server>:<port> git' as well as 'cm sync <project>@<server>:<port> git --user=<user> --pwd=<password>'. In both cases, I get the following output: Receiving references ...Error: Exception of type 'Codice.Foreign.ForeignSCMInvalidCredentialsException' was thrown. I can use the exact same user/pass in the GUI, but the command line doesn't seem to like it. Is there something I'm missing regarding how to connect to the git server via Plastic? As additional info, both the Git server and the Plastic server are running on the same Windows box; the backend DB is SQL Server 2012; the Git server is GitStack (http://www.gitstack.com). Link to comment Share on other sites More sharing options...
This topic is now archived and is closed to further replies.