org.apache.maven.scm.ScmException: Exception while executing SCM command.

Jenkins JIRA | liron tal | 7 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    i'm using the multi-branch-project plugin. I get the following errors and there are no commits in the local git repository. these errors appear for every configuration change in jenkins. also, when I browse /var/lib/jenkins/jobs/my-feature-branches there is a folder named branches, and underneath it there are multiple folders which contain config.xml files. when I browse /var/lib/jenkins/scm-sync-configuration/checkoutConfiguration/my-feature-branches, there is only config.xml and no further folders or files. Aug 16, 2016 9:41:13 AM FINEST hudson.plugins.scm_sync_configuration.ScmSyncConfigurationBusiness Processing commit : Commit hudson.plugins.scm_sync_configuration.model.Commit@2076693a : Author : SYSTEM Comment : SYSTEM: File hierarchy deleted Change performed by SYSTEM Changeset : D jobs/My-feature-branches/branches/my-branch-name Aug 16, 2016 9:41:13 AM FINE hudson.plugins.scm_sync_configuration.SCMManipulator Deleting SCM hierarchy [/var/lib/jenkins/scm-sync-configuration/checkoutConfiguration/jobs/My-feature-branches/branches/my-branch-name] from SCM ... Aug 16, 2016 9:41:13 AM FINER org.apache.maven.scm.manager.ScmManager remove THROW org.apache.maven.scm.ScmException: Exception while executing SCM command. at org.apache.maven.scm.command.AbstractCommand.execute(AbstractCommand.java:63) at org.apache.maven.scm.provider.git.AbstractGitScmProvider.executeCommand(AbstractGitScmProvider.java:291) at org.apache.maven.scm.provider.git.AbstractGitScmProvider.remove(AbstractGitScmProvider.java:255) at org.apache.maven.scm.provider.AbstractScmProvider.remove(AbstractScmProvider.java:773) at org.apache.maven.scm.manager.AbstractScmManager.remove(AbstractScmManager.java:553) at hudson.plugins.scm_sync_configuration.SCMManipulator.deleteHierarchy(SCMManipulator.java:127) at hudson.plugins.scm_sync_configuration.ScmSyncConfigurationBusiness.deleteHierarchy(ScmSyncConfigurationBusiness.java:117) at hudson.plugins.scm_sync_configuration.ScmSyncConfigurationBusiness.processCommitsQueue(ScmSyncConfigurationBusiness.java:214) at hudson.plugins.scm_sync_configuration.ScmSyncConfigurationBusiness.access$000(ScmSyncConfigurationBusiness.java:32) at hudson.plugins.scm_sync_configuration.ScmSyncConfigurationBusiness$1.call(ScmSyncConfigurationBusiness.java:148) at hudson.plugins.scm_sync_configuration.ScmSyncConfigurationBusiness$1.call(ScmSyncConfigurationBusiness.java:145) at java.util.concurrent.FutureTask.run(FutureTask.java:262) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745) Caused by: org.apache.maven.scm.ScmException: Error while executing command. at org.apache.maven.scm.provider.git.gitexe.command.GitCommandLineUtils.execute(GitCommandLineUtils.java:150) at org.apache.maven.scm.provider.git.gitexe.command.remove.GitRemoveCommand.executeRemoveCommand(GitRemoveCommand.java:65) at org.apache.maven.scm.command.remove.AbstractRemoveCommand.executeCommand(AbstractRemoveCommand.java:49) at org.apache.maven.scm.command.AbstractCommand.execute(AbstractCommand.java:59) ... 14 more Caused by: org.codehaus.plexus.util.cli.CommandLineException: Working directory "/var/lib/jenkins/scm-sync-configuration/checkoutConfiguration/jobs/My-feature-branches/branches/my-branch-name" does not exist! at org.codehaus.plexus.util.cli.Commandline.execute(Commandline.java:661) at org.codehaus.plexus.util.cli.CommandLineUtils.executeCommandLineAsCallable(CommandLineUtils.java:134) at org.codehaus.plexus.util.cli.CommandLineUtils.executeCommandLine(CommandLineUtils.java:105) at org.codehaus.plexus.util.cli.CommandLineUtils.executeCommandLine(CommandLineUtils.java:74) at org.apache.maven.scm.provider.git.gitexe.command.GitCommandLineUtils.execute(GitCommandLineUtils.java:146) ... 17 more Aug 16, 2016 9:41:13 AM SEVERE hudson.plugins.scm_sync_configuration.SCMManipulator deleteHierarchy [deleteHierarchy] Hierarchy deletion aborted : Exception while executing SCM command.

    Jenkins JIRA | 7 months ago | liron tal
    org.apache.maven.scm.ScmException: Exception while executing SCM command.
  2. 0

    [JIRA] (JENKINS-37500) scm-syn-configurtaion issues with multi branch project

    Google Groups | 7 months ago | liro...@loomsystems.com (JIRA)
    org.apache.maven.scm.ScmException: Exception while executing SCM command.<br>
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    Build error: mvn package - No such file or directory

    Google Groups | 6 years ago | Saulius
    org.apache.maven.lifecycle.LifecycleExecutionException: Fatal error compiling

    Root Cause Analysis

    1. org.codehaus.plexus.util.cli.CommandLineException

      Working directory "/var/lib/jenkins/scm-sync-configuration/checkoutConfiguration/jobs/My-feature-branches/branches/my-branch-name" does not exist!

      at org.codehaus.plexus.util.cli.Commandline.execute()
    2. Plexus Common Utilities
      CommandLineUtils.executeCommandLine
      1. org.codehaus.plexus.util.cli.Commandline.execute(Commandline.java:661)
      2. org.codehaus.plexus.util.cli.CommandLineUtils.executeCommandLineAsCallable(CommandLineUtils.java:134)
      3. org.codehaus.plexus.util.cli.CommandLineUtils.executeCommandLine(CommandLineUtils.java:105)
      4. org.codehaus.plexus.util.cli.CommandLineUtils.executeCommandLine(CommandLineUtils.java:74)
      4 frames
    3. Maven SCM Git Provider - Git Executable Impl.
      GitRemoveCommand.executeRemoveCommand
      1. org.apache.maven.scm.provider.git.gitexe.command.GitCommandLineUtils.execute(GitCommandLineUtils.java:146)
      2. org.apache.maven.scm.provider.git.gitexe.command.remove.GitRemoveCommand.executeRemoveCommand(GitRemoveCommand.java:65)
      2 frames
    4. Maven SCM API
      AbstractCommand.execute
      1. org.apache.maven.scm.command.remove.AbstractRemoveCommand.executeCommand(AbstractRemoveCommand.java:49)
      2. org.apache.maven.scm.command.AbstractCommand.execute(AbstractCommand.java:59)
      2 frames
    5. Maven SCM Git Provider - Common library
      AbstractGitScmProvider.remove
      1. org.apache.maven.scm.provider.git.AbstractGitScmProvider.executeCommand(AbstractGitScmProvider.java:291)
      2. org.apache.maven.scm.provider.git.AbstractGitScmProvider.remove(AbstractGitScmProvider.java:255)
      2 frames
    6. Maven SCM Test
      AbstractScmManager.remove
      1. org.apache.maven.scm.provider.AbstractScmProvider.remove(AbstractScmProvider.java:773)
      2. org.apache.maven.scm.manager.AbstractScmManager.remove(AbstractScmManager.java:553)
      2 frames
    7. hudson.plugins.scm_sync_configuration
      ScmSyncConfigurationBusiness$1.call
      1. hudson.plugins.scm_sync_configuration.SCMManipulator.deleteHierarchy(SCMManipulator.java:127)
      2. hudson.plugins.scm_sync_configuration.ScmSyncConfigurationBusiness.deleteHierarchy(ScmSyncConfigurationBusiness.java:117)
      3. hudson.plugins.scm_sync_configuration.ScmSyncConfigurationBusiness.processCommitsQueue(ScmSyncConfigurationBusiness.java:214)
      4. hudson.plugins.scm_sync_configuration.ScmSyncConfigurationBusiness.access$000(ScmSyncConfigurationBusiness.java:32)
      5. hudson.plugins.scm_sync_configuration.ScmSyncConfigurationBusiness$1.call(ScmSyncConfigurationBusiness.java:148)
      6. hudson.plugins.scm_sync_configuration.ScmSyncConfigurationBusiness$1.call(ScmSyncConfigurationBusiness.java:145)
      6 frames
    8. Java RT
      Thread.run
      1. java.util.concurrent.FutureTask.run(FutureTask.java:262)
      2. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
      3. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
      4. java.lang.Thread.run(Thread.java:745)
      4 frames