org.jenkinsci.plugins.ParameterizedRemoteTrigger
Class RemoteBuildConfiguration

java.lang.Object
  extended by hudson.tasks.BuildStepCompatibilityLayer
      extended by hudson.tasks.Builder
          extended by org.jenkinsci.plugins.ParameterizedRemoteTrigger.RemoteBuildConfiguration
All Implemented Interfaces:
hudson.ExtensionPoint, hudson.model.Describable<hudson.tasks.Builder>, hudson.tasks.BuildStep

public class RemoteBuildConfiguration
extends hudson.tasks.Builder

Author:
Maurice W.

Nested Class Summary
static class RemoteBuildConfiguration.DescriptorImpl
           
 
Nested classes/interfaces inherited from interface hudson.tasks.BuildStep
hudson.tasks.BuildStep.PublisherList
 
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson
 
Field Summary
 
Fields inherited from interface hudson.tasks.BuildStep
BUILDERS, PUBLISHERS
 
Constructor Summary
RemoteBuildConfiguration(String remoteJenkinsName, boolean shouldNotFailBuild, String job, String token, String parameters)
           
RemoteBuildConfiguration(String remoteJenkinsName, boolean shouldNotFailBuild, String job, String token, String parameters, net.sf.json.JSONObject overrideAuth)
           
 
Method Summary
 RemoteJenkinsServer findRemoteHost(String displayName)
          Lookup up a Remote Jenkins Server based on display name
 Auth[] getAuth()
           
 RemoteBuildConfiguration.DescriptorImpl getDescriptor()
           
 String getJob()
           
 boolean getOverrideAuth()
           
 String getParameters()
           
 String getQueryString()
           
 String getRemoteJenkinsName()
           
 boolean getShouldNotFailBuild()
           
 String getToken()
           
 boolean perform(hudson.model.AbstractBuild build, hudson.Launcher launcher, hudson.model.BuildListener listener)
           
 
Methods inherited from class hudson.tasks.Builder
all, getRequiredMonitorService, prebuild
 
Methods inherited from class hudson.tasks.BuildStepCompatibilityLayer
getProjectAction, 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

RemoteBuildConfiguration

@DataBoundConstructor
public RemoteBuildConfiguration(String remoteJenkinsName,
                                                     boolean shouldNotFailBuild,
                                                     String job,
                                                     String token,
                                                     String parameters,
                                                     net.sf.json.JSONObject overrideAuth)
                         throws MalformedURLException
Throws:
MalformedURLException

RemoteBuildConfiguration

public RemoteBuildConfiguration(String remoteJenkinsName,
                                boolean shouldNotFailBuild,
                                String job,
                                String token,
                                String parameters)
                         throws MalformedURLException
Throws:
MalformedURLException
Method Detail

findRemoteHost

public RemoteJenkinsServer findRemoteHost(String displayName)
Lookup up a Remote Jenkins Server based on display name

Parameters:
displayName - Name of the configuration you are looking for
Returns:
A RemoteSitez object

perform

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

getRemoteJenkinsName

public String getRemoteJenkinsName()

getJob

public String getJob()

getShouldNotFailBuild

public boolean getShouldNotFailBuild()

getToken

public String getToken()

getOverrideAuth

public boolean getOverrideAuth()

getAuth

public Auth[] getAuth()

getParameters

public String getParameters()

getQueryString

public String getQueryString()

getDescriptor

public RemoteBuildConfiguration.DescriptorImpl getDescriptor()
Specified by:
getDescriptor in interface hudson.model.Describable<hudson.tasks.Builder>
Overrides:
getDescriptor in class hudson.tasks.Builder


Copyright © 2004-2013. All Rights Reserved.