Class ReleaseStep

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

    @Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class)
    public class ReleaseStep
    extends org.jenkinsci.plugins.workflow.steps.Step
    Pipeline step implementation for the Release plugin.
    Since:
    2.7
    Author:
    Alexey Merezhin
    • Constructor Detail

      • ReleaseStep

        @DataBoundConstructor
        public ReleaseStep​(String job)
    • Method Detail

      • getJob

        @CheckForNull
        public String getJob()
        Gets full name of the job to be released
        Returns:
        Full name of the job. null if it is not specified in the Pipeline definition. null will cause the build failure.
      • setJob

        @Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class)
        public void setJob​(String job)
      • setParameters

        @DataBoundSetter
        public void setParameters​(List<ParameterValue> parameters)
      • start

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