org.jenkins_ci.plugins.flexible_publish.strategy
クラス FailAtEndExecutionStrategy

java.lang.Object
  上位を拡張 hudson.model.AbstractDescribableImpl<ConditionalExecutionStrategy>
      上位を拡張 org.jenkins_ci.plugins.flexible_publish.strategy.ConditionalExecutionStrategy
          上位を拡張 org.jenkins_ci.plugins.flexible_publish.strategy.FailAtEndExecutionStrategy
すべての実装されたインタフェース:
hudson.ExtensionPoint, hudson.model.Describable<ConditionalExecutionStrategy>

public class FailAtEndExecutionStrategy
extends ConditionalExecutionStrategy

Run all publishers even some of them fail. To be exact, work as Jenkins core does:

prebuild fail fast
perform fail at end
aggregation startBuild fail fast
aggregation endRun fail fast
aggregation endBuild fail at end


入れ子のクラスの概要
static class FailAtEndExecutionStrategy.DescriptorImpl
           
 
クラス org.jenkins_ci.plugins.flexible_publish.strategy.ConditionalExecutionStrategy から継承された入れ子のクラス/インタフェース
ConditionalExecutionStrategy.AggregatorContext, ConditionalExecutionStrategy.PublisherContext
 
インタフェース hudson.ExtensionPoint から継承された入れ子のクラス/インタフェース
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson
 
コンストラクタの概要
FailAtEndExecutionStrategy()
           
 
メソッドの概要
 boolean matrixAggregationEndBuild(ConditionalExecutionStrategy.AggregatorContext aggregatorContext)
          Run MatrixAggregator.endBuild() for all publishes.
 boolean matrixAggregationEndRun(ConditionalExecutionStrategy.AggregatorContext aggregatorContext, hudson.matrix.MatrixRun run)
          Run MatrixAggregator.endRun(MatrixRun) for all publishes.
 boolean matrixAggregationStartBuild(ConditionalExecutionStrategy.AggregatorContext aggregatorContext)
          Run MatrixAggregator.startBuild() for all publishes.
 boolean perform(ConditionalExecutionStrategy.PublisherContext context, hudson.model.AbstractBuild<?,?> build, hudson.Launcher launcher, hudson.model.BuildListener listener)
          Run BuildStep.perform(AbstractBuild, Launcher, BuildListener) for all publishes.
 boolean prebuild(ConditionalExecutionStrategy.PublisherContext context, hudson.model.AbstractBuild<?,?> build, hudson.model.BuildListener listener)
          Run BuildStep.prebuild(AbstractBuild, BuildListener) for all publishers.
 
クラス org.jenkins_ci.plugins.flexible_publish.strategy.ConditionalExecutionStrategy から継承されたメソッド
all
 
クラス hudson.model.AbstractDescribableImpl から継承されたメソッド
getDescriptor
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

FailAtEndExecutionStrategy

@DataBoundConstructor
public FailAtEndExecutionStrategy()
メソッドの詳細

prebuild

public boolean prebuild(ConditionalExecutionStrategy.PublisherContext context,
                        hudson.model.AbstractBuild<?,?> build,
                        hudson.model.BuildListener listener)
クラス ConditionalExecutionStrategy の記述:
Run BuildStep.prebuild(AbstractBuild, BuildListener) for all publishers.

定義:
クラス ConditionalExecutionStrategy 内の prebuild
戻り値:
false to abort the build.

perform

public boolean perform(ConditionalExecutionStrategy.PublisherContext context,
                       hudson.model.AbstractBuild<?,?> build,
                       hudson.Launcher launcher,
                       hudson.model.BuildListener listener)
                throws InterruptedException,
                       IOException
クラス ConditionalExecutionStrategy の記述:
Run BuildStep.perform(AbstractBuild, Launcher, BuildListener) for all publishes.

定義:
クラス ConditionalExecutionStrategy 内の perform
戻り値:
false to indicate a failure. That doesn't abort the build.
例外:
InterruptedException
IOException

matrixAggregationStartBuild

public boolean matrixAggregationStartBuild(ConditionalExecutionStrategy.AggregatorContext aggregatorContext)
                                    throws InterruptedException,
                                           IOException
クラス ConditionalExecutionStrategy の記述:
Run MatrixAggregator.startBuild() for all publishes.

定義:
クラス ConditionalExecutionStrategy 内の matrixAggregationStartBuild
戻り値:
例外:
InterruptedException
IOException

matrixAggregationEndRun

public boolean matrixAggregationEndRun(ConditionalExecutionStrategy.AggregatorContext aggregatorContext,
                                       hudson.matrix.MatrixRun run)
                                throws InterruptedException,
                                       IOException
クラス ConditionalExecutionStrategy の記述:
Run MatrixAggregator.endRun(MatrixRun) for all publishes.

定義:
クラス ConditionalExecutionStrategy 内の matrixAggregationEndRun
戻り値:
例外:
InterruptedException
IOException

matrixAggregationEndBuild

public boolean matrixAggregationEndBuild(ConditionalExecutionStrategy.AggregatorContext aggregatorContext)
                                  throws InterruptedException,
                                         IOException
クラス ConditionalExecutionStrategy の記述:
Run MatrixAggregator.endBuild() for all publishes.

定義:
クラス ConditionalExecutionStrategy 内の matrixAggregationEndBuild
戻り値:
例外:
InterruptedException
IOException


Copyright © 2004-2015. All Rights Reserved.