Class ReleasePromotionCondition

  • All Implemented Interfaces:
    ExtensionPoint, Describable<hudson.plugins.promoted_builds.PromotionCondition>

    public class ReleasePromotionCondition
    extends hudson.plugins.promoted_builds.PromotionCondition
    Add support for the promotion plugin by adding a condition that the build must be a released build.
    Peter Hayes
    • Constructor Detail

      • ReleasePromotionCondition

        public ReleasePromotionCondition()
    • Method Detail

      • isMet

        public hudson.plugins.promoted_builds.PromotionBadge isMet​(AbstractBuild<?,​?> build)
        isMet in class hudson.plugins.promoted_builds.PromotionCondition
      • registerExtension

        public static void registerExtension()
        Caused duplication of descriptor (see JENKINS-11176). Replaced by the Extension annotation in the PromotionConditionDescriptor.
        Register a new instance of PromotionConditionDescriptor to this PromotionCondition