Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-39418

Throws error when scm syncing

XMLWordPrintable

      Errors from the log file:

      Nov 01, 2016 3:29:56 PM FINEST hudson.plugins.scm_sync_configuration.ScmSyncConfigurationBusiness
      Queuing commit Commit hudson.plugins.scm_sync_configuration.model.Commit@600d4ef0 :
      Author : avi tal
      Comment : avi3tal: Job [Release] configuration updated

      Change performed by avi tal

      Changeset :
      A jobs/Release/config.xml

      to SCM ...
      Nov 01, 2016 3:29:56 PM FINEST hudson.plugins.scm_sync_configuration.ScmSyncConfigurationBusiness
      Processing commit : Commit hudson.plugins.scm_sync_configuration.model.Commit@4acb073d :
      Author : Liora Milbaum
      Comment : lioramilbaum: Job [Build-Liora] hierarchy deleted

      Change performed by Liora Milbaum

      Changeset :
      D jobs/Build-Liora/

      Nov 01, 2016 3:29:56 PM FINE hudson.plugins.scm_sync_configuration.SCMManipulator
      Deleting SCM hierarchy [/var/lib/jenkins/scm-sync-configuration/checkoutConfiguration/jobs/Build-Liora] from SCM ...
      Nov 01, 2016 3:29:56 PM 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$Sync.innerRun(FutureTask.java:334)
      at java.util.concurrent.FutureTask.run(FutureTask.java:166)
      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:724)
      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 hudson.plugins.scm_sync_configuration.scms.customproviders.git.gitexe.ScmSyncGitRemoveCommand.executeRemoveCommand(ScmSyncGitRemoveCommand.java:39)
      at org.apache.maven.scm.command.remove.AbstractRemoveCommand.executeCommand(AbstractRemoveCommand.java:49)
      at org.apache.maven.scm.command.AbstractCommand.execute(AbstractCommand.java:59)
      ... 15 more
      Caused by: org.codehaus.plexus.util.cli.CommandLineException: Working directory "/var/lib/jenkins/scm-sync-configuration/checkoutConfiguration/jobs" 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)
      ... 18 more

      Nov 01, 2016 3:29:56 PM SEVERE hudson.plugins.scm_sync_configuration.SCMManipulator deleteHierarchy
      [deleteHierarchy] Hierarchy deletion aborted : Exception while executing SCM command.

            Unassigned Unassigned
            lioramilbaum Liora Milbaum
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: