Class VersionNumberStep

java.lang.Object
hudson.model.AbstractDescribableImpl<org.jenkinsci.plugins.workflow.steps.Step>
org.jenkinsci.plugins.workflow.steps.Step
org.jenkinsci.plugins.workflow.steps.AbstractStepImpl
org.jvnet.hudson.tools.versionnumber.VersionNumberStep
All Implemented Interfaces:
ExtensionPoint, Describable<org.jenkinsci.plugins.workflow.steps.Step>

public class VersionNumberStep extends org.jenkinsci.plugins.workflow.steps.AbstractStepImpl
Returns the version number according to the specified version number string. Used like:
 def x = VersionNumber("${BUILDS_TODAY}")
 
  • Field Details

    • versionNumberString

      public final String versionNumberString
    • skipFailedBuilds

      @DataBoundSetter @Deprecated public boolean skipFailedBuilds
      Deprecated.
    • worstResultForIncrement

      @DataBoundSetter public String worstResultForIncrement
    • versionPrefix

      @DataBoundSetter public String versionPrefix
    • projectStartDate

      @DataBoundSetter public String projectStartDate
    • overrideBuildsAllTime

      @DataBoundSetter public String overrideBuildsAllTime
    • overrideBuildsToday

      @DataBoundSetter public String overrideBuildsToday
    • overrideBuildsThisWeek

      @DataBoundSetter public String overrideBuildsThisWeek
    • overrideBuildsThisMonth

      @DataBoundSetter public String overrideBuildsThisMonth
    • overrideBuildsThisYear

      @DataBoundSetter public String overrideBuildsThisYear
  • Constructor Details

    • VersionNumberStep

      @DataBoundConstructor public VersionNumberStep(String versionNumberString)
  • Method Details

    • getProjectStartDate

      public Date getProjectStartDate()
    • getVersionPrefix

      public String getVersionPrefix()
    • getWorstResultForIncrement

      public Result getWorstResultForIncrement()