By "folder", do you mean a view created with the View plugin ? If so, you can use a regex in the view definition that selects jobs by a substring in their name, as there will be no need to do anything extra in your script.
-- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.