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

Job shown twice and creates duplicate folder in Windows

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • core
    • None
    • Jenkins 2.204
      Windows Server 2016
      Java 1.8.0_144

      I have one Jenkins job that constantly shows up twice on the "All" tab in the main jobs view. The first link takes me to the job and shows the builds, the second shows the job as never having run.

      If I look under the "jobs" folder on the disk in Windows explorer it seems Jenkins has somehow managed to create two folders with the same name and same parent. The "extra" one contains the directory "builds" with an empty file "legacyIds" and a file "permalinks" containing only the text

      lastFailedBuild -1
      lastSuccessfulBuild -1

      If I rename or remove this folder and restart Jenkins, it is recreated with the same contents and the same behaviour in the Jenkins GUI.

      If I go to the "Manage Jenkins" tab, this job is also listed as having data in an old format, though I've been unable to work out what it is referring to, and whether this is a symptom or a cause of the above problem.

      We have many other Jenkins jobs that do not exhibit this behaviour. I wondered about folder permission but Jenkins seems to be able to write to the folder without difficulties when running the job, which works fine if you use the "correct version" of it.

      I realise this is probably not enough information to reproduce this but I'm mostly looking for advice on how to troubleshoot this further.

            Unassigned Unassigned
            geoffbache Geoff Bache
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: