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

In Configuration view of a Job the "Retain long standard output/error" checkbox is always unchecked

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • junit-plugin
    • None
    • Solaris 10, Hudson version 1.377

      In the configuration view the "Retain long standard output/error" checkbox is always unchecked no matter what value the keepLongStdio element in the xml configuration file of the job has.
      This is very annoying because when saving the configuration the value of the keepLongStdio xml element is set back to false if you do not reselect the checkbox.

      The bugs has been probably introduced with changeset 31016 (see also bug JENKINS-6516).

          [JENKINS-7562] In Configuration view of a Job the "Retain long standard output/error" checkbox is always unchecked

          kbertelson added a comment -

          Yes, this bug is pretty annoying. Some of our legacy tests have verbose trace info that needs to be retained even for tests that succeed.

          kbertelson added a comment - Yes, this bug is pretty annoying. Some of our legacy tests have verbose trace info that needs to be retained even for tests that succeed.

          rhierlmeier added a comment -

          Patch for the issue

          rhierlmeier added a comment - Patch for the issue

          rhierlmeier added a comment -

          This bug was introduced with the fix of issue JENKINS-6516 (checkin that made the keepLongStdio field optional)

          rhierlmeier added a comment - This bug was introduced with the fix of issue JENKINS-6516 (checkin that made the keepLongStdio field optional)

          dogfood added a comment -

          Integrated in hudson_main_trunk #390
          [FIXED JENKINS-7562]

          rseguy :
          Files :

          • /trunk/hudson/main/core/src/main/java/hudson/tasks/junit/JUnitResultArchiver.java
          • /trunk/hudson/main/core/src/main/resources/hudson/tasks/junit/JUnitResultArchiver/config.jelly

          dogfood added a comment - Integrated in hudson_main_trunk #390 [FIXED JENKINS-7562] rseguy : Files : /trunk/hudson/main/core/src/main/java/hudson/tasks/junit/JUnitResultArchiver.java /trunk/hudson/main/core/src/main/resources/hudson/tasks/junit/JUnitResultArchiver/config.jelly

          Jesse Glick added a comment -

          Are you sure the change to <f:checkbox/> was necessary? AFAIK this picks up everything it needs from the field declaration on f:entry. Probably all that was needed for the fix was the introduction of the public getter.

          Jesse Glick added a comment - Are you sure the change to <f:checkbox/> was necessary? AFAIK this picks up everything it needs from the field declaration on f:entry. Probably all that was needed for the fix was the introduction of the public getter.

            rhierlmeier rhierlmeier
            rhierlmeier rhierlmeier
            Votes:
            2 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: