public abstract class IvyBuilder
extends jenkins.security.MasterToSlaveCallable<hudson.model.Result,java.io.IOException>
implements hudson.remoting.DelegatingCallable<hudson.model.Result,java.io.IOException>
Callable that invokes Ant CLI (in process) and drives a build.
As a callable, this function returns the build result.
This class defines a series of event callbacks, which are invoked during the build. This allows subclass to monitor the progress of a build.
| Modifier and Type | Field and Description |
|---|---|
protected java.util.List<hudson.remoting.Future<?>> |
futures
Record all asynchronous executions as they are scheduled,
to make sure they are all completed before we finish.
|
protected hudson.model.BuildListener |
listener
Where error messages and so on are sent.
|
| Modifier | Constructor and Description |
|---|---|
protected |
IvyBuilder(hudson.model.BuildListener listener,
java.util.List<java.lang.String> goals,
java.util.Map<java.lang.String,java.lang.String> systemProps) |
| Modifier and Type | Method and Description |
|---|---|
hudson.model.Result |
call()
This code is executed inside the Ant jail process.
|
java.lang.ClassLoader |
getClassLoader() |
checkRoles, getChannelOrFail, getOpenChannelOrFailprotected final hudson.model.BuildListener listener
protected transient java.util.List<hudson.remoting.Future<?>> futures
protected IvyBuilder(hudson.model.BuildListener listener,
java.util.List<java.lang.String> goals,
java.util.Map<java.lang.String,java.lang.String> systemProps)
public hudson.model.Result call()
throws java.io.IOException
call in interface hudson.remoting.Callable<hudson.model.Result,java.io.IOException>java.io.IOExceptionpublic java.lang.ClassLoader getClassLoader()
getClassLoader in interface hudson.remoting.DelegatingCallable<hudson.model.Result,java.io.IOException>