public class ConditionalPublisher extends Object implements Describable<ConditionalPublisher>, DependecyDeclarer
Modifier and Type | Class and Description |
---|---|
static class |
ConditionalPublisher.ConditionalPublisherDescriptor |
Constructor and Description |
---|
ConditionalPublisher(org.jenkins_ci.plugins.run_condition.RunCondition condition,
BuildStep publisher,
org.jenkins_ci.plugins.run_condition.BuildStepRunner runner)
Deprecated.
|
ConditionalPublisher(org.jenkins_ci.plugins.run_condition.RunCondition condition,
BuildStep publisher,
org.jenkins_ci.plugins.run_condition.BuildStepRunner runner,
boolean configuredAggregation,
org.jenkins_ci.plugins.run_condition.RunCondition aggregationCondition,
org.jenkins_ci.plugins.run_condition.BuildStepRunner aggregationRunner)
|
ConditionalPublisher(org.jenkins_ci.plugins.run_condition.RunCondition condition,
List<BuildStep> publisherList,
org.jenkins_ci.plugins.run_condition.BuildStepRunner runner,
boolean configuredAggregation,
org.jenkins_ci.plugins.run_condition.RunCondition aggregationCondition,
org.jenkins_ci.plugins.run_condition.BuildStepRunner aggregationRunner)
Deprecated.
|
ConditionalPublisher(org.jenkins_ci.plugins.run_condition.RunCondition condition,
List<BuildStep> publisherList,
org.jenkins_ci.plugins.run_condition.BuildStepRunner runner,
boolean configuredAggregation,
org.jenkins_ci.plugins.run_condition.RunCondition aggregationCondition,
org.jenkins_ci.plugins.run_condition.BuildStepRunner aggregationRunner,
ConditionalExecutionStrategy executionStrategy) |
@Deprecated public ConditionalPublisher(org.jenkins_ci.plugins.run_condition.RunCondition condition, BuildStep publisher, org.jenkins_ci.plugins.run_condition.BuildStepRunner runner)
@Deprecated public ConditionalPublisher(org.jenkins_ci.plugins.run_condition.RunCondition condition, BuildStep publisher, org.jenkins_ci.plugins.run_condition.BuildStepRunner runner, boolean configuredAggregation, org.jenkins_ci.plugins.run_condition.RunCondition aggregationCondition, org.jenkins_ci.plugins.run_condition.BuildStepRunner aggregationRunner)
ConditionalPublisher(RunCondition, List, BuildStepRunner, boolean, RunCondition, BuildStepRunner)
insteadcondition
- publisher
- runner
- configuredAggregation
- aggregationCondition
- aggregationRunner
- ConditionalPublisher.ConditionalPublisherDescriptor.newInstance(StaplerRequest, JSONObject)
@Deprecated public ConditionalPublisher(org.jenkins_ci.plugins.run_condition.RunCondition condition, List<BuildStep> publisherList, org.jenkins_ci.plugins.run_condition.BuildStepRunner runner, boolean configuredAggregation, org.jenkins_ci.plugins.run_condition.RunCondition aggregationCondition, org.jenkins_ci.plugins.run_condition.BuildStepRunner aggregationRunner)
condition
- publisherList
- runner
- configuredAggregation
- aggregationCondition
- aggregationRunner
- ConditionalPublisher.ConditionalPublisherDescriptor.newInstance(StaplerRequest, JSONObject)
@DataBoundConstructor public ConditionalPublisher(org.jenkins_ci.plugins.run_condition.RunCondition condition, List<BuildStep> publisherList, org.jenkins_ci.plugins.run_condition.BuildStepRunner runner, boolean configuredAggregation, org.jenkins_ci.plugins.run_condition.RunCondition aggregationCondition, org.jenkins_ci.plugins.run_condition.BuildStepRunner aggregationRunner, ConditionalExecutionStrategy executionStrategy)
public org.jenkins_ci.plugins.run_condition.RunCondition getCondition()
@Deprecated public BuildStep getPublisher()
getPublisherList()
insteadpublic org.jenkins_ci.plugins.run_condition.BuildStepRunner getRunner()
public org.jenkins_ci.plugins.run_condition.RunCondition getAggregationCondition()
public org.jenkins_ci.plugins.run_condition.BuildStepRunner getAggregationRunner()
public boolean isConfiguredAggregation()
public ConditionalExecutionStrategy getExecutionStrategy()
public ConditionalPublisher.ConditionalPublisherDescriptor getDescriptor()
getDescriptor
in interface Describable<ConditionalPublisher>
public Collection<? extends Action> getProjectActions(AbstractProject<?,?> project)
public boolean prebuild(AbstractBuild<?,?> build, BuildListener listener)
public boolean perform(AbstractBuild<?,?> build, Launcher launcher, BuildListener listener) throws InterruptedException, IOException
InterruptedException
IOException
public ConditionalMatrixAggregator createAggregator(hudson.matrix.MatrixBuild build, Launcher launcher, BuildListener listener)
public Object readResolve()
public void buildDependencyGraph(AbstractProject owner, DependencyGraph graph)
buildDependencyGraph
in interface DependencyDeclarer
Copyright © 2016–2021. All rights reserved.