Class CompareVersionsStep

  • All Implemented Interfaces:
    ExtensionPoint, Describable<org.jenkinsci.plugins.workflow.steps.Step>

    public class CompareVersionsStep
    extends org.jenkinsci.plugins.workflow.steps.Step
    Compares two version numbers with each other.
    See Also:
    VersionNumber
    • Constructor Detail

      • CompareVersionsStep

        @DataBoundConstructor
        public CompareVersionsStep​(String v1,
                                   String v2)
    • Method Detail

      • getV1

        public String getV1()
      • getV2

        public String getV2()
      • isFailIfEmpty

        public boolean isFailIfEmpty()
      • setFailIfEmpty

        @DataBoundSetter
        public void setFailIfEmpty​(boolean failIfEmpty)
      • start

        public org.jenkinsci.plugins.workflow.steps.StepExecution start​(org.jenkinsci.plugins.workflow.steps.StepContext context)
                                                                 throws Exception
        Specified by:
        start in class org.jenkinsci.plugins.workflow.steps.Step
        Throws:
        Exception