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

Want Text Finder to be able to ignore missing files


    • Similar Issues:


      I configure the Text-finder plugin to search a specific filename.

      If the file does not exist, the following message is written to the log:

      Hudson Text Finder: File set 'post_build_status_marker.txt' is empty

      and the build is marked as unstable (I have "Unstable if found" checked, otherwise I presume the build would be marked as fail).

      I think this behavior is wrong. If there are no files to search, then the regular expression is simply not matched.

      I would suggest the following possible solutions (in descending order of preference):
      (1) change the behavior so that if no files match the file list, this is not an error
      OR (2) provide a checkbox so that the user can say whether or not "no matching files" is an error
      OR (3) at a minimum, update the documentation (and help text on the configure page) to specify the existing behavior



          mwebber Matthew Webber created issue -
          rtyler R. Tyler Croy made changes -
          Field Original Value New Value
          Workflow JNJira [ 137647 ] JNJira + In-Review [ 174743 ]
          basil Basil Crow made changes -
          Issue Type Bug [ 1 ] New Feature [ 2 ]
          basil Basil Crow made changes -
          Summary Text-finder plugin handling of missing files to search Want Text Finder to be able to ignore missing files
          basil Basil Crow made changes -
          Assignee drlewis [ drlewis ]


            • Assignee:
              mwebber Matthew Webber
            • Votes:
              4 Vote for this issue
              7 Start watching this issue


              • Created: