improved the message so that the log shows the actual triggering.

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@2220 71c3de6d-444a-0410-be80-ed276b4c234a
This commit is contained in:
kohsuke committed 2007-02-15 15:35:23 +00:00
1 parent d8c0e9e4dd
commit b8de9d12fa
1 file changed
+3
@@ -56,6 +56,9 @@ public class BuildTrigger extends Publisher {
logger.println(p.getName()+" is disabled. Triggering skiiped");
continue;
}
// this is not completely accurate, as a new build might be triggered
// between these calls
String name = p.getName()+" #"+p.getNextBuildNumber();
if(!p.scheduleBuild()) {
logger.println("Triggering a new build of "+name);