Give a groovy script.
If the script result is evaluate to true, a build is scheduled.