Files Found Trigger

Build trigger that polls a directory and starts a build if certain files are found within that directory.

Plugin Information

Latest release to Hudson update center: 1.1.3 (Jul 18, 2010).
http://java.net/projects/hudson-plugins/sources/files-found-trigger/show

Later releases are available from the Jenkins update center.
See http://wiki.jenkins-ci.org/display/JENKINS/Files+Found+Trigger

Instructions

See also:

Requirements

  • Hudson 1.301 or later.
  • Java 5 or later.

Release History

New releases may take a few hours to appear in the update center.

1.1.3 Jul 18, 2010
1.1.2 Jun 20, 2010
  • Now requires at least Hudson 1.301, rather than 1.349.
1.1.1 Jun 4, 2010
  • Fixed the broken Ant documentation links within the help messages.
1.1 Apr 25, 2010
  • Added a button to test the entered configuration before saving.
  • The Files to find field now defaults to **.
  • By default, no files are ignored. Previous releases ignored all files in the Ant default excludes.
1.0.1 Apr 23, 2010
  • An exception no longer appears in the console when the entered directory does not exist.
1.0 Mar 16, 2010
  • Initial release.

Labels:

plugin-trigger plugin-trigger Delete
Enter labels to add to this page:
Wait Image 
Looking for a label? Just start typing.
  1. Jul 13, 2010

    Adam Chandler says:

    In (at least) your FilesFoundTrigger.java code, you use the isEmpty() method on ...

    In (at least) your FilesFoundTrigger.java code, you use the isEmpty() method on the string class, which I believe wasn't introduced until Java 6.  This makes the plugin incompatible with older versions of 1.5+.  Was that your wish?  Or could you make this backward-compatible with anything that Hudson itself is compatible with?

    UPDATE:  I rebuilt after removing the .isEmpty() calls in your two source files and all works as expected on a 1.5+ system.

    1. Jul 18, 2010

      Steven Brown says:

      Thanks for letting me know, Adam. Fixed in release 1.1.3.

      Thanks for letting me know, Adam. Fixed in release 1.1.3.