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

Cannot disable reduceLog setting

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Minor
    • Resolution: Fixed
    • Component/s: xunit-plugin
    • Labels:
      None
    • Environment:
      CentOS 7.6.1810
      Jenkins LTS 2.164.2
      xUnit plugin 2.3.4
    • Similar Issues:
    • Released As:
      2.3.5

      Description

      I have converted all my jobs to use the Publisher instead of the Builder, but still cannot return to the old default behavior.

      I have a minimal installation of Jenkins running in the embedded container (java -jar jenkins.war).  The xUnit plugin is the latest, 2.3.4.

      To reproduce:

      • Create job, add "Publish xUnit Report" as Post-build step.
      • Select CTest-Version 3.x (the type of report does not seem to matter)
      • Click Advanced, then uncheck the reduceLog checkbox
      • Save
      • Reopen the job configuration, click Advanced.  The reduceLog checkbox is checked.

      Additional information

      • Manually edit the config.xml to set reduceLog to false.
      • Manage Jenkins -> Reload configuration from disk
      • Go to job configuration and look at advanced Publisher settings
      • reduceLog checkbox is not checked
      • Click Save without making any changes
      • Reopen the job configuration.  The reduceLog checkbox is checked again.

      It appears that the configuration is unconditionally saved as true.

       

       

        Attachments

          Activity

          Hide
          nfalco Nikolas Falco added a comment -

          Thanks to report this bug. There was a missing annotation.

          Show
          nfalco Nikolas Falco added a comment - Thanks to report this bug. There was a missing annotation.

            People

            Assignee:
            nfalco Nikolas Falco
            Reporter:
            lizzardo Steven Wadsworth
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: