Skip to content

Commit

Permalink
Merge branch 'JENKINS-11669' of git://github.com/cjo9900/parameterize…
Browse files Browse the repository at this point in the history
…d-trigger-plugin into 2.17-RC
  • Loading branch information
cjo9900 committed Jan 29, 2013
2 parents 16c37c1 + 0ca4cbd commit 86e2969
Showing 1 changed file with 1 addition and 13 deletions.
Expand Up @@ -4,9 +4,6 @@
import hudson.Extension;
import hudson.Launcher;
import hudson.Util;
import hudson.matrix.MatrixAggregatable;
import hudson.matrix.MatrixAggregator;
import hudson.matrix.MatrixBuild;
import hudson.model.AbstractBuild;
import hudson.model.AbstractProject;
import hudson.model.BuildListener;
Expand All @@ -23,7 +20,7 @@
import java.util.Arrays;
import java.util.List;

public class BuildTrigger extends Notifier implements DependecyDeclarer, MatrixAggregatable {
public class BuildTrigger extends Notifier implements DependecyDeclarer {

private final ArrayList<BuildTriggerConfig> configs;

Expand Down Expand Up @@ -87,15 +84,6 @@ private boolean canDeclare(AbstractProject owner) {
&& !ownerClassName.equals("hudson.plugins.promoted_builds.PromotionProcess");
}

public MatrixAggregator createAggregator(MatrixBuild build, Launcher launcher, BuildListener listener) {
return new MatrixAggregator(build, launcher, listener) {
@Override
public boolean endBuild() throws InterruptedException, IOException {
return hudson.tasks.BuildTrigger.execute(build, listener);
}
};
}

@Extension
public static class DescriptorImpl extends BuildStepDescriptor<Publisher> {
@Override
Expand Down

0 comments on commit 86e2969

Please sign in to comment.