jenkins.plugins.rhnpush
Class RhnPush

java.lang.Object
  extended by hudson.tasks.BuildStepCompatibilityLayer
      extended by hudson.tasks.Publisher
          extended by hudson.tasks.Recorder
              extended by jenkins.plugins.rhnpush.RhnPush
All Implemented Interfaces:
hudson.ExtensionPoint, hudson.model.Describable<hudson.tasks.Publisher>, hudson.tasks.BuildStep

public class RhnPush
extends hudson.tasks.Recorder


Nested Class Summary
static class RhnPush.RpmPublisherDescriptor
           
 
Nested classes/interfaces inherited from class hudson.tasks.Publisher
hudson.tasks.Publisher.DescriptorExtensionListImpl
 
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson
 
Nested classes/interfaces inherited from interface hudson.tasks.BuildStep
hudson.tasks.BuildStep.PublisherList
 
Field Summary
 
Fields inherited from interface hudson.tasks.BuildStep
BUILDERS, PUBLISHERS
 
Constructor Summary
RhnPush(String serverType, String satelliteServerHostname, String server, String username, hudson.util.Secret password, boolean deployEvenBuildFail, boolean noGpg, List<RhnPushEntry> publishedRpms)
           
 
Method Summary
 List<RhnPushEntry> getEntries()
           
 hudson.util.Secret getPassword()
           
 hudson.tasks.BuildStepMonitor getRequiredMonitorService()
           
 String getSatelliteServerHostname()
           
 String getServer()
           
 String getServerType()
           
 String getUsername()
           
 boolean isDeployEvenBuildFail()
           
 boolean isNoGpg()
           
 boolean perform(hudson.model.AbstractBuild<?,?> build, hudson.Launcher launcher, hudson.model.BuildListener listener)
           
 
Methods inherited from class hudson.tasks.Recorder
getDescriptor
 
Methods inherited from class hudson.tasks.Publisher
all, getProjectAction, needsToRunAfterFinalized, prebuild
 
Methods inherited from class hudson.tasks.BuildStepCompatibilityLayer
getProjectAction, getProjectActions, 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, prebuild
 

Constructor Detail

RhnPush

@DataBoundConstructor
public RhnPush(String serverType,
                                    String satelliteServerHostname,
                                    String server,
                                    String username,
                                    hudson.util.Secret password,
                                    boolean deployEvenBuildFail,
                                    boolean noGpg,
                                    List<RhnPushEntry> publishedRpms)
Method Detail

getRequiredMonitorService

public hudson.tasks.BuildStepMonitor getRequiredMonitorService()

getEntries

public List<RhnPushEntry> getEntries()

isDeployEvenBuildFail

public boolean isDeployEvenBuildFail()

isNoGpg

public boolean isNoGpg()

getServer

public String getServer()

getUsername

public String getUsername()

getPassword

public hudson.util.Secret getPassword()

perform

public boolean perform(hudson.model.AbstractBuild<?,?> build,
                       hudson.Launcher launcher,
                       hudson.model.BuildListener listener)
                throws InterruptedException,
                       IOException
Specified by:
perform in interface hudson.tasks.BuildStep
Overrides:
perform in class hudson.tasks.BuildStepCompatibilityLayer
Throws:
InterruptedException
IOException

getServerType

public String getServerType()

getSatelliteServerHostname

public String getSatelliteServerHostname()


Copyright © 2004-2013 SpecEMS. All Rights Reserved.