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

sync fails on broken links(?)

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: Major Major
    • None

      Getting the following when attempting an initial sync:

      java.io.FileNotFoundException: /var/lib/jenkins/scm-sync-configuration/checkoutConfiguration/jobs/EMS_deploy_jars/builds/lastFailedBuild (No such file or directory)

      ...snip...

      at hudson.plugins.scm_sync_configuration.ScmSyncConfigurationBusiness.syncDirectories(ScmSyncConfigurationBusiness.java:337)
      at hudson.plugins.scm_sync_configuration.ScmSyncConfigurationBusiness.syncDirectories(ScmSyncConfigurationBusiness.java:348)
      at hudson.plugins.scm_sync_configuration.ScmSyncConfigurationBusiness.reloadAllFilesFromScm(ScmSyncConfigurationBusiness.java:325)
      at hudson.plugins.scm_sync_configuration.ScmSyncConfigurationPlugin.doReloadAllFilesFromScm(ScmSyncConfigurationPlugin.java:277)

      ...snip...

       

      And the contents of the problematic dfirectory:

      1. pwd
        /var/lib/jenkins/scm-sync-configuration/checkoutConfiguration/jobs/EMS_deploy_jars/builds
      2. ls -l
        total 0
        lrwxrwxrwx. 1 jenkins jenkins 2 Mar 12 17:33 lastFailedBuild -> -1
        lrwxrwxrwx. 1 jenkins jenkins 2 Mar 12 17:33 lastSuccessfulBuild -> -1

      #

            Unassigned Unassigned
            guymatz Guy Matz
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: