Class PromotionTrigger

java.lang.Object
hudson.triggers.Trigger<AbstractProject>
hudson.plugins.promoted_builds.PromotionTrigger
All Implemented Interfaces:
ExtensionPoint, Describable<Trigger<?>>

public class PromotionTrigger extends Trigger<AbstractProject>
Trigger that starts a build when a promotion happens.
Author:
Kohsuke Kawaguchi
  • Constructor Details

    • PromotionTrigger

      @DataBoundConstructor public PromotionTrigger(String jobName, String process)
  • Method Details

    • getJobName

      public String getJobName()
    • getProcess

      public String getProcess()
    • appliesTo

      public boolean appliesTo(PromotionProcess proc)
    • consider

      public void consider(Promotion p)