Class ChangeLogConditional

java.lang.Object
hudson.model.AbstractDescribableImpl<T>
org.jenkinsci.plugins.pipeline.modeldefinition.withscript.WithScriptDescribable<S>
org.jenkinsci.plugins.pipeline.modeldefinition.when.DeclarativeStageConditional<ChangeLogConditional>
org.jenkinsci.plugins.pipeline.modeldefinition.when.impl.ChangeLogConditional
All Implemented Interfaces:
ExtensionPoint, Describable<ChangeLogConditional>, Serializable

public class ChangeLogConditional extends org.jenkinsci.plugins.pipeline.modeldefinition.when.DeclarativeStageConditional<ChangeLogConditional>
Conditional that checks the messages in the changelog. The build must first have collected the changelog via for example checkout scm.
See Also:
  • Constructor Details

    • ChangeLogConditional

      @DataBoundConstructor public ChangeLogConditional(String pattern)
  • Method Details

    • getAsPattern

      public Pattern getAsPattern()
    • getPattern

      public String getPattern()
    • getMultiLinePattern

      public Pattern getMultiLinePattern()
    • expandForMultiLine

      @Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class) public static String expandForMultiLine(String pattern)