Class YarnStep

  • All Implemented Interfaces:
    hudson.ExtensionPoint, hudson.model.Describable<hudson.tasks.Builder>, hudson.tasks.BuildStep, java.io.Serializable, jenkins.tasks.SimpleBuildStep

    public class YarnStep
    extends NodeStep
    implements jenkins.tasks.SimpleBuildStep, java.io.Serializable
    See Also:
    Serialized Form
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  YarnStep.DescriptorImplementation  
      • Nested classes/interfaces inherited from interface hudson.tasks.BuildStep

        hudson.tasks.BuildStep.PublisherList
      • Nested classes/interfaces inherited from interface hudson.ExtensionPoint

        hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson
      • Nested classes/interfaces inherited from interface jenkins.tasks.SimpleBuildStep

        jenkins.tasks.SimpleBuildStep.LastBuildAction, jenkins.tasks.SimpleBuildStep.LastBuildActionFactory
    • Field Summary

      • Fields inherited from interface hudson.tasks.BuildStep

        BUILDERS, PUBLISHERS
    • Constructor Summary

      Constructors 
      Constructor Description
      YarnStep​(java.lang.String command)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getCommand()  
      void perform​(hudson.model.Run build, hudson.FilePath workspace, hudson.EnvVars envVars, hudson.Launcher launcher, hudson.model.TaskListener listener)  
      • Methods inherited from class hudson.tasks.Builder

        all, getDescriptor, getRequiredMonitorService, prebuild
      • Methods inherited from class hudson.tasks.BuildStepCompatibilityLayer

        getProjectAction, getProjectAction, getProjectActions, perform, perform, prebuild
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface hudson.tasks.BuildStep

        getProjectAction, getProjectActions, getRequiredMonitorService, perform, prebuild
      • Methods inherited from interface jenkins.tasks.SimpleBuildStep

        perform, perform, requiresWorkspace
    • Constructor Detail

      • YarnStep

        @DataBoundConstructor
        public YarnStep​(java.lang.String command)
    • Method Detail

      • getCommand

        public java.lang.String getCommand()
      • perform

        public void perform​(hudson.model.Run build,
                            hudson.FilePath workspace,
                            hudson.EnvVars envVars,
                            hudson.Launcher launcher,
                            hudson.model.TaskListener listener)
                     throws java.io.IOException,
                            java.lang.InterruptedException
        Specified by:
        perform in interface jenkins.tasks.SimpleBuildStep
        Throws:
        java.io.IOException
        java.lang.InterruptedException