Jenkins LTS 2.176.x logs about the new Stapler routing rules have erroneous information

This issue is archived. You can view it, but you can't modify it. Learn more

XMLWordPrintable

      After upgrading to Jenkins LTS 2.176, the Server Status page in Gerrit Trigger section didn't display any information, showing a "Data error" message.

      Logs:

      2019-08-30 09:47:15.644+0000 [id=65732] WARNING j.s.s.StaplerFilteredActionListener#onGetterTrigger: New Stapler routing rules result in the URL "/gerrit-trigger/serverStatuses" no longer being allowed. If you consider it safe to use, add the following to the whitelist: "method com.sonyericsson.hudson.plugins.gerrit.trigger.GerritManagement getServerStatuses". Learn more: https://jenkins.io/redirect/stapler-routing

      The lineĀ 

      method com.sonyericsson.hudson.plugins.gerrit.trigger.GerritManagement getServerStatuses

      is wrong, because it doesn't work upon testing. Instead, the correct line to be added to the whitelist isĀ 

      com.sonyericsson.hudson.plugins.gerrit.trigger.GerritManagement serverStatuses

      as perĀ 

      https://jenkins.io/doc/upgrade-guide/2.176/#upgrading-to-jenkins-lts-2-176-x

      Ā 

      If one doesn't have enough Jenkins / debugging experience, an error like this can become very hard to track down and fix.

            Assignee:
            rsandell
            Reporter:
            George Cimpoies
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Resolved:
              Archived: