Class TriggerPRCommentBranchProperty

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

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

      • TriggerPRCommentBranchProperty

        public TriggerPRCommentBranchProperty​(String commentBody)
        commentBody - the comment body to trigger a new build on
    • Method Detail

      • getCommentBody

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