updated Publisher to support auto-discovery.

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15683 71c3de6d-444a-0410-be80-ed276b4c234a
This commit is contained in:
kohsuke committed 2009-02-24 22:53:04 +00:00
1 parent a8188ad45d
commit b63f162f75
21 files changed
+289 -111

No files matched your search

+1 -1
View File
@@ -606,7 +606,7 @@ public class Functions {
}
public static List<Descriptor<Publisher>> getPublisherDescriptors(AbstractProject<?,?> project) {
return BuildStepDescriptor.filter(BuildStep.PUBLISHERS, project.getClass());
return BuildStepDescriptor.filter(Publisher.all(), project.getClass());
}
public static List<Descriptor<ComputerLauncher>> getComputerLauncherDescriptors() {