[JIRA] (JENKINS-57440) reduceLog checkbox not available in Process xUnit test result report

7 views
Skip to first unread message

swadsworth@gmail.com (JIRA)

unread,
May 13, 2019, 7:22:02 PM5/13/19
to jenkinsc...@googlegroups.com
Steven Wadsworth created an issue
 
Jenkins / Bug JENKINS-57440
reduceLog checkbox not available in Process xUnit test result report
Issue Type: Bug Bug
Assignee: Nikolas Falco
Components: xunit-plugin
Created: 2019-05-13 23:21
Environment: xunit-plugin 2.3.3
Priority: Minor Minor
Reporter: Steven Wadsworth

New reduceLog setting changes default behavior, and if plugin is being used as a Build Step there is no way to restore the old behavior through the GUI.  If the plugin is used as Post-build Action, the GUI does show the new checkbox under Advanced.

Looking at the source, the setting was added to

src/main/resources/org/jenkinsci/plugins/xunit/XUnitPublisher

but not to

src/main/resources/org/jenkinsci/plugins/xunit/XUnitBuilder

The two sets of settings look to like they should be the same.  Adding the new checkbox  and properties to the XUnitBuilder resources gives the desired result, but if the settings are intended to be identical, combining these to a single point of maintenance would be preferable.  As it is, the title and description for the report time margin are also out of sync between the two.

 

 

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)

nfalco79@hotmail.com (JIRA)

unread,
May 13, 2019, 7:34:02 PM5/13/19
to jenkinsc...@googlegroups.com
Nikolas Falco commented on Bug JENKINS-57440
 
Re: reduceLog checkbox not available in Process xUnit test result report

The reason is because the builder is deprecated. I left just to be back compatible for people that had written pipeline using step($class: XUnitBuilder,...)

It can use only default configuration that prevents OOM in jenkins (the same of JUnit plugins)

nfalco79@hotmail.com (JIRA)

unread,
May 13, 2019, 7:41:03 PM5/13/19
to jenkinsc...@googlegroups.com
Nikolas Falco closed an issue as Won't Fix
 
Change By: Nikolas Falco
Status: Open Closed
Resolution: Won't Fix

swadsworth@gmail.com (JIRA)

unread,
May 13, 2019, 9:00:03 PM5/13/19
to jenkinsc...@googlegroups.com
Steven Wadsworth commented on Bug JENKINS-57440
 
Re: reduceLog checkbox not available in Process xUnit test result report

It would have been helpful to better announce the change in default behavior and the deprecation of Builder.  The jobs I have set up all use the xUnit plugin as a build step, not a post-build step, and information necessary to debug failed tests was unexpectedly missing. Set up this way, there is no way to return to previous behavior. 

I have not written this into any pipelines, so had no direct visibility of Builder vs. Publisher, and I try to look at all changelogs before updating plugins.

We were not experiencing the OOM.

Reply all
Reply to author
Forward
0 new messages