org.jenkinsci.plugins.ParameterizedRemoteTrigger
Class RemoteBuildConfiguration
java.lang.Object
hudson.tasks.BuildStepCompatibilityLayer
hudson.tasks.Builder
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 classes/interfaces inherited from interface hudson.tasks.BuildStep |
hudson.tasks.BuildStep.PublisherList |
| Nested classes/interfaces inherited from interface hudson.ExtensionPoint |
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson |
| Fields inherited from interface hudson.tasks.BuildStep |
BUILDERS, PUBLISHERS |
| 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 |
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
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.