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

"fail the build if no test results are present" option doesn't fail the job.

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Minor
    • Resolution: Not A Defect
    • tap-plugin
    • None
    • Jenkins: 1.551
      Tap: 1.18

    Description

      The "fail the build if no test results are present" option doesn't fail the job. The tap results file exists and contains a single string (not test results).

      TAP Reports Processing: START
      Looking for TAP results report in workspace using pattern: js_unittest_results.txt
      Saving reports...
      Processing '/var/lib/jenkins/jobs/testing/builds/2014-03-18_13-04-29/tap-master-files/js_unittest_results.txt'
      Parsing TAP test result [/var/lib/jenkins/jobs/testing/builds/2014-03-18_13-04-29/tap-master-files/js_unittest_results.txt].
      TAP Reports Processing: FINISH
      Finished: SUCCESS
      
      [bmannix@glados ~]$ cat /var/lib/jenkins/jobs/testing/builds/2014-03-18_13-04-29/tap-master-files/js_unittest_results.txt
      object
      

      EXPECTED BEHAVIOR:

      The build fails based on not finding any tap test results.

      Attachments

        Activity

          bmannix Brendan Mannix created issue -
          rtyler R. Tyler Croy made changes -
          Field Original Value New Value
          Workflow JNJira [ 154330 ] JNJira + In-Review [ 178769 ]
          kinow Bruno P. Kinoshita made changes -
          Status Open [ 1 ] In Progress [ 3 ]
          kinow Bruno P. Kinoshita made changes -
          Status In Progress [ 3 ] Open [ 1 ]
          kinow Bruno P. Kinoshita made changes -
          Resolution Not A Defect [ 7 ]
          Status Open [ 1 ] Resolved [ 5 ]
          kinow Bruno P. Kinoshita made changes -
          Status Resolved [ 5 ] Closed [ 6 ]

          People

            kinow Bruno P. Kinoshita
            bmannix Brendan Mannix
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: