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

flags "skipNoTestFiles" and "failIfNotNew" are not saved properly [since xunit 1.56]

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      Since xunit 1.56, the 2 following fields are not saved properly:

      ...
      Skip if there are no test files [ ]
      Fail the build if test results were not updated this run [ ]
      ...

      Ticking/not ticking the checkboxes has not effect on saved values (hardcoded to false):

      <xunit plugin="xunit@1.56">
        <types>
          <JUnitType>
            ...
            <skipNoTestFiles>false</skipNoTestFiles>
            <failIfNotNew>false</failIfNotNew>
            ...
          </JUnitType>
        </types>
      </xunit>
      

      Other fields are still behaving properly.

        Attachments

          Activity

          Hide
          mde Dezso Moldvai added a comment -

          I still can't save skipNoTestFiles set to true on some types (failIfNotNew is OK). I set all four checkboxes to checked in the GUI in both Boost and JUnit modules:

              <xunit plugin="xunit@1.64">
                <types>
                  <BoostTestJunitHudsonTestType>
          	  ...
                    <skipNoTestFiles>true</skipNoTestFiles>
                    <failIfNotNew>true</failIfNotNew>
                    <deleteOutputFiles>true</deleteOutputFiles>
                    <stopProcessingIfError>true</stopProcessingIfError>
                  </BoostTestJunitHudsonTestType>
                  <JUnitType>
          	  ...
                    <skipNoTestFiles>false</skipNoTestFiles>
                    <failIfNotNew>true</failIfNotNew>
                    <deleteOutputFiles>true</deleteOutputFiles>
                    <stopProcessingIfError>true</stopProcessingIfError>
                  </JUnitType>
                </types>
          ...
          

          Jenkins ver. 1.538

          Show
          mde Dezso Moldvai added a comment - I still can't save skipNoTestFiles set to true on some types (failIfNotNew is OK). I set all four checkboxes to checked in the GUI in both Boost and JUnit modules: <xunit plugin= "xunit@1.64" > <types> <BoostTestJunitHudsonTestType> ... <skipNoTestFiles> true </skipNoTestFiles> <failIfNotNew> true </failIfNotNew> <deleteOutputFiles> true </deleteOutputFiles> <stopProcessingIfError> true </stopProcessingIfError> </BoostTestJunitHudsonTestType> <JUnitType> ... <skipNoTestFiles> false </skipNoTestFiles> <failIfNotNew> true </failIfNotNew> <deleteOutputFiles> true </deleteOutputFiles> <stopProcessingIfError> true </stopProcessingIfError> </JUnitType> </types> ... Jenkins ver. 1.538
          Hide
          mde Dezso Moldvai added a comment - - edited

          .

          Show
          mde Dezso Moldvai added a comment - - edited .
          Hide
          harcher81 Mathieu Cantin added a comment -

          I'm confirm this problem with Jenkins 1.509.4, I try to correct it the next week.

          Show
          harcher81 Mathieu Cantin added a comment - I'm confirm this problem with Jenkins 1.509.4, I try to correct it the next week.
          Hide
          gbois Gregory Boissinot added a comment -

          Fixed with the l.70.
          Please check it and reopen the issue if the problem persists.

          Show
          gbois Gregory Boissinot added a comment - Fixed with the l.70. Please check it and reopen the issue if the problem persists.
          Hide
          rdesgroppes Régis Desgroppes added a comment -

          Thanks a lot and merci beaucoup.

          Show
          rdesgroppes Régis Desgroppes added a comment - Thanks a lot and merci beaucoup.

            People

            • Assignee:
              gbois Gregory Boissinot
              Reporter:
              rdesgroppes Régis Desgroppes
            • Votes:
              4 Vote for this issue
              Watchers:
              11 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: