|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecthudson.maven.AbstractMavenBuilder
public abstract class AbstractMavenBuilder
Nested Class Summary | |
---|---|
protected static class |
AbstractMavenBuilder.FilterImpl
|
Field Summary | |
---|---|
protected List<hudson.remoting.Future<?>> |
futures
Record all asynchronous executions as they are scheduled, to make sure they are all completed before we finish. |
protected List<String> |
goals
Goals to be executed in this Maven execution. |
protected BuildListener |
listener
Where error messages and so on are sent. |
protected Map<ModuleName,AbstractMavenBuilder.FilterImpl> |
proxies
|
protected Map<ModuleName,List<MavenReporter>> |
reporters
|
protected Map<ModuleName,MavenBuild.ProxyImpl2> |
sourceProxies
Kept so that we can finalize them in the end method. |
protected Map<String,String> |
systemProps
Hudson-defined system properties. |
Constructor Summary | |
---|---|
protected |
AbstractMavenBuilder(BuildListener listener,
Collection<MavenModule> modules,
List<String> goals,
Map<String,String> systemProps)
|
Method Summary | |
---|---|
protected String |
format(NumberFormat n,
long nanoTime)
|
protected String |
formatArgs(List<String> args)
|
ClassLoader |
getClassLoader()
|
protected void |
initializeAsynchronousExecutions()
Initialize the collection of the asynchronous executions. |
protected boolean |
isDebug()
|
protected boolean |
isQuiet()
|
protected void |
recordAsynchronousExecution(hudson.remoting.Future<?> future)
Records a new asynchronous exection. |
protected void |
registerSystemProperties()
Add all the jenkins environment variables into the system properties
Ignores jenkins environment variables with empty keys. |
protected Result |
waitForAsynchronousExecutions()
Waits until all asynchronous executions are finished. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface hudson.remoting.Callable |
---|
call |
Field Detail |
---|
protected final List<String> goals
protected final Map<String,String> systemProps
protected final BuildListener listener
protected Map<ModuleName,AbstractMavenBuilder.FilterImpl> proxies
protected final transient Map<ModuleName,MavenBuild.ProxyImpl2> sourceProxies
protected final Map<ModuleName,List<MavenReporter>> reporters
protected transient List<hudson.remoting.Future<?>> futures
Constructor Detail |
---|
protected AbstractMavenBuilder(BuildListener listener, Collection<MavenModule> modules, List<String> goals, Map<String,String> systemProps)
Method Detail |
---|
protected String formatArgs(List<String> args)
protected void registerSystemProperties()
jenkins environment variables
into the system properties
Ignores jenkins environment variables
with empty keys.
IllegalArgumentException
- if a jenkins environment variable
has null value
as it blows up Maven.http://jenkins.361315.n4.nabble.com/Upgrade-to-1-424-broke-our-Maven-builds-due-to-empty-system-property-key-td3726460.html
protected String format(NumberFormat n, long nanoTime)
public ClassLoader getClassLoader()
getClassLoader
in interface hudson.remoting.DelegatingCallable<Result,IOException>
protected void initializeAsynchronousExecutions()
protected void recordAsynchronousExecution(hudson.remoting.Future<?> future)
protected Result waitForAsynchronousExecutions()
protected boolean isDebug()
protected boolean isQuiet()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |