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

JobConfigHistory is flooded by pipeline steps

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved (View Workflow)
    • Priority: Minor
    • Resolution: Fixed
    • Labels:
      None
    • Environment:
      Job Configuration History Plugin 2.16
    • Similar Issues:

      Description

      While investigating https://issues.jenkins-ci.org/browse/JENKINS-45506 i've encoutered tons of saved configuration changes due to pipeline step serializations.

      Now that i know, i can configure around this, but it seems generally a bad idea to store data in the history that changes multiple times on every build a pipeline step is involved.

      Basically two pipeline steps are flooding our history:

      • org.jenkinsci.plugins.pipeline.milestone.Milestone
      • org.jenkins.plugins.lockableresources.LockableResourcesManager

      Maybe these plugins should be added to the default pattern, some hints should be put into their documentation or even a new api to distinguish regular configuration changes from simple status updates may be introduced?

        Attachments

          Issue Links

            Activity

            Hide
            abayer Andrew Bayer added a comment -

            Yup, since those steps use JobProperty implementations and the like, they technically do change the configuration of the job. Perhaps JobConfigHistory needs to filter them.

            Show
            abayer Andrew Bayer added a comment - Yup, since those steps use JobProperty implementations and the like, they technically do change the configuration of the job. Perhaps JobConfigHistory needs to filter them.
            Hide
            jochenafuerbacher Jochen A. Fürbacher added a comment -

            Fixed in 2.20.

            Show
            jochenafuerbacher Jochen A. Fürbacher added a comment - Fixed in 2.20.

              People

              Assignee:
              stefanbrausch Stefan Brausch
              Reporter:
              dageissl Daniel Geißler
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: