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

sync fails on broken links(?)

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open (View Workflow)
    • Priority: Major
    • Resolution: Unresolved
    • Labels:
      None
    • Environment:
    • Similar Issues:

      Description

      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

      #

        Attachments

          Activity

          There are no comments yet on this issue.

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            guymatz Guy Matz
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated: