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

support-core-plugin: mappings removed not removed from disk

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • support-core-plugin
    • None

      Expected behavior:

      • Whenever you change the objects created in Jenkins, the mappings persisted are refreshed

      Actual behavior:

      • When you remove an object, it isn't removed from the persisted storage (xml file).

      Steps:

      • Add labels to the master node. Example: info severe threads jvm
      • Check anonymize the bundles
      • Generate a bundle
      • Review the com.cloudbees.jenkins.support.filter.ContentMappings.xml file
      • It has the words previously defined
      • Go again to the master node and remove one label. Example: info
      • Generate a bundle
      • Review the com.cloudbees.jenkins.support.filter.ContentMappings.xml file
      • The info word still stays in the file.

      Tested in support-core-2.54

          [JENKINS-55995] support-core-plugin: mappings removed not removed from disk

          Deleted items may still be referred into the support bundle (logs, etc...). The solution should rather be some kind of sweeper that remove mappings that are obsolete based on a configurable retention.

          Allan BURDAJEWICZ added a comment - Deleted items may still be referred into the support bundle (logs, etc...). The solution should rather be some kind of sweeper that remove mappings that are obsolete based on a configurable retention.

            allan_burdajewicz Allan BURDAJEWICZ
            mramonleon Ramon Leon
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: