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

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

    XMLWordPrintable

Details

    Description

      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.

      Attachments

        Issue Links

          Activity

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

            People

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

              Dates

                Created:
                Updated:
                Resolved: