jenkinsci/job-dsl-plugin — pull request #105 by mikedougherty (2013-10-30 07:24:32+00:00)
Title: TextFinder: fileSet should not be present if empty

If the fileSet is provided but has an empty body, it appears to match all files, thus grepping the entire workspace.

This change will only add the element if the value is non-empty (truthy).

Affected test has been updated, and currently running this on our production jenkins instance :)