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

Unable to restore job deleted in folder (nested job)

    XMLWordPrintable

    Details

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

      Description

      No option to restore a job when job was inside a folder (ie: <folder>/<job>), a nested job

      Steps to reprocude
      install Jenkins LTS, install JCH plugin
      Create a folder "folder"
      Create a FreeStyle job at root level
      Create a 2nd Freestyle job NestedJob inside folder
      Delete both jobs
      Attempt to restore via ${JENKINS_URL}/jobConfigHistory/?filter=deleted.
      There is no option to restore on main page or after selecting job.

      See image:

        Attachments

        1. JCH-D0.png
          JCH-D0.png
          21 kB
        2. JCH-D1.png
          JCH-D1.png
          41 kB
        3. JCH-D2.png
          JCH-D2.png
          26 kB
        4. JCH-D3.png
          JCH-D3.png
          21 kB
        5. JCH-D4.png
          JCH-D4.png
          21 kB
        6. JCH-D4.png
          JCH-D4.png
          21 kB

          Activity

          Hide
          ianw Ian Williams added a comment - - edited

          Messing around with the location of the "deleted" records on the FS, moving the job to the root level is restorable.

          Moving the jobs into the folder and they are not.

          Show
          ianw Ian Williams added a comment - - edited Messing around with the location of the "deleted" records on the FS, moving the job to the root level is restorable. Moving the jobs into the folder and they are not.

            People

            Assignee:
            stefanbrausch Stefan Brausch
            Reporter:
            ianw Ian Williams
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated: