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

Periodic backup fails to back up the Promotion configurations.

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Component/s: periodicbackup-plugin
    • Labels:
      None
    • Environment:
      Jenkins 1.448 on RHEL 6

      Plugin:periodicbackup, 1.1
    • Similar Issues:

      Description

      Using the periodic backup setup with the tar.gz storage and config only files, the plugin fails to backup the Promotion configurations that are attached to jobs.

      When these are missing job with promotion steps are incorrectly restored as they are missing the promotion steps.

      These are stored under the path
      ./jobs/<job_Name>/promotions/<promotion_name>/config.xml

      Doing a tar -tzf <backup_file> does not show them in the backup that is created

      These files should be included in the backup.

        Attachments

          Activity

          Hide
          emanuelez emanuelez added a comment -

          Thank you for the report. I fixed it already. Can I send you an hpi file for testing?

          Show
          emanuelez emanuelez added a comment - Thank you for the report. I fixed it already. Can I send you an hpi file for testing?
          Hide
          emanuelez emanuelez added a comment -

          hpi file containing the fix.

          Show
          emanuelez emanuelez added a comment - hpi file containing the fix.
          Hide
          cjo9900 cjo9900 added a comment -

          Issues is fixed and resolves the issue, you can commit these changes

          Show
          cjo9900 cjo9900 added a comment - Issues is fixed and resolves the issue, you can commit these changes
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Emanuele Zattin
          Path:
          src/main/java/org/jenkinsci/plugins/periodicbackup/ConfigOnly.java
          http://jenkins-ci.org/commit/periodicbackup-plugin/d6c30129f3d3c4dc832869b85571cdd7569d2caf
          Log:
          Fix for bug JENKINS-12496

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Emanuele Zattin Path: src/main/java/org/jenkinsci/plugins/periodicbackup/ConfigOnly.java http://jenkins-ci.org/commit/periodicbackup-plugin/d6c30129f3d3c4dc832869b85571cdd7569d2caf Log: Fix for bug JENKINS-12496
          Hide
          emanuelez emanuelez added a comment -

          Fix pushed

          Show
          emanuelez emanuelez added a comment - Fix pushed

            People

            Assignee:
            emanuelez emanuelez
            Reporter:
            cjo9900 cjo9900
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: