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

Can't configure report pattern in job configuration UI

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Critical Critical
    • dtkit-plugin, xunit-plugin
    • None
    • Operating System: Server RHEL 7.6, Client Centos 7, Win10
      JDK/JRE: OpenJDK Runtime Environment 1.8.0_191-b12
      Jenkins 2.181 and xUnit 2.3.5 ran directly
      No reverse proxy
      Firefox 60.7.0esr
    • 2.1.1-1

      When configuring a xUnit post build action it is not possible to configure a pattern for report files. Adding a <pattern> element manually in config.xml works, but gets overwritten each time you use the job configuration page.

      I have added an image of the configuration page

       

       

          [JENKINS-58089] Can't configure report pattern in job configuration UI

          Gerriet Reents created issue -
          Gerriet Reents made changes -
          Description Original: When configuring a xUnit post build action it is not possible to configure a pattern for report files. Adding a {{<pattern> }}element manually in {{config.xml}} works, but gets overwritten each time you use the job configuration page.

          I have added an image of the configuration page

          !JenkinsxUnit.JPG!

           

           
          New: When configuring a xUnit post build action it is not possible to configure a pattern for report files. Adding a {{<pattern>}} element manually in {{config.xml}} works, but gets overwritten each time you use the job configuration page.

          I have added an image of the configuration page

          !JenkinsxUnit.JPG!

           

           

          Ukon GOTO added a comment -

          I have the same problem with the report type JUnit.

          With version 2.3.4 is OK

          This problem appears only with version 2.3.5 :

          The fields "Pattern" and options disappeared

          If we modified a field Thresholds in a existing job we lost the pattern in the configuration.xml file of the job. And the xunit part of the job no longer works we have "INFO: Skipping tests recording." in the job's logs

          Ukon GOTO added a comment - I have the same problem with the report type JUnit. With version 2.3.4 is OK This problem appears only with version 2.3.5 : The fields "Pattern" and options disappeared If we modified a field Thresholds in a existing job we lost the pattern in the configuration.xml file of the job. And the xunit part of the job no longer works we have "INFO: Skipping tests recording." in the job's logs
          Ukon GOTO made changes -
          Priority Original: Major [ 3 ] New: Critical [ 2 ]

          Nikolas Falco added a comment -

          I can reproduce this issue in our production environment but I can not in development (mvn hpi:run). I do not know what happens in production, why descriptor jelly files are not taken up.

          Nikolas Falco added a comment - I can reproduce this issue in our production environment but I can not in development (mvn hpi:run). I do not know what happens in production, why descriptor jelly files are not taken up.

          Can confirm on Jenkins v2.176.1 with version 2.3.5

          Sagar Khushalani added a comment - Can confirm on Jenkins v2.176.1 with version 2.3.5
          Nikolas Falco made changes -
          Link New: This issue is duplicated by JENKINS-58202 [ JENKINS-58202 ]
          Nikolas Falco made changes -
          Summary Original: Can't configure report pattern in job configuration ui New: Can't configure report pattern in job configuration UI
          Nikolas Falco made changes -
          Status Original: Open [ 1 ] New: In Progress [ 3 ]
          Nikolas Falco made changes -
          Released As New: 2.1.1-1
          Resolution New: Fixed [ 1 ]
          Status Original: In Progress [ 3 ] New: Closed [ 6 ]

            nfalco Nikolas Falco
            gerrietr Gerriet Reents
            Votes:
            2 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: