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

Can't configure report pattern in job configuration UI

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Critical
    • Resolution: Fixed
    • Component/s: dtkit-plugin, xunit-plugin
    • Labels:
      None
    • Environment:
      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
    • Similar Issues:
    • Released As:
      2.1.1-1

      Description

      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

       

       

        Attachments

          Issue Links

            Activity

            Hide
            ukongoto 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

            Show
            ukongoto 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
            Hide
            nfalco 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.

            Show
            nfalco 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.
            Hide
            skhushalani Sagar Khushalani added a comment -

            Can confirm on Jenkins v2.176.1 with version 2.3.5

            Show
            skhushalani Sagar Khushalani added a comment - Can confirm on Jenkins v2.176.1 with version 2.3.5
            Hide
            nfalco Nikolas Falco added a comment -

            Fix released in DTKit API plugin 2.1.1-1. Jelly file for tools are moved there. Tested in our production environment.

            Show
            nfalco Nikolas Falco added a comment - Fix released in DTKit API plugin 2.1.1-1. Jelly file for tools are moved there. Tested in our production environment.
            Hide
            pjaytycy Pieter-Jan Busschaert added a comment -

            Can somebody please write a changelog entry for that DTKit update that mentions this issue?
            I had the same problem and it took a while (until finding this issue) that the DTKit update might be related.
            Even better: make the xUnit plugin depend on that updated version of the DTKit plugin?

            (I typically wait to update plugins if I can't find a changelog entry for the update)

            Show
            pjaytycy Pieter-Jan Busschaert added a comment - Can somebody please write a changelog entry for that DTKit update that mentions this issue? I had the same problem and it took a while (until finding this issue) that the DTKit update might be related. Even better: make the xUnit plugin depend on that updated version of the DTKit plugin? (I typically wait to update plugins if I can't find a changelog entry for the update)

              People

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

                Dates

                Created:
                Updated:
                Resolved: