[JIRA] (JENKINS-59150) Upgrading to Jenkins LTS 2.176.x documentation has erroneous information

2 views
Skip to first unread message

cimpoiesgeorge@gmail.com (JIRA)

unread,
Aug 30, 2019, 8:36:02 AM8/30/19
to jenkinsc...@googlegroups.com
George Cimpoies created an issue
 
Jenkins / Improvement JENKINS-59150
Upgrading to Jenkins LTS 2.176.x documentation has erroneous information
Issue Type: Improvement Improvement
Assignee: rsandell
Components: core, gerrit-trigger-plugin
Created: 2019-08-30 12:35
Environment: Jenkins LTS 2.176.x
Priority: Minor Minor
Reporter: George Cimpoies

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.

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)
Reply all
Reply to author
Forward
0 new messages