Jump to content

Gerald O

Members
  • Posts

    7
  • Joined

  • Last visited

Posts posted by Gerald O

  1. 1 hour ago, calbzam said:

    Hi,

    If you want to ignore a Plastic SCM Xlink, please use the following:

    
    [submodules]
    ignore.xLinkRepository = configToolPrototype

    Regards,

    Carlos.

     

    With this syntax I get an error that the config file is broken or corrupt. 
    When I use 
    [submodules]
    ignore.xLinkRepository -> configToolPrototype


    the error still occurs

  2. Carlos, thanks for your suggestion. I tried with this gitsync.conf

    [submodules]
    ignore.xLinkRepository -> configToolPrototype@plasticserver:8087
    ignore.submoduleUrl -> https://my.gitserver/scm/mo/server_configtool.git
    https://my.gitserver/scm/mo/server_configtool.git -> configtoolPrototype@plasticserver:8087 writable:false relativeserver:false

    I also tried with writable:true and/or relativeserver:true

    But the error persists. 

  3. Hi,

    i have a repo A that used a xlink to repo B in the past. When I try to gitSync to a git repo then the sync aborts with an error that says that a changeset <guid>@<repo B>@server:8087 does not exist. 

    I also run a plastc gitserver and when I try to clone the repo then I get only the commits until the broken changeset and any newer changeset is omitted.

    I searched and found the changeset in repo A and when I try to "open" the changeset I get the same error: The specified changeset <guid>@<repo B>@server:8087 does not exist.

    since this changeset is pretty old and I don't need that anymore I tried to delete the changeset. But it is not possible.  

    Is there a possibility to sync just the changes since a specific date? 
    Or can I fix the broken xLink (any way to change the linked changeset guid)?
    Or is there a way to delete the changeset?
     

  4. My build system consists of two Linux servers and one Windows server. One of the Linux servers runs the Atlassian Bamboo service (master). The other two machines (one Linux and one Windows) run Bamboo Remote Agents. 

    Bamboo ist set up to run PlasticSCM operations (Check out, Branch handling) and works fine on the two Linux machines.

    When I run a build plan on the Windows remote agent then I get an error:

    simple	09-Nov-2017 10:40:07	Remote agent on host DESKTOP-B0AIIQS
    simple	09-Nov-2017 10:40:07	Build working directory is C:\bamboo-agent-home\xml-data\build-dir\OGS-CTP-JOB1
    simple	09-Nov-2017 10:40:07	Executing build Ognerisk - ConfigToolPrototype - Default Job #45 (OGS-CTP-JOB1-45)
    simple	09-Nov-2017 10:40:07	Starting task 'Checkout Default Repository' of type 'com.atlassian.bamboo.plugins.vcs:task.vcs.checkout'
    simple	09-Nov-2017 10:40:07	Updating source code to revision: 208
    simple	09-Nov-2017 10:40:07	Updating source code to revision: 208
    simple	09-Nov-2017 10:40:08	Updating source code to revision: 208
    error	09-Nov-2017 10:40:08	Error occurred while running Task 'Checkout Default Repository(1)' of type com.atlassian.bamboo.plugins.vcs:task.vcs.checkout.
    error	09-Nov-2017 10:40:08	java.lang.RuntimeException: com.atlassian.bamboo.repository.RepositoryException: Error creating workspace name OGS-CTP-JOB1_67868698-0adc-40a9-b0c2-a070644d4697 at C:\bamboo-agent-home\xml-data\build-dir\OGS-CTP-JOB1: There was a problem between the IDE and Plastic SCM communication through the console. Cannot run program "cm": CreateProcess error=2, Das System kann die angegebene Datei nicht finden
    error	09-Nov-2017 10:40:08		at com.atlassian.bamboo.executor.RetryingTaskExecutor.rerun(RetryingTaskExecutor.java:144)
    error	09-Nov-2017 10:40:08		at com.atlassian.bamboo.executor.RetryingTaskExecutor.runTask(RetryingTaskExecutor.java:88)
    error	09-Nov-2017 10:40:08		at com.atlassian.bamboo.executor.RetryingTaskExecutor.retry(RetryingTaskExecutor.java:203)
    error	09-Nov-2017 10:40:08		at com.atlassian.bamboo.executor.RetryingTaskExecutor.retry(RetryingTaskExecutor.java:188)
    error	09-Nov-2017 10:40:08		at com.atlassian.bamboo.plugins.vcs.task.VcsCheckoutTask.execute(VcsCheckoutTask.java:127)
    error	09-Nov-2017 10:40:08		at com.atlassian.bamboo.task.TaskExecutorImpl.lambda$executeTasks$3(TaskExecutorImpl.java:317)
    error	09-Nov-2017 10:40:08		at com.atlassian.bamboo.task.TaskExecutorImpl.executeTaskWithPrePostActions(TaskExecutorImpl.java:246)
    error	09-Nov-2017 10:40:08		at com.atlassian.bamboo.task.TaskExecutorImpl.executeTasks(TaskExecutorImpl.java:317)
    error	09-Nov-2017 10:40:08		at com.atlassian.bamboo.task.TaskExecutorImpl.executePreparationTasks(TaskExecutorImpl.java:93)
    error	09-Nov-2017 10:40:08		at com.atlassian.bamboo.build.pipeline.tasks.PrepareBuildTask.call(PrepareBuildTask.java:77)
    error	09-Nov-2017 10:40:08		at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent.build(DefaultBuildAgent.java:216)
    error	09-Nov-2017 10:40:08		at com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl$1.call(BuildAgentControllerImpl.java:139)
    error	09-Nov-2017 10:40:08		at com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl$1.call(BuildAgentControllerImpl.java:130)
    error	09-Nov-2017 10:40:08		at com.atlassian.bamboo.variable.CustomVariableContextImpl.withVariableSubstitutor(CustomVariableContextImpl.java:221)
    error	09-Nov-2017 10:40:08		at com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl.waitAndPerformBuild(BuildAgentControllerImpl.java:129)
    error	09-Nov-2017 10:40:08		at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent$1.run(DefaultBuildAgent.java:138)
    error	09-Nov-2017 10:40:08		at com.atlassian.bamboo.utils.BambooRunnables$1.run(BambooRunnables.java:51)
    error	09-Nov-2017 10:40:08		at com.atlassian.bamboo.security.ImpersonationHelper.runWith(ImpersonationHelper.java:31)
    error	09-Nov-2017 10:40:08		at com.atlassian.bamboo.security.ImpersonationHelper.runWithSystemAuthority(ImpersonationHelper.java:20)
    error	09-Nov-2017 10:40:08		at com.atlassian.bamboo.security.ImpersonationHelper$1.run(ImpersonationHelper.java:52)
    error	09-Nov-2017 10:40:08		at java.lang.Thread.run(Unknown Source)
    error	09-Nov-2017 10:40:08	Caused by: com.atlassian.bamboo.repository.RepositoryException: Error creating workspace name OGS-CTP-JOB1_67868698-0adc-40a9-b0c2-a070644d4697 at C:\bamboo-agent-home\xml-data\build-dir\OGS-CTP-JOB1: There was a problem between the IDE and Plastic SCM communication through the console. Cannot run program "cm": CreateProcess error=2, Das System kann die angegebene Datei nicht finden
    error	09-Nov-2017 10:40:08		at com.codicesoftware.plugins.bamboo40.changesproviders.WorkspaceManager.doCreateWorkspace(WorkspaceManager.java:90)
    error	09-Nov-2017 10:40:08		at com.codicesoftware.plugins.bamboo40.changesproviders.WorkspaceManager.createWorkspace(WorkspaceManager.java:65)
    error	09-Nov-2017 10:40:08		at com.codicesoftware.plugins.bamboo40.changesproviders.PlasticContinuousIntegrationMode$1.call(PlasticContinuousIntegrationMode.java:94)
    error	09-Nov-2017 10:40:08		at com.codicesoftware.plugins.bamboo40.changesproviders.PlasticContinuousIntegrationMode$1.call(PlasticContinuousIntegrationMode.java:91)
    error	09-Nov-2017 10:40:08		at com.atlassian.util.concurrent.ManagedLocks$ManagedLockImpl.withLock(ManagedLocks.java:312)
    error	09-Nov-2017 10:40:08		at com.codicesoftware.plugins.bamboo40.changesproviders.PlasticContinuousIntegrationMode.updateWorkspace(PlasticContinuousIntegrationMode.java:90)
    error	09-Nov-2017 10:40:08		at com.codicesoftware.plugins.bamboo40.PlasticRepository.retrieveSourceCode(PlasticRepository.java:131)
    error	09-Nov-2017 10:40:08		at com.codicesoftware.plugins.bamboo40.PlasticRepository.retrieveSourceCode(PlasticRepository.java:114)
    error	09-Nov-2017 10:40:08		at com.atlassian.bamboo.vcs.configuration.legacy.LegacyWorkingCopyManager.retrieveSourceCode(LegacyWorkingCopyManager.java:137)
    error	09-Nov-2017 10:40:08		at com.atlassian.bamboo.plugins.vcs.task.VcsCheckoutTask.fillWorkingDirFromVcs(VcsCheckoutTask.java:228)
    error	09-Nov-2017 10:40:08		at com.atlassian.bamboo.plugins.vcs.task.VcsCheckoutTask.access$000(VcsCheckoutTask.java:53)
    error	09-Nov-2017 10:40:08		at com.atlassian.bamboo.plugins.vcs.task.VcsCheckoutTask$1.call(VcsCheckoutTask.java:132)
    error	09-Nov-2017 10:40:08		at com.atlassian.bamboo.plugins.vcs.task.VcsCheckoutTask$1.call(VcsCheckoutTask.java:128)
    error	09-Nov-2017 10:40:08		at com.atlassian.bamboo.executor.RetryingTaskExecutor.rerun(RetryingTaskExecutor.java:108)
    error	09-Nov-2017 10:40:08		... 20 more
    error	09-Nov-2017 10:40:08	Failed to prepare the build 'Ognerisk - ConfigToolPrototype - Default Job #45 (OGS-CTP-JOB1-45)'
    simple	09-Nov-2017 10:46:05	Running on server: post build plugin 'NCover Results Collector'
    simple	09-Nov-2017 10:46:05	Running on server: post build plugin 'Build Hanging Detection Configuration'
    simple	09-Nov-2017 10:46:05	Running on server: post build plugin 'Clover Delta Calculator'
    simple	09-Nov-2017 10:46:05	Running on server: post build plugin 'Maven Dependencies Postprocessor'
    simple	09-Nov-2017 10:46:05	All post build plugins have finished
    simple	09-Nov-2017 10:46:05	Generating build results summary...
    simple	09-Nov-2017 10:46:05	Saving build results to disk...
    simple	09-Nov-2017 10:46:05	Logging substituted variables...
    simple	09-Nov-2017 10:46:05	Indexing build results...
    simple	09-Nov-2017 10:46:05	Finished building OGS-CTP-JOB1-45.

     I tried several suolution attempts regarding the path to the cm.exe (full path a.s.o.). cm.exe and the program folder are accessible by local system (bamboo agent service runs as local system).

     

    EDIT: Bamboo Version 5.15.3; PlastiscSCM: 5.4.16-802; Plugin 5.10.1

×
×
  • Create New...