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

Job Config History plugin should not call User.current() during startup

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Critical Critical
    • None
    • 2.138.2

      2.138.2 backported JEP-214/Uplink telemetry, and with it, an extension that calls save from its constructor.

      When Job Config History is installed, that results in the following warning being logged on the first startup during the save call:

      https://gist.github.com/daniel-beck/140e11878479d5c2eef882f54c4ed33d

      It's not obviously a bad idea to call save there (IMO), but there probably should be a check in JCH to not do elaborate processing during startup. Unsure.

          [JENKINS-53998] Job Config History plugin should not call User.current() during startup

          Daniel Beck created issue -
          Daniel Beck made changes -
          Priority Original: Minor [ 4 ] New: Critical [ 2 ]
          Daniel Beck made changes -
          Component/s Original: core [ 15593 ]
          Daniel Beck made changes -
          Summary Original: Warning logged on startup New: Job Config History plugin should not call User.current() during startup
          Daniel Beck made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: Open [ 1 ] New: Fixed but Unreleased [ 10203 ]
          Jochen A. Fürbacher made changes -
          Status Original: Fixed but Unreleased [ 10203 ] New: Resolved [ 5 ]
          Jesse Glick made changes -
          Link New: This issue relates to JENKINS-54888 [ JENKINS-54888 ]
          Jesse Glick made changes -
          Link New: This issue relates to JENKINS-58993 [ JENKINS-58993 ]
          Jesse Glick made changes -
          Link New: This issue relates to JENKINS-55361 [ JENKINS-55361 ]

            stefanbrausch Stefan Brausch
            danielbeck Daniel Beck
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: