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

SaveableListener.onchange() called multiple times after a job config save

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Incomplete
    • Component/s: core
    • Labels:
      None
    • Environment:
      Windows 7, Jenkins 1.398

      Description

      I just noticed in Jenkins 1.398, SaveableListener.onchange() is called 5 times (instead of only one) after a job configuration save.

      This can be easily demonstrated by using a plugin using, in debug mode, the SaveableListener extension point (for example, scm-sync-configuration plugin) and updating job configuration.

        Activity

        Hide
        danielbeck Daniel Beck added a comment -

        More information is needed to investigate this issue. The Job Config History plugin might help here.

        Chances are this is a side-effect of plugins saving their config with their own save() call.

        Show
        danielbeck Daniel Beck added a comment - More information is needed to investigate this issue. The Job Config History plugin might help here. Chances are this is a side-effect of plugins saving their config with their own save() call.

          People

          • Assignee:
            Unassigned
            Reporter:
            fcamblor Frédéric Camblor
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: