I've found some bug reports that report my defect is fixed in 0.0.8.

      I'm running 0.0.8 and still experiencing this problem.

      In order to prevent the sync from failing I had to:

      1) Fix git from command line
      2) Restart Jenkins
      3) I had to save settings a few times to make the error in the footer go away

      These 2 old issues point out the same defect and claim it is fixed.

      JENKINS-19229
      JENKINS-15128

          [JENKINS-26652] SCM Sync fails after deleting a project

          I can confirm, this is still an issue with 0.0.8., moreover it leads to the poisoned queue reported in JENKINS-25786.

          Kenneth Baltrinic added a comment - I can confirm, this is still an issue with 0.0.8., moreover it leads to the poisoned queue reported in JENKINS-25786 .

          I can confirm

          Stefan Schäfer added a comment - I can confirm

          Fixed in 0.0.9

          Craig Rodrigues added a comment - Fixed in 0.0.9

          Code changed in jenkins
          User: zilmTT
          Path:
          src/main/java/hudson/plugins/scm_sync_configuration/SCMManipulator.java
          http://jenkins-ci.org/commit/scm-sync-configuration-plugin/aabe49b8f023cad2d302528f3b13602e3be14924
          Log:
          Fix hierarchy deletion issues (JENKINS-26652)

          Before deleting the job hierarchy it is needed to check for changes on the files, e.g config.xml. While deleting a job it gets updated, this blocks the git -rm command from deleting this hierarchy. Commits should always come with proper messages, git command fails if the commit message is empty. Which put scm-sync in an dirty state if there are commits which cannot be pushed.

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: zilmTT Path: src/main/java/hudson/plugins/scm_sync_configuration/SCMManipulator.java http://jenkins-ci.org/commit/scm-sync-configuration-plugin/aabe49b8f023cad2d302528f3b13602e3be14924 Log: Fix hierarchy deletion issues ( JENKINS-26652 ) Before deleting the job hierarchy it is needed to check for changes on the files, e.g config.xml. While deleting a job it gets updated, this blocks the git -rm command from deleting this hierarchy. Commits should always come with proper messages, git command fails if the commit message is empty. Which put scm-sync in an dirty state if there are commits which cannot be pushed.

            Unassigned Unassigned
            thedug thedug
            Votes:
            6 Vote for this issue
            Watchers:
            9 Start watching this issue

              Created:
              Updated:
              Resolved: