Jump to content

Search the Community

Showing results for tags 'teamcity'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Plastic SCM
    • General
    • Installation and configuration
    • Unity 3D
    • Plastic SCM on Mac
    • Plastic SCM on Linux
    • Gluon
    • Git interop
    • Integrations
    • Community Edition
    • Branching and merging
    • Announcements
  • Plastic SCM 4.0 Beta (Closed)
  • Plastic Cloud
    • General
    • Configuration
  • SemanticMerge
    • General
    • License
    • SCM's configuration
    • Share your experience!
    • External Parsers
  • GitJungle
  • Method History for Subversion

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


AIM


MSN


Website URL


ICQ


Yahoo


Jabber


Skype


Location


Interests

Found 22 results

  1. Hello, I could not find the plugin link for TeamCity https://plugins.jetbrains.com/plugin/8889-plastic-scm
  2. Hola! Acabo de migrar todos mis repos a PlasticSCM Cloud y al ir a cambiar la configuración en TeamCity obtengo este error: He copiado el fichero client.conf desde mi equipo (donde todo funciona bien) a la carpeta /opt/plastic5/client pero sigue saliendo este error. Tambien he actualizado el plugin a la ultima versión. Además, en la maquina donde esta TeamCity he actualizado el cliente de Plastic. ¿Me podeis orientar, por favor? Gracias!
  3. Hi, I'm setting up a TeamCity by using Plastic Cloud, and I'm getting the following error: Failed for the root '"default" {instance id=1, parent internal id=1, parent id=DefaultVCSRoot, description: "PlasticSCM: br:/main@reponame@organization@cloud"}: Unable to retrieve the current repository state in root default: The LDAP token expired. User: name@domain.com. CommandResult 1 Hide stacktrace jetbrains.buildServer.vcs.VcsRootVcsException: Unable to retrieve the current repository state in root default: The LDAP token expired. User: name@domain.com. CommandResult 1 I did the usual approach: Created AWS instance Installed Windows Server 2019 Installed TeamCity 2020.1 Installed the full Plastic version with local server included Created connection profile for cloud Copied client.conf to Plastic Client installation path under Program Files. Added Plastic plugin to TeamCity Created VCS Root and tested that connection works It looked like all should be good to go, but after a moment I was getting that error on TC project view. I have previously only set TeamCity for enterprise accounts and dedicated servers, so my approach might be completely wrong here. Does this ring a bell for anyone over here? And is there some good guides on how to setup TeamCity with Plastic Cloud? Here is the full stack trace as well, with user account replaced with name@domain.com: at jetbrains.buildServer.vcs.impl.VcsChangesStatesCollector.createRootException(VcsChangesStatesCollector.java:119) at jetbrains.buildServer.vcs.impl.VcsChangesStatesCollector.getCurrentState(VcsChangesStatesCollector.java:10) at jetbrains.buildServer.vcs.impl.VcsChangesStatesCollector.lambda$null$1(VcsChangesStatesCollector.java:88) at jetbrains.buildServer.util.NamedThreadFactory.executeWithNewThreadName(NamedThreadFactory.java:75) at jetbrains.buildServer.vcs.impl.VcsChangesStatesCollector.lambda$getCollectStatesTasks$2(VcsChangesStatesCollector.java:107) at jetbrains.buildServer.vcs.impl.ImmediateFutureExecService$2.call(ImmediateFutureExecService.java:5) at jetbrains.buildServer.serverSide.impl.ImmediateFuture.get(ImmediateFuture.java:59) at jetbrains.buildServer.serverSide.impl.ImmediateFuture.get(ImmediateFuture.java:68) at jetbrains.buildServer.vcs.impl.VcsChangesStatesCollector.collectStatesForAllRoots(VcsChangesStatesCollector.java:9) at jetbrains.buildServer.vcs.impl.VcsChangesStatesCollector.getCurrentStateSnapshot(VcsChangesStatesCollector.java:64) at jetbrains.buildServer.vcs.impl.VcsChangesFetcher.getStateAndCreateChangesCollectingTasks(VcsChangesFetcher.java:6) at jetbrains.buildServer.vcs.impl.VcsChangesLoader.doLoadChanges(VcsChangesLoader.java:26) at jetbrains.buildServer.vcs.impl.VcsChangesLoader.tryLoadChanges(VcsChangesLoader.java:35) at jetbrains.buildServer.serverSide.impl.VcsModificationChecker$CollectChangesAction$1.run(VcsModificationChecker.java:29) at jetbrains.buildServer.util.NamedThreadFactory.executeWithNewThreadName(NamedThreadFactory.java:75) at jetbrains.buildServer.serverSide.impl.VcsModificationChecker$CollectChangesAction.run(VcsModificationChecker.java:2) at java.base/java.util.concurrent.CompletableFuture$AsyncRun.run(CompletableFuture.java:1736) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) at java.base/java.lang.Thread.run(Thread.java:834) Caused by: jetbrains.buildServer.vcs.VcsException: Unable to retrieve the current repository state in root default: The LDAP token expired. User: name@domain.com CommandResult 1 at com.codicesoftware.plugins.teamcity.PlasticCollectChangesPolicy.getCurrentState(PlasticCollectChangesPolicy.java:57) at jetbrains.vcs.api.services.impl.RepositoryStateServiceProvider$1.getCurrentState(RepositoryStateServiceProvider.java:7) at jetbrains.buildServer.vcs.impl.VcsRootInstanceImpl.lambda$getCurrentState$0(VcsRootInstanceImpl.java:38) at jetbrains.buildServer.serverSide.impl.BaseAccessChecker.runWithDisabledChecks(BaseAccessChecker.java:30) at jetbrains.buildServer.serverSide.impl.SecondaryNodeSecurityManager.executeSafe(SecondaryNodeSecurityManager.java:20) at jetbrains.buildServer.serverSide.IOGuardInitializer$IOGuardDelegateImpl.allowNetworkAndCommandLine(IOGuardInitializer.java:11) at jetbrains.buildServer.serverSide.IOGuard.allowNetworkAndCommandLine(IOGuard.java:117) at jetbrains.buildServer.vcs.impl.VcsRootInstanceImpl.getCurrentState(VcsRootInstanceImpl.java:170) at jetbrains.buildServer.vcs.impl.VcsChangesStatesCollector$CurrentStateOperation.call(VcsChangesStatesCollector.java:1) at jetbrains.buildServer.vcs.impl.VcsChangesStatesCollector$CurrentStateOperation.call(VcsChangesStatesCollector.java:2) at jetbrains.buildServer.vcs.VcsOperationProgressProviderImpl.runWithProgress(VcsOperationProgressProviderImpl.java:27) at jetbrains.buildServer.vcs.impl.VcsChangesStatesCollector.getCurrentState(VcsChangesStatesCollector.java:63) ... 18 more Caused by: com.codicesoftware.plastic.core.PlasticConnectionException: The LDAP token expired. User: devops@returnentertainment.com. CommandResult 1 at com.codicesoftware.plastic.core.PlasticEphemeralShell.checkConnection(Unknown Source) at com.codicesoftware.plastic.core.PlasticEphemeralShell.prepareCommand(Unknown Source) at com.codicesoftware.plastic.core.PlasticEphemeralShell.execute(Unknown Source) at com.codicesoftware.plastic.core.PlasticShell.execute(Unknown Source) at com.codicesoftware.plastic.query.QueryCommands.ExecuteQuery(Unknown Source) at com.codicesoftware.plastic.query.QueryCommands.executeBranchQuery(Unknown Source) at com.codicesoftware.plastic.query.QueryCommands.GetBranches(Unknown Source) at com.codicesoftware.plugins.teamcity.cmcommands.CmCommandsImpl.getBranches(CmCommandsImpl.java:125) at com.codicesoftware.plugins.teamcity.branchfiltering.PlasticBranch.getOpenBranches(PlasticBranch.java:25) at com.codicesoftware.plugins.teamcity.PlasticCollectChangesPolicy.getCurrentState(PlasticCollectChangesPolicy.java:44) ... 29 more jetbrains.buildServer.vcs.VcsException: Unable to retrieve the current repository state in root default: The LDAP token expired. User: name@domain.com. CommandResult 1 at com.codicesoftware.plugins.teamcity.PlasticCollectChangesPolicy.getCurrentState(PlasticCollectChangesPolicy.java:57) at jetbrains.vcs.api.services.impl.RepositoryStateServiceProvider$1.getCurrentState(RepositoryStateServiceProvider.java:7) at jetbrains.buildServer.vcs.impl.VcsRootInstanceImpl.lambda$getCurrentState$0(VcsRootInstanceImpl.java:38) at jetbrains.buildServer.serverSide.impl.BaseAccessChecker.runWithDisabledChecks(BaseAccessChecker.java:30) at jetbrains.buildServer.serverSide.impl.SecondaryNodeSecurityManager.executeSafe(SecondaryNodeSecurityManager.java:20) at jetbrains.buildServer.serverSide.IOGuardInitializer$IOGuardDelegateImpl.allowNetworkAndCommandLine(IOGuardInitializer.java:11) at jetbrains.buildServer.serverSide.IOGuard.allowNetworkAndCommandLine(IOGuard.java:117) at jetbrains.buildServer.vcs.impl.VcsRootInstanceImpl.getCurrentState(VcsRootInstanceImpl.java:170) at jetbrains.buildServer.vcs.impl.VcsChangesStatesCollector$CurrentStateOperation.call(VcsChangesStatesCollector.java:1) at jetbrains.buildServer.vcs.impl.VcsChangesStatesCollector$CurrentStateOperation.call(VcsChangesStatesCollector.java:2) at jetbrains.buildServer.vcs.VcsOperationProgressProviderImpl.runWithProgress(VcsOperationProgressProviderImpl.java:27) at jetbrains.buildServer.vcs.impl.VcsChangesStatesCollector.getCurrentState(VcsChangesStatesCollector.java:63) at jetbrains.buildServer.vcs.impl.VcsChangesStatesCollector.lambda$null$1(VcsChangesStatesCollector.java:88) at jetbrains.buildServer.util.NamedThreadFactory.executeWithNewThreadName(NamedThreadFactory.java:75) at jetbrains.buildServer.vcs.impl.VcsChangesStatesCollector.lambda$getCollectStatesTasks$2(VcsChangesStatesCollector.java:107) at jetbrains.buildServer.vcs.impl.ImmediateFutureExecService$2.call(ImmediateFutureExecService.java:5) at jetbrains.buildServer.serverSide.impl.ImmediateFuture.get(ImmediateFuture.java:59) at jetbrains.buildServer.serverSide.impl.ImmediateFuture.get(ImmediateFuture.java:68) at jetbrains.buildServer.vcs.impl.VcsChangesStatesCollector.collectStatesForAllRoots(VcsChangesStatesCollector.java:9) at jetbrains.buildServer.vcs.impl.VcsChangesStatesCollector.getCurrentStateSnapshot(VcsChangesStatesCollector.java:64) at jetbrains.buildServer.vcs.impl.VcsChangesFetcher.getStateAndCreateChangesCollectingTasks(VcsChangesFetcher.java:6) at jetbrains.buildServer.vcs.impl.VcsChangesLoader.doLoadChanges(VcsChangesLoader.java:26) at jetbrains.buildServer.vcs.impl.VcsChangesLoader.tryLoadChanges(VcsChangesLoader.java:35) at jetbrains.buildServer.serverSide.impl.VcsModificationChecker$CollectChangesAction$1.run(VcsModificationChecker.java:29) at jetbrains.buildServer.util.NamedThreadFactory.executeWithNewThreadName(NamedThreadFactory.java:75) at jetbrains.buildServer.serverSide.impl.VcsModificationChecker$CollectChangesAction.run(VcsModificationChecker.java:2) at java.base/java.util.concurrent.CompletableFuture$AsyncRun.run(CompletableFuture.java:1736) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) at java.base/java.lang.Thread.run(Thread.java:834) Caused by: com.codicesoftware.plastic.core.PlasticConnectionException: The LDAP token expired. User: name@domain.com. CommandResult 1 at com.codicesoftware.plastic.core.PlasticEphemeralShell.checkConnection(Unknown Source) at com.codicesoftware.plastic.core.PlasticEphemeralShell.prepareCommand(Unknown Source) at com.codicesoftware.plastic.core.PlasticEphemeralShell.execute(Unknown Source) at com.codicesoftware.plastic.core.PlasticShell.execute(Unknown Source) at com.codicesoftware.plastic.query.QueryCommands.ExecuteQuery(Unknown Source) at com.codicesoftware.plastic.query.QueryCommands.executeBranchQuery(Unknown Source) at com.codicesoftware.plastic.query.QueryCommands.GetBranches(Unknown Source) at com.codicesoftware.plugins.teamcity.cmcommands.CmCommandsImpl.getBranches(CmCommandsImpl.java:125) at com.codicesoftware.plugins.teamcity.branchfiltering.PlasticBranch.getOpenBranches(PlasticBranch.java:25) at com.codicesoftware.plugins.teamcity.PlasticCollectChangesPolicy.getCurrentState(PlasticCollectChangesPolicy.java:44) ... 29 more com.codicesoftware.plastic.core.PlasticConnectionException: The LDAP token expired. User: name@domain.com. CommandResult 1 at com.codicesoftware.plastic.core.PlasticEphemeralShell.checkConnection(Unknown Source) at com.codicesoftware.plastic.core.PlasticEphemeralShell.prepareCommand(Unknown Source) at com.codicesoftware.plastic.core.PlasticEphemeralShell.execute(Unknown Source) at com.codicesoftware.plastic.core.PlasticShell.execute(Unknown Source) at com.codicesoftware.plastic.query.QueryCommands.ExecuteQuery(Unknown Source) at com.codicesoftware.plastic.query.QueryCommands.executeBranchQuery(Unknown Source) at com.codicesoftware.plastic.query.QueryCommands.GetBranches(Unknown Source) at com.codicesoftware.plugins.teamcity.cmcommands.CmCommandsImpl.getBranches(CmCommandsImpl.java:125) at com.codicesoftware.plugins.teamcity.branchfiltering.PlasticBranch.getOpenBranches(PlasticBranch.java:25) at com.codicesoftware.plugins.teamcity.PlasticCollectChangesPolicy.getCurrentState(PlasticCollectChangesPolicy.java:44) at jetbrains.vcs.api.services.impl.RepositoryStateServiceProvider$1.getCurrentState(RepositoryStateServiceProvider.java:7) at jetbrains.buildServer.vcs.impl.VcsRootInstanceImpl.lambda$getCurrentState$0(VcsRootInstanceImpl.java:38) at jetbrains.buildServer.serverSide.impl.BaseAccessChecker.runWithDisabledChecks(BaseAccessChecker.java:30) at jetbrains.buildServer.serverSide.impl.SecondaryNodeSecurityManager.executeSafe(SecondaryNodeSecurityManager.java:20) at jetbrains.buildServer.serverSide.IOGuardInitializer$IOGuardDelegateImpl.allowNetworkAndCommandLine(IOGuardInitializer.java:11) at jetbrains.buildServer.serverSide.IOGuard.allowNetworkAndCommandLine(IOGuard.java:117) at jetbrains.buildServer.vcs.impl.VcsRootInstanceImpl.getCurrentState(VcsRootInstanceImpl.java:170) at jetbrains.buildServer.vcs.impl.VcsChangesStatesCollector$CurrentStateOperation.call(VcsChangesStatesCollector.java:1) at jetbrains.buildServer.vcs.impl.VcsChangesStatesCollector$CurrentStateOperation.call(VcsChangesStatesCollector.java:2) at jetbrains.buildServer.vcs.VcsOperationProgressProviderImpl.runWithProgress(VcsOperationProgressProviderImpl.java:27) at jetbrains.buildServer.vcs.impl.VcsChangesStatesCollector.getCurrentState(VcsChangesStatesCollector.java:63) at jetbrains.buildServer.vcs.impl.VcsChangesStatesCollector.lambda$null$1(VcsChangesStatesCollector.java:88) at jetbrains.buildServer.util.NamedThreadFactory.executeWithNewThreadName(NamedThreadFactory.java:75) at jetbrains.buildServer.vcs.impl.VcsChangesStatesCollector.lambda$getCollectStatesTasks$2(VcsChangesStatesCollector.java:107) at jetbrains.buildServer.vcs.impl.ImmediateFutureExecService$2.call(ImmediateFutureExecService.java:5) at jetbrains.buildServer.serverSide.impl.ImmediateFuture.get(ImmediateFuture.java:59) at jetbrains.buildServer.serverSide.impl.ImmediateFuture.get(ImmediateFuture.java:68) at jetbrains.buildServer.vcs.impl.VcsChangesStatesCollector.collectStatesForAllRoots(VcsChangesStatesCollector.java:9) at jetbrains.buildServer.vcs.impl.VcsChangesStatesCollector.getCurrentStateSnapshot(VcsChangesStatesCollector.java:64) at jetbrains.buildServer.vcs.impl.VcsChangesFetcher.getStateAndCreateChangesCollectingTasks(VcsChangesFetcher.java:6) at jetbrains.buildServer.vcs.impl.VcsChangesLoader.doLoadChanges(VcsChangesLoader.java:26) at jetbrains.buildServer.vcs.impl.VcsChangesLoader.tryLoadChanges(VcsChangesLoader.java:35) at jetbrains.buildServer.serverSide.impl.VcsModificationChecker$CollectChangesAction$1.run(VcsModificationChecker.java:29) at jetbrains.buildServer.util.NamedThreadFactory.executeWithNewThreadName(NamedThreadFactory.java:75) at jetbrains.buildServer.serverSide.impl.VcsModificationChecker$CollectChangesAction.run(VcsModificationChecker.java:2) at java.base/java.util.concurrent.CompletableFuture$AsyncRun.run(CompletableFuture.java:1736) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) at java.base/java.lang.Thread.run(Thread.java:834)
  4. Hello, last week we reinstalled our plastic scm server, and now i'm trying to get our teamcity build working again. I have adjusted our VCS root and when i Test the connection i get a the message "Connection successful!". When we build our project we have a build step who checks in our changes. There we get the message "Invalid password. Review your user/password configuration." . Any idea's why and how we can fix this problem. We haven't changed anything on the build steps, just copied the client.config to the teamserver folder like mentioned in http://stackoverflow.com/questions/8880356/user-configuration-for-teamcity-and-plastic-scm The client config is from a local user who has an agent running on his machine. Team city is installed on a server who uses the agent on the local machine. Best regards
  5. Hi there, Is it possible to use the VCS trigger to start a build on discovery of a label added to the repository? I don't see the 'Enable to use tags in the branch specification' option that's available with a GIT VCS so I presume it isn't. However I didn't want to go off and write some custom code to look for the label and kick a build if the support exists within the Plastic Teamcity plugin. Chris.
  6. Hi, after upgrading to newest teamcity plastic plugin I noticed that plugin does not work. I get following error when trying to build project: Before update the plugin was working correctly. Error collecting changes for VCS repository '...' Error getting diff info of 1039: Error: Input string was not in a correct format. Hide stacktrace jetbrains.buildServer.vcs.VcsRootVcsException: Error collecting changes for VCS repository '..." {instance id=193, parent internal id=19, parent id=XConnect_XConnectPlasticSCM1, description: "PlasticSCM: ..."}' Error getting diff info of 1039: Error: Input string was not in a correct format. at jetbrains.buildServer.buildTriggers.vcs.ConnectionStateReporterImpl.reportConnectionFailed(ConnectionStateReporterImpl.java:28) at jetbrains.buildServer.buildTriggers.vcs.ConnectionStateReporterImpl.reportConnectionFailed(ConnectionStateReporterImpl.java:5) at jetbrains.buildServer.buildTriggers.vcs.VcsRootChangesLoader$RunLoadChanges.run(VcsRootChangesLoader.java:29) at jetbrains.buildServer.util.NamedThreadFactory.executeWithNewThreadName(NamedThreadFactory.java:74) at jetbrains.buildServer.buildTriggers.vcs.VcsRootChangesLoader.loadChanges(VcsRootChangesLoader.java:119) at jetbrains.buildServer.vcs.impl.VcsChangesFetcher$LoadChangesForRoot.run(VcsChangesFetcher.java:2) at jetbrains.buildServer.vcs.impl.VcsChangesLoaderImpl$ImmediateFutureExecService$1.call(VcsChangesLoaderImpl.java:3) at jetbrains.buildServer.serverSide.impl.ImmediateFuture.get(ImmediateFuture.java:59) at jetbrains.buildServer.serverSide.impl.ImmediateFuture.get(ImmediateFuture.java:68) at jetbrains.buildServer.vcs.impl.VcsChangesSyncFetcher.waitForTasksToComplete(VcsChangesSyncFetcher.java:16) at jetbrains.buildServer.vcs.impl.VcsChangesSyncFetcher.doLoadChanges(VcsChangesSyncFetcher.java:12) at jetbrains.buildServer.vcs.impl.VcsChangesSyncFetcher.tryLoadChanges(VcsChangesSyncFetcher.java:17) at jetbrains.buildServer.vcs.impl.VcsChangesLoaderImpl.tryLoadChanges(VcsChangesLoaderImpl.java:1) at jetbrains.buildServer.serverSide.impl.VcsModificationChecker$CollectChangesAction$1.run(VcsModificationChecker.java:12) at jetbrains.buildServer.util.NamedThreadFactory.executeWithNewThreadName(NamedThreadFactory.java:74) at jetbrains.buildServer.serverSide.impl.VcsModificationChecker$CollectChangesAction.run(VcsModificationChecker.java:1) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745) Caused by: jetbrains.buildServer.vcs.VcsException: Error getting diff info of 1039: Error: Input string was not in a correct format. at com.codicesoftware.plugins.teamcity.PlasticCollectChangesPolicy.buildModificationData(PlasticCollectChangesPolicy.java:172) at com.codicesoftware.plugins.teamcity.PlasticCollectChangesPolicy.getDifferencesBetweenVersions(PlasticCollectChangesPolicy.java:104) at com.codicesoftware.plugins.teamcity.PlasticCollectChangesPolicy.collectChanges(PlasticCollectChangesPolicy.java:61) at jetbrains.vcs.api.services.collectChanges.CollectRepositoryChangesPolicyFactory$3.collectChanges(CollectRepositoryChangesPolicyFactory.java:2) at jetbrains.vcs.api.services.collectChanges.CollectChangesServiceProvider$1.collectChanges(CollectChangesServiceProvider.java:7) at jetbrains.buildServer.buildTriggers.vcs.LoadChanges$CollectChangesForCheckoutRules.call(LoadChanges.java:13) at jetbrains.buildServer.buildTriggers.vcs.LoadChanges$CollectChangesForCheckoutRules.call(LoadChanges.java:4) at jetbrains.buildServer.vcs.VcsOperationProgressProviderImpl.runWithProgress(VcsOperationProgressProviderImpl.java:27) at jetbrains.buildServer.buildTriggers.vcs.LoadChanges.collectChangesWithProgress(LoadChanges.java:59) at jetbrains.buildServer.buildTriggers.vcs.LoadChanges.collectChangesForCheckoutRules(LoadChanges.java:6) at jetbrains.buildServer.buildTriggers.vcs.LoadChanges.collectChangesByCombinedRule(LoadChanges.java:36) at jetbrains.buildServer.buildTriggers.vcs.LoadChanges.collectChanges(LoadChanges.java:7) at jetbrains.buildServer.buildTriggers.vcs.VcsRootChangesLoader$RunLoadChanges.run(VcsRootChangesLoader.java:6) ... 18 more Caused by: com.codicesoftware.plastic.core.PlasticException: Error: Input string was not in a correct format. at com.codicesoftware.plastic.core.PlasticShell.execute(Unknown Source) at com.codicesoftware.plastic.commands.DiffCommand.execute(Unknown Source) at com.codicesoftware.plugins.teamcity.PlasticCollectChangesPolicy.buildModificationData(PlasticCollectChangesPolicy.java:165) ... 30 more jetbrains.buildServer.vcs.VcsException: Error getting diff info of 1039: Error: Input string was not in a correct format. at com.codicesoftware.plugins.teamcity.PlasticCollectChangesPolicy.buildModificationData(PlasticCollectChangesPolicy.java:172) at com.codicesoftware.plugins.teamcity.PlasticCollectChangesPolicy.getDifferencesBetweenVersions(PlasticCollectChangesPolicy.java:104) at com.codicesoftware.plugins.teamcity.PlasticCollectChangesPolicy.collectChanges(PlasticCollectChangesPolicy.java:61) at jetbrains.vcs.api.services.collectChanges.CollectRepositoryChangesPolicyFactory$3.collectChanges(CollectRepositoryChangesPolicyFactory.java:2) at jetbrains.vcs.api.services.collectChanges.CollectChangesServiceProvider$1.collectChanges(CollectChangesServiceProvider.java:7) at jetbrains.buildServer.buildTriggers.vcs.LoadChanges$CollectChangesForCheckoutRules.call(LoadChanges.java:13) at jetbrains.buildServer.buildTriggers.vcs.LoadChanges$CollectChangesForCheckoutRules.call(LoadChanges.java:4) at jetbrains.buildServer.vcs.VcsOperationProgressProviderImpl.runWithProgress(VcsOperationProgressProviderImpl.java:27) at jetbrains.buildServer.buildTriggers.vcs.LoadChanges.collectChangesWithProgress(LoadChanges.java:59) at jetbrains.buildServer.buildTriggers.vcs.LoadChanges.collectChangesForCheckoutRules(LoadChanges.java:6) at jetbrains.buildServer.buildTriggers.vcs.LoadChanges.collectChangesByCombinedRule(LoadChanges.java:36) at jetbrains.buildServer.buildTriggers.vcs.LoadChanges.collectChanges(LoadChanges.java:7) at jetbrains.buildServer.buildTriggers.vcs.VcsRootChangesLoader$RunLoadChanges.run(VcsRootChangesLoader.java:6) at jetbrains.buildServer.util.NamedThreadFactory.executeWithNewThreadName(NamedThreadFactory.java:74) at jetbrains.buildServer.buildTriggers.vcs.VcsRootChangesLoader.loadChanges(VcsRootChangesLoader.java:119) at jetbrains.buildServer.vcs.impl.VcsChangesFetcher$LoadChangesForRoot.run(VcsChangesFetcher.java:2) at jetbrains.buildServer.vcs.impl.VcsChangesLoaderImpl$ImmediateFutureExecService$1.call(VcsChangesLoaderImpl.java:3) at jetbrains.buildServer.serverSide.impl.ImmediateFuture.get(ImmediateFuture.java:59) at jetbrains.buildServer.serverSide.impl.ImmediateFuture.get(ImmediateFuture.java:68) at jetbrains.buildServer.vcs.impl.VcsChangesSyncFetcher.waitForTasksToComplete(VcsChangesSyncFetcher.java:16) at jetbrains.buildServer.vcs.impl.VcsChangesSyncFetcher.doLoadChanges(VcsChangesSyncFetcher.java:12) at jetbrains.buildServer.vcs.impl.VcsChangesSyncFetcher.tryLoadChanges(VcsChangesSyncFetcher.java:17) at jetbrains.buildServer.vcs.impl.VcsChangesLoaderImpl.tryLoadChanges(VcsChangesLoaderImpl.java:1) at jetbrains.buildServer.serverSide.impl.VcsModificationChecker$CollectChangesAction$1.run(VcsModificationChecker.java:12) at jetbrains.buildServer.util.NamedThreadFactory.executeWithNewThreadName(NamedThreadFactory.java:74) at jetbrains.buildServer.serverSide.impl.VcsModificationChecker$CollectChangesAction.run(VcsModificationChecker.java:1) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745) Caused by: com.codicesoftware.plastic.core.PlasticException: Error: Input string was not in a correct format. at com.codicesoftware.plastic.core.PlasticShell.execute(Unknown Source) at com.codicesoftware.plastic.commands.DiffCommand.execute(Unknown Source) at com.codicesoftware.plugins.teamcity.PlasticCollectChangesPolicy.buildModificationData(PlasticCollectChangesPolicy.java:165) ... 30 more com.codicesoftware.plastic.core.PlasticException: Error: Input string was not in a correct format. at com.codicesoftware.plastic.core.PlasticShell.execute(Unknown Source) at com.codicesoftware.plastic.commands.DiffCommand.execute(Unknown Source) at com.codicesoftware.plugins.teamcity.PlasticCollectChangesPolicy.buildModificationData(PlasticCollectChangesPolicy.java:165) at com.codicesoftware.plugins.teamcity.PlasticCollectChangesPolicy.getDifferencesBetweenVersions(PlasticCollectChangesPolicy.java:104) at com.codicesoftware.plugins.teamcity.PlasticCollectChangesPolicy.collectChanges(PlasticCollectChangesPolicy.java:61) at jetbrains.vcs.api.services.collectChanges.CollectRepositoryChangesPolicyFactory$3.collectChanges(CollectRepositoryChangesPolicyFactory.java:2) at jetbrains.vcs.api.services.collectChanges.CollectChangesServiceProvider$1.collectChanges(CollectChangesServiceProvider.java:7) at jetbrains.buildServer.buildTriggers.vcs.LoadChanges$CollectChangesForCheckoutRules.call(LoadChanges.java:13) at jetbrains.buildServer.buildTriggers.vcs.LoadChanges$CollectChangesForCheckoutRules.call(LoadChanges.java:4) at jetbrains.buildServer.vcs.VcsOperationProgressProviderImpl.runWithProgress(VcsOperationProgressProviderImpl.java:27) at jetbrains.buildServer.buildTriggers.vcs.LoadChanges.collectChangesWithProgress(LoadChanges.java:59) at jetbrains.buildServer.buildTriggers.vcs.LoadChanges.collectChangesForCheckoutRules(LoadChanges.java:6) at jetbrains.buildServer.buildTriggers.vcs.LoadChanges.collectChangesByCombinedRule(LoadChanges.java:36) at jetbrains.buildServer.buildTriggers.vcs.LoadChanges.collectChanges(LoadChanges.java:7) at jetbrains.buildServer.buildTriggers.vcs.VcsRootChangesLoader$RunLoadChanges.run(VcsRootChangesLoader.java:6) at jetbrains.buildServer.util.NamedThreadFactory.executeWithNewThreadName(NamedThreadFactory.java:74) at jetbrains.buildServer.buildTriggers.vcs.VcsRootChangesLoader.loadChanges(VcsRootChangesLoader.java:119) at jetbrains.buildServer.vcs.impl.VcsChangesFetcher$LoadChangesForRoot.run(VcsChangesFetcher.java:2) at jetbrains.buildServer.vcs.impl.VcsChangesLoaderImpl$ImmediateFutureExecService$1.call(VcsChangesLoaderImpl.java:3) at jetbrains.buildServer.serverSide.impl.ImmediateFuture.get(ImmediateFuture.java:59) at jetbrains.buildServer.serverSide.impl.ImmediateFuture.get(ImmediateFuture.java:68) at jetbrains.buildServer.vcs.impl.VcsChangesSyncFetcher.waitForTasksToComplete(VcsChangesSyncFetcher.java:16) at jetbrains.buildServer.vcs.impl.VcsChangesSyncFetcher.doLoadChanges(VcsChangesSyncFetcher.java:12) at jetbrains.buildServer.vcs.impl.VcsChangesSyncFetcher.tryLoadChanges(VcsChangesSyncFetcher.java:17) at jetbrains.buildServer.vcs.impl.VcsChangesLoaderImpl.tryLoadChanges(VcsChangesLoaderImpl.java:1) at jetbrains.buildServer.serverSide.impl.VcsModificationChecker$CollectChangesAction$1.run(VcsModificationChecker.java:12) at jetbrains.buildServer.util.NamedThreadFactory.executeWithNewThreadName(NamedThreadFactory.java:74) at jetbrains.buildServer.serverSide.impl.VcsModificationChecker$CollectChangesAction.run(VcsModificationChecker.java:1) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745)
  7. So, the Plastic plugin for TeamCity doesn't seem to support feature branches. I did come across this, but doesn't look like there's been much progress... https://plasticscm.uservoice.com/forums/15467-general/suggestions/6087535-teamcity-plugin-and-feature-branches I was hoping GitServer would be the solution to all of my problems, but it doesn't really. Because GitServer flattens out the branch names (i.e. /main/feature123/task456 becomes /main-feature123-task456) and the git provider in TeamCity only allows a single wildcard in the branch specification, I can't seem to filter out the branches I'm interested in. For example, if I want my TC server to build only the feature branches, I can't select only the feature-level branches with a single wildcard. Has anyone had any success working with feature branches inTeamCity, or are there other CI servers that offer better Plastic integration?
  8. Hello, After upgrade to 5.4.16 version our server and our clients, Teamcity 8.0.5 has stopped working. This is the error I get when it tries to get code from plastic. Failed to build patch for build #65 {build id=504}, VCS root: "Develop (1)" {instance id=23, parent internal id=10, parent id=PreventaMaster_Develop1, description: "repository "RemotePreventa@192.168.0.10:8087" path "/" branch "/Main/Prerelease/Develop" checkout "/Main/Prerelease/Develop""}, due to error: Cannot build patch: java.io.IOException: Low-level patch stream is closed I have been looking for an upgrade of the Plastic plugin for Teamcity but I haven't able to find wher to download de plugin another time. The page where I found it time ago has a link to a page where Teamcity plugin is not available. http://www.plasticscm.com/infocenter/technical-articles/kb-how-to-integrate-plastic-scm-teamcity-ci.aspx Any help?
  9. Hello guys, we are expiriencing issues while trying to download changes from Plastic repositories from TeamCity 8.0.6. The issue it that we just can't download full repository and build just fails on step of checking changes. See full build log attached. Here I want to ask few questions: 1) Please look at the first line of the log. Checking for changes takes about 20 minutes and that is short one. Now I have a build that hung on that state for a 1 hour. What should we do in such case? How can we debug what is wrong? 2) On each of 3 attempts, repository data has been transeffered (see line [17:23:40]Repository sources transferred: 8.84 GB total), but immediately after that checking changes fails with: [17:23:41]Will repeat attempt when server will be available, number of attempts left: 2 So why does oit fail? When can we see any error information? 3) Please explain the error in 3rd attempt. [16:58:28]Checking for changes [17:14:51]Publishing internal artifacts [17:14:51]Clearing temporary directory: D:\BuildAgent\temp\buildTmp [17:14:51]Checkout directory: D:\BuildAgent\work\bc163f1a08a61a14 [17:14:51]Updating sources: server side checkout (8m:49s) [17:14:52]Will perform clean checkout. Reason: Checkout directory is empty or doesn't exist [17:14:52]Transferring cached clean patch for VCS root: CT_SW_CONSOLE [17:16:52]Transferring repository sources: 6.47 GB so far... [17:17:09]Building and caching clean patch for VCS root: COMMON_CDR [17:17:58]Transferring cached clean patch for VCS root: COMMON_CDR [17:18:20]Building and caching clean patch for VCS root: CT_SW_MIDDLEWARE [17:19:37]Transferring cached clean patch for VCS root: CT_SW_MIDDLEWARE [17:19:41]Building and caching clean patch for VCS root: CT_SW_OPENSOURCE [17:19:36]Transferring repository sources: 8.64 GB so far... [17:23:40]Transferring repository sources: 8.84 GB so far... [17:23:40]Repository sources transferred: 8.84 GB total [17:23:40]Average transfer speed: 17.13 MB per second [17:23:41]Will repeat attempt when server will be available, number of attempts left: 2 [17:23:51]Updating sources: server side checkout (7m:21s) [17:23:51]Will perform clean checkout. Reason: Checkout directory is empty or doesn't exist [17:23:51]Transferring cached clean patch for VCS root: CT_SW_CONSOLE [17:25:51]Transferring repository sources: 5.33 GB so far... [17:26:36]Transferring cached clean patch for VCS root: COMMON_CDR [17:26:59]Transferring cached clean patch for VCS root: CT_SW_MIDDLEWARE [17:31:13]Transferring repository sources: 8.84 GB so far... [17:31:13]Repository sources transferred: 8.84 GB total [17:31:13]Average transfer speed: 20.51 MB per second [17:31:13]Will repeat attempt when server will be available, number of attempts left: 1 [17:31:23]Updating sources: server side checkout (6m:51s) [17:38:15]Patch was finished unexpectedly, can be found in file: D:\BuildAgent\temp\globalTmp\temp8509378732555898338patch_604838 [17:38:15]jetbrains.buildServer.RunBuildException [17:38:15]jetbrains.buildServer.agent.impl.patch.PatchDownloaderImpl$1: Patch was finished unexpectedly, probably it was broken when downloaded from server at jetbrains.buildServer.agent.impl.patch.PatchDownloaderImpl.throwError(PatchDownloaderImpl.java:114) at jetbrains.buildServer.agent.impl.patch.PatchDownloaderImpl.checkPatch(PatchDownloaderImpl.java:100) at jetbrains.buildServer.agent.impl.patch.PatchDownloaderImpl.copyPatchAndCheck(PatchDownloaderImpl.java:65) at jetbrains.buildServer.agent.impl.patch.UpdateSourcesPatcherBase.copyPatchToTempFile(UpdateSourcesPatcherBase.java:70) at jetbrains.buildServer.agent.impl.patch.UpdateSourcesFromServer.updateSources(UpdateSourcesFromServer.java:62) at jetbrains.buildServer.agent.impl.patch.UpdateSourcesBuildStageBase.doSourceUpdate(UpdateSourcesBuildStageBase.java:91) at jetbrains.buildServer.agent.impl.patch.UpdateSourcesBuildStageBase.doRecoverableStage(UpdateSourcesBuildStageBase.java:59) at jetbrains.buildServer.agent.impl.buildStages.startStages.RecoverableBuildStage.doLastAttempt(RecoverableBuildStage.java:112) at jetbrains.buildServer.agent.impl.buildStages.startStages.RecoverableBuildStage.doBuildStage(RecoverableBuildStage.java:70) at jetbrains.buildServer.agent.impl.buildStages.BuildStagesExecutor$1.callStage(BuildStagesExecutor.java:31) at jetbrains.buildServer.agent.impl.buildStages.BuildStagesExecutor$1.callStage(BuildStagesExecutor.java:24) at jetbrains.buildServer.agent.impl.buildStages.StagesExecutor.callRunStage(StagesExecutor.java:78) at jetbrains.buildServer.agent.impl.buildStages.StagesExecutor.doStages(StagesExecutor.java:37) at jetbrains.buildServer.agent.impl.buildStages.BuildStagesExecutor.doStages(BuildStagesExecutor.java:24) at jetbrains.buildServer.agent.impl.BuildRunAction.doStages(BuildRunAction.java:70) at jetbrains.buildServer.agent.impl.BuildRunAction.runBuild(BuildRunAction.java:50) at jetbrains.buildServer.agent.impl.BuildAgentImpl.doActualBuild(BuildAgentImpl.java:248) at jetbrains.buildServer.agent.impl.BuildAgentImpl.access$100(BuildAgentImpl.java:48) at jetbrains.buildServer.agent.impl.BuildAgentImpl$1.run(BuildAgentImpl.java:221) at java.lang.Thread.run(Unknown Source) Caused by: java.io.EOFException at java.io.DataInputStream.readByte(Unknown Source) at jetbrains.buildServer.vcs.patches.LowLevelPatcher.readAction(LowLevelPatcher.java:29) at jetbrains.buildServer.vcs.patches.LowLevelPatcher.readPatchStream(LowLevelPatcher.java:98) at jetbrains.buildServer.vcs.patches.LowLevelPatcher.applyPatch(LowLevelPatcher.java:88) at jetbrains.buildServer.vcs.patches.AbstractPatcher.applyPatch(AbstractPatcher.java:42) at jetbrains.buildServer.agent.impl.patch.PatchApplierImpl.applyPatch(PatchApplierImpl.java:18) at jetbrains.buildServer.agent.impl.patch.PatchDownloaderImpl.checkPatchInFileIsCompleted(PatchDownloaderImpl.java:84) at jetbrains.buildServer.agent.impl.patch.PatchDownloaderImpl.checkPatch(PatchDownloaderImpl.java:94) ... 18 more [17:38:15]Publishing internal artifacts [17:38:15]Build failed to start. Artifacts will not be published for this build [17:38:01]Build finished
  10. Within the VCS root page of TeamCity I can successfully test the connection to Plastic SCM 4, but when I try to build my project I keep on getting the error shown below. Checking for changes [13:09:48]Publishing internal artifacts [13:09:48][Publishing internal artifacts] Sending build.start.properties.gz file [13:09:48]Clearing temporary directory: C:\TeamCity\buildAgent\temp\buildTmp [13:09:48]Checkout directory: C:\TeamCity\buildAgent\work\7eca2f3a253d1fa [13:09:48]Updating sources: server side checkout (1s) [13:09:48][updating sources] Will perform clean checkout. Reason: Agent doesn't have any version of the project sources [13:09:48][updating sources] Building clean patch for VCS root: Plastic SCM [13:09:49][updating sources] Failed to build patch for build #6 {build id=2600}, VCS root: repository "eRecruitment@10.10.20.176:8087" path "/" smartbranch "/main" {instance id=27, parent id=10}, due to error: Error updating vcs root Plastic SCM: [13:09:49][updating sources] Repository sources transferred [13:09:49]Will repeat attempt when server will be available, number of attempts left: 2 [13:09:59]Updating sources: server side checkout [13:09:59][updating sources] Will perform clean checkout. Reason: Agent doesn't have any version of the project sources [13:09:59][updating sources] Building clean patch for VCS root: Plastic SCM [13:10:00][updating sources] Failed to build patch for build #6 {build id=2600}, VCS root: repository "eRecruitment@10.10.20.176:8087" path "/" smartbranch "/main" {instance id=27, parent id=10}, due to error: Error updating vcs root Plastic SCM: [13:10:00][updating sources] Repository sources transferred [13:10:00]Will repeat attempt when server will be available, number of attempts left: 1 [13:10:10]Updating sources: server side checkout [13:10:10][updating sources] Will perform clean checkout. Reason: Agent doesn't have any version of the project sources [13:10:10][updating sources] Building clean patch for VCS root: Plastic SCM [13:10:11][updating sources] Failed to build patch for build #6 {build id=2600}, VCS root: repository "eRecruitment@10.10.20.176:8087" path "/" smartbranch "/main" {instance id=27, parent id=10}, due to error: Error updating vcs root Plastic SCM: [13:10:11][updating sources] Repository sources transferred [13:10:11]Patch is broken, can be found in file: C:\TeamCity\buildAgent\temp\globalTmp\temp4935659305517870871patch_2600 [13:10:11]Failed to build patch for build #6 {build id=2600}, VCS root: repository "eRecruitment@10.10.20.176:8087" path "/" smartbranch "/main" {instance id=27, parent id=10}, due to error: Error updating vcs root Plastic SCM: jetbrains.buildServer.agent.impl.patch.PatchDownloaderImpl$1: Server was not able to build correct patch, most likely due to VCS errors at jetbrains.buildServer.agent.impl.patch.PatchDownloaderImpl.throwError(PatchDownloaderImpl.java:114) at jetbrains.buildServer.agent.impl.patch.PatchDownloaderImpl.checkPatch(PatchDownloaderImpl.java:104) at jetbrains.buildServer.agent.impl.patch.PatchDownloaderImpl.copyPatchAndCheck(PatchDownloaderImpl.java:65) at jetbrains.buildServer.agent.impl.patch.UpdateSourcesPatcherBase.copyPatchToTempFile(UpdateSourcesPatcherBase.java:70) at jetbrains.buildServer.agent.impl.patch.UpdateSourcesFromServer.updateSources(UpdateSourcesFromServer.java:62) at jetbrains.buildServer.agent.impl.patch.UpdateSourcesBuildStageBase.doSourceUpdate(UpdateSourcesBuildStageBase.java:91) at jetbrains.buildServer.agent.impl.patch.UpdateSourcesBuildStageBase.doRecoverableStage(UpdateSourcesBuildStageBase.java:59) at jetbrains.buildServer.agent.impl.buildStages.startStages.RecoverableBuildStage.doLastAttempt(RecoverableBuildStage.java:112) at jetbrains.buildServer.agent.impl.buildStages.startStages.RecoverableBuildStage.doBuildStage(RecoverableBuildStage.java:70) at jetbrains.buildServer.agent.impl.buildStages.BuildStagesExecutor$1.callStage(BuildStagesExecutor.java:31) at jetbrains.buildServer.agent.impl.buildStages.BuildStagesExecutor$1.callStage(BuildStagesExecutor.java:24) at jetbrains.buildServer.agent.impl.buildStages.StagesExecutor.callRunStage(StagesExecutor.java:78) at jetbrains.buildServer.agent.impl.buildStages.StagesExecutor.doStages(StagesExecutor.java:37) at jetbrains.buildServer.agent.impl.buildStages.BuildStagesExecutor.doStages(BuildStagesExecutor.java:24) at jetbrains.buildServer.agent.impl.BuildRunAction.doStages(BuildRunAction.java:70) at jetbrains.buildServer.agent.impl.BuildRunAction.runBuild(BuildRunAction.java:50) at jetbrains.buildServer.agent.impl.BuildAgentImpl.doActualBuild(BuildAgentImpl.java:247) at jetbrains.buildServer.agent.impl.BuildAgentImpl.access$100(BuildAgentImpl.java:48) at jetbrains.buildServer.agent.impl.BuildAgentImpl$1.run(BuildAgentImpl.java:220) at java.lang.Thread.run(Unknown Source) Caused by: jetbrains.buildServer.vcs.patches.UnsuccessfulPatchException: Failed to build patch for build #6 {build id=2600}, VCS root: repository "eRecruitment@10.10.20.176:8087" path "/" smartbranch "/main" {instance id=27, parent id=10}, due to error: Error updating vcs root Plastic SCM: at jetbrains.buildServer.vcs.patches.AbstractPatcher$1.fail(AbstractPatcher.java:93) at jetbrains.buildServer.vcs.patches.LowLevelPatcher.readPatchStream(LowLevelPatcher.java:156) at jetbrains.buildServer.vcs.patches.LowLevelPatcher.applyPatch(LowLevelPatcher.java:79) at jetbrains.buildServer.vcs.patches.AbstractPatcher.applyPatch(AbstractPatcher.java:42) at jetbrains.buildServer.agent.impl.patch.PatchApplierImpl.applyPatch(PatchApplierImpl.java:18) at jetbrains.buildServer.agent.impl.patch.PatchDownloaderImpl.checkPatchInFileIsCompleted(PatchDownloaderImpl.java:84) at jetbrains.buildServer.agent.impl.patch.PatchDownloaderImpl.checkPatch(PatchDownloaderImpl.java:94) ... 18 more [13:10:11]Publishing internal artifacts [13:10:11][Publishing internal artifacts] Sending build.finish.properties.gz file [13:10:11]Build failed to start. Artifacts will not be published for this build [13:10:11]Build finished
  11. With the recent release of TeamCity 8 we are looking to upgrade. Can anyone confirm that the Plastic SCM plugin is compatible with the new version? Thanks!
  12. Hi, I have a requirement to version various dlls in our c# solution using the revision property from Plastic SCM. Originally when we were running on Jenkins, and the checkouts were done by the build agents, we could run cm.exe status and parse the result. However using Teamcity, we have no option to checkout on the client and the sources are copied from the server to the client without there being a workspace on the client. Is there any way that I can, from the build agent (which has plastic scm client tools installed) query the version of the files it is compiling - given that it has no access to the workspace on the teamcity server nor any of the selectors. Cheers zz74b
  13. While trying to get Plastic SCM4 working with Teamcity 7.1 I am hitting this issue: Path to cm : (None of the following work) "cm", "cm.exe", "c:\Program Files\PlasticSCM4\Client\cm.exe" (%Path variable contains 'c:\Program Files\PlasticSCM4\client') Selector: repository "nts@server:8087" path "/" branch "/main" checkout "/main" Workspace directory: <blank> Yields a connection error with the following in the logs: [2013-03-14 23:06:09,875] WARN [bio-1080-exec-7] - jetbrains.buildServer.VCS - Error occurred in test connection java.lang.NullPointerException at com.codicesoftware.plastic.core.PlasticShell.checkValidClientExecutable(Unknown Source) at com.codicesoftware.plastic.core.PlasticShell.testConnection(Unknown Source) at com.codicesoftware.plugins.teamcity.PlasticVcsSupport.testConnection(PlasticVcsSupport.java:446) at jetbrains.buildServer.controllers.admin.projects.EditVcsRootsController.doPost(EditVcsRootsController.java:43) at jetbrains.buildServer.controllers.BaseFormXmlController$1.handleRequest(BaseFormXmlController.java:54) at jetbrains.buildServer.controllers.AjaxRequestProcessor.processRequest(AjaxRequestProcessor.java:45) at jetbrains.buildServer.controllers.BaseFormXmlController.doHandle(BaseFormXmlController.java:52) at jetbrains.buildServer.controllers.BaseController.handleRequestInternal(BaseController.java:73) .... Teamcity is running on Windows, the same box that is hosting the Plastic Server. Build agents are remote from the server, but can communicate with plastic via gui client. Any idea how I can get this working? Cheers
  14. 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 ... ?
  15. I'm having a lot of problems with the new version of the TeamCity plugin. I was able to get it to make the initial build (right after I attached the VCS root). But I have not been able to get it to make subsequent builds. The most recent attempt gave me the following error: Here's the stack trace: Any ideas?
  16. I have downloaded the Teamcity plugin from the download page but I am unable to view / download the documentation for it. The page https://www.plasticscm.com/infocenter/technical-articles/kb-how-to-integrate-plastic-scm-with-teamcity-ci.aspx goes to a 404 - not found page. Similarly, the other links throughout your site either go to the missing page or goto a # page. Has this content been removed? Can someone please put it back. Thanks Ste
  17. I like to be on the cutting edge, and I was really looking forward to the Nuget integration, so I went ahead and upgraded to TeamCity 7. I had to reinstall the PlasticSCM plug in (the installer uninstalls previous versions of teamcity), but so far it seems to be working just fine. I just thought I'd let you (and anyone else interested) know, and also suggest you get a TeamCity 7 test environment running for the future. Or you can just wait for me to log on and complain when something breaks in TC7.
  18. As far as I can tell, the code that TeamCity builds is not part of the actual Plastic workspace, it's a "patch" generated by Plastic and copied to the build working directory. For me, this causes my version numbers to be incorrect, because I call 'cm status' and use the output to generate a VersionInfo.cs that contains the repository change set number used to make the build. Is there a way to bypass this "patching" and have TeamCity build right out of the workspace? Or any other thought on how I can handle this?
  19. I deleted changeset 167, and then checked in a couple of times, and the latest is 169. Now I get the following error. Error collecting changes for VCS root 'sod_root_pscm4' Error getting log from cs:167@rep:sod@repserver:localhost:8087 to cs:169@rep:sod@repserver:localhost:8087: The specified changeset cs:167@rep:sod@repserver:localhost:8087 does not exist. jetbrains.buildServer.vcs.VcsException: Error collecting changes for VCS root 'sod_root_pscm4' Error getting log from cs:167@rep:sod@repserver:localhost:8087 to cs:169@rep:sod@repserver:localhost:8087: The specified changeset cs:167@rep:sod@repserver:localhost:8087 does not exist. at com.codicesoftware.plugins.teamcity.PlasticVcsSupport$1.collectChanges(PlasticVcsSupport.java:408) at jetbrains.buildServer.buildTriggers.vcs.VcsChangesLoader$1.collectBuildChanges(VcsChangesLoader.java:1) at jetbrains.buildServer.vcs.VcsSupportUtil.collectBuildChanges(VcsSupportUtil.java:54) at jetbrains.buildServer.buildTriggers.vcs.VcsChangesLoader.collectChangesByIncludeRules(VcsChangesLoader.java:178) at jetbrains.buildServer.buildTriggers.vcs.VcsChangesLoader.collectChanges(VcsChangesLoader.java:66) at jetbrains.buildServer.buildTriggers.vcs.VcsChangesLoader.collectBuildChanges(VcsChangesLoader.java:110) at jetbrains.buildServer.buildTriggers.vcs.VcsChangesLoader.collectChangesForCheckoutRules(VcsChangesLoader.java:101) at jetbrains.buildServer.buildTriggers.vcs.VcsChangesLoader.collectChanges(VcsChangesLoader.java:56) at jetbrains.buildServer.buildTriggers.vcs.VcsChangesLoader._loadChangesForRoot(VcsChangesLoader.java:8) at jetbrains.buildServer.buildTriggers.vcs.VcsChangesLoader.loadChangesForRoot(VcsChangesLoader.java:18) at jetbrains.buildServer.buildTriggers.vcs.VcsChangesLoader.loadChangesForRoot(VcsChangesLoader.java:120) at jetbrains.buildServer.vcs.impl.VcsManagerImpl.loadChanges(VcsManagerImpl.java:446) at jetbrains.buildServer.serverSide.impl.auth.SecuredVcsManager.loadChanges(SecuredVcsManager.java:53) at jetbrains.buildServer.vcs.impl.VcsChangesCollectorImpl$2.call(VcsChangesCollectorImpl.java:2) at jetbrains.buildServer.vcs.impl.VcsChangesCollectorImpl$2.call(VcsChangesCollectorImpl.java:3) at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) at java.util.concurrent.FutureTask.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Caused by: com.codicesoftware.plastic.core.PlasticException: The specified changeset cs:167@rep:sod@repserver:localhost:8087 does not exist. at com.codicesoftware.plastic.core.PlasticShell.execute(Unknown Source) at com.codicesoftware.plastic.commands.LogCommand.execute(Unknown Source) at com.codicesoftware.plugins.teamcity.PlasticVcsSupport$1.collectChanges(PlasticVcsSupport.java:403) ... 19 more com.codicesoftware.plastic.core.PlasticException: The specified changeset cs:167@rep:sod@repserver:localhost:8087 does not exist. at com.codicesoftware.plastic.core.PlasticShell.execute(Unknown Source) at com.codicesoftware.plastic.commands.LogCommand.execute(Unknown Source) at com.codicesoftware.plugins.teamcity.PlasticVcsSupport$1.collectChanges(PlasticVcsSupport.java:403) at jetbrains.buildServer.buildTriggers.vcs.VcsChangesLoader$1.collectBuildChanges(VcsChangesLoader.java:1) at jetbrains.buildServer.vcs.VcsSupportUtil.collectBuildChanges(VcsSupportUtil.java:54) at jetbrains.buildServer.buildTriggers.vcs.VcsChangesLoader.collectChangesByIncludeRules(VcsChangesLoader.java:178) at jetbrains.buildServer.buildTriggers.vcs.VcsChangesLoader.collectChanges(VcsChangesLoader.java:66) at jetbrains.buildServer.buildTriggers.vcs.VcsChangesLoader.collectBuildChanges(VcsChangesLoader.java:110) at jetbrains.buildServer.buildTriggers.vcs.VcsChangesLoader.collectChangesForCheckoutRules(VcsChangesLoader.java:101) at jetbrains.buildServer.buildTriggers.vcs.VcsChangesLoader.collectChanges(VcsChangesLoader.java:56) at jetbrains.buildServer.buildTriggers.vcs.VcsChangesLoader._loadChangesForRoot(VcsChangesLoader.java:8) at jetbrains.buildServer.buildTriggers.vcs.VcsChangesLoader.loadChangesForRoot(VcsChangesLoader.java:18) at jetbrains.buildServer.buildTriggers.vcs.VcsChangesLoader.loadChangesForRoot(VcsChangesLoader.java:120) at jetbrains.buildServer.vcs.impl.VcsManagerImpl.loadChanges(VcsManagerImpl.java:446) at jetbrains.buildServer.serverSide.impl.auth.SecuredVcsManager.loadChanges(SecuredVcsManager.java:53) at jetbrains.buildServer.vcs.impl.VcsChangesCollectorImpl$2.call(VcsChangesCollectorImpl.java:2) at jetbrains.buildServer.vcs.impl.VcsChangesCollectorImpl$2.call(VcsChangesCollectorImpl.java:3) at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) at java.util.concurrent.FutureTask.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source)
  20. The following screenshots are of the TeamCity plugin for VS2010.. I am wondering if there's any way to enable plastic scm as a source control option here so that it detects local changes and so that it enables filtering by solution.
  21. We are using Teamcity 6.5.6 with the PlasticSCM Plugin "SNAPSHOT-201201101716" (and the PlasticSCM Build 4.0.239.0). We set the build number for our projects to "1.00.%build.vcs.number%.{0} which should become 1.00.1234.5 if this is the 5th build and the current PlasticSCM changeset is 1234. The problem we are seeing is that in some cases "%build.vcs.number%" is replaced with the full PlasticSCM Url (e.g. 2128@rep:CANopen@repserver:radon:8087). The problem does not occur always, but it seems to me that it occurs especially when using the "smartbranch" syntax for configuring the VCS root in teamcity. Kind Regards, Oliver Klemencic Anton Paar GmbH
  22. HI All... I want to describe my current setup and get some opinions on how I went about creating repositories and use Plastic. I also want to ask some questions about how TeamCity can be used with how we have our projects setup. We are currently working with Visual Studio 2010 and have a solution file that contains 3 projects. A Web Application project and 2 Class Library projects (Business Objects and Framework). We have created 3 repositories that manage our source files for each of these projects and we have 3 workspaces setup for each repository. Our workspaces are located in c:\plasticworkspaces\ {name-of-workspace} \ {files/folders under source control} We decided to try setting it up this way and let the solution file in our WebApplication manage the projects in the other workspaces. There are some drawbacks, but for the most part it seems to work well. Opening the solution file loads the other projects from their respected workspace, we can easily create branches using the plastic client and switch our workspace to a specific branch and visual studio recognizes the changes and allows us to check in each project under their own respective branches in their configured repositories. (Yes, we could have created a "mount point" in our WebApplication (as an empty folder), but it's my opinion that this just makes your solution messy. Maybe I've misunderstood how its used and someone can enlighten me.) So now we have a way to manage our project... lets move on to TeamCity. We have TeamCity plugin installed (there was a little bit of trial and error involved in this) and it can "successfully connect". However, because we are using multiple repositories, and there is an option for setting a selector, how can we utilize TeamCity with multiple repositories to create a build? I would appreciate any feedback on how we have set up our repositories and any "best practices" you can provide and also any advice on using TeamCity with how we have our repositories configured. I would also like to know if its possible if I can create a workspace selected that can mount all 3 projects in the root over the same folder: so for example, in: c:\plasticworkspaces\MyWorkspace\ MyWorkspace/WebApplication MyWorkspace/ClassLibrary1 MyWorkspace/ClassLibrary2 What I don't want to do is create a mount point INSIDE my WebApplication for both Class Libraries...this is really not a good idea. For example: MyWorkspace/WebApplication MyWorkspace/WebApplication/libs/ClassLibrary1 MyWorkspace/WebApplication/libs/ClassLibrary2 So, Im interested to hear how some of you .NET developers managed this using multiple repos for individual projects and creating a workspace to handle everything for your development in .NET Thanks!
×
×
  • Create New...