-
New Feature
-
Resolution: Fixed
-
Major
-
None
Modify this plugin to act like the "Promoted Builds Simple" plugin for exposing promoted builds to the CopyArtifact plugin. The "Promoted Builds Simple" plugin uses a BuildSelector in its PromotedBuildsSimplePlugin class that does this:
@Extension public static Descriptor initBuildSelector() {
// Add BuildSelector extension if Copy Artifact plugin is present
try {
Class.forName("hudson.plugins.copyartifact.BuildSelector");
return PromotedBuildSelector.DESCRIPTOR;
}
catch (ClassNotFoundException ignore) {
return null;
}
}
and defines PromotedBuildSelector which uses an action. Based on my limited knowledge this seems to make the builds promoted by the "Promoted Builds Simple" plugin available to the "Copy Artifact" plugin. Can a simple extension point be added to this Promoted Builds plugin to enable the builds promoted by it to be available to the "Copy Artifact" plugin. This would be a very valuable feature to this plugin, much like it is to the "Promoted Builds Simple" plugin.