Class TriggerPRLabelBranchProperty

  • All Implemented Interfaces:
    ExtensionPoint, Describable<jenkins.branch.BranchProperty>

    public class TriggerPRLabelBranchProperty
    extends TriggerBranchProperty
    Allows a GitHub pull request comment to trigger an immediate build based on a comment string.
    • Constructor Detail

      • TriggerPRLabelBranchProperty

        @DataBoundConstructor
        public TriggerPRLabelBranchProperty​(String label)
        Constructor.
        Parameters:
        label - the comment body to trigger a new build on
    • Method Detail

      • getLabel

        public String getLabel()
        The comment body to trigger a new build on.
        Returns:
        the comment body to use