hudson.plugins.dumpinfo
Class DumpInfoBuildWrapper
java.lang.Object
hudson.model.AbstractDescribableImpl<hudson.tasks.BuildWrapper>
hudson.tasks.BuildWrapper
hudson.plugins.dumpinfo.DumpInfoBuildWrapper
- All Implemented Interfaces:
- hudson.ExtensionPoint, hudson.model.Describable<hudson.tasks.BuildWrapper>
public final class DumpInfoBuildWrapper
- extends hudson.tasks.BuildWrapper
This plugin allows jobs to automatically dump some important Hudson-specific
information into the job log.
- Since:
- 1.393
- Author:
- Jesse Farinacci
| Nested classes/interfaces inherited from class hudson.tasks.BuildWrapper |
hudson.tasks.BuildWrapper.Environment |
| Nested classes/interfaces inherited from interface hudson.ExtensionPoint |
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson |
|
Constructor Summary |
DumpInfoBuildWrapper(boolean dumpComputers,
boolean dumpJdks,
boolean dumpPlugins)
Configuration of this plugin is per-job. |
|
Method Summary |
boolean |
isDumpComputers()
Get whether or not to dump information about Hudson slave computers. |
boolean |
isDumpJdks()
Get whether or not to dump information about Hudson JDK tools. |
boolean |
isDumpPlugins()
Get whether or not to dump information about Hudson plugins. |
hudson.tasks.BuildWrapper.Environment |
setUp(hudson.model.AbstractBuild build,
hudson.Launcher launcher,
hudson.model.BuildListener listener)
|
| Methods inherited from class hudson.tasks.BuildWrapper |
all, decorateLauncher, decorateLogger, getProjectAction, getProjectActions, makeBuildVariables, makeSensitiveBuildVariables, setUp |
| Methods inherited from class hudson.model.AbstractDescribableImpl |
getDescriptor |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DumpInfoBuildWrapper
@DataBoundConstructor
public DumpInfoBuildWrapper(boolean dumpComputers,
boolean dumpJdks,
boolean dumpPlugins)
- Configuration of this plugin is per-job.
- Parameters:
dumpComputers - whether or not to dump information about Hudson slave computers.dumpJdks - whether or not to dump information about Hudson JDK tools.dumpPlugins - whether or not to dump information about Hudson plugins.
isDumpComputers
public boolean isDumpComputers()
- Get whether or not to dump information about Hudson slave computers.
- Returns:
- whether or not to dump information about Hudson slave computers
isDumpJdks
public boolean isDumpJdks()
- Get whether or not to dump information about Hudson JDK tools.
- Returns:
- whether or not to dump information about Hudson JDK tools
isDumpPlugins
public boolean isDumpPlugins()
- Get whether or not to dump information about Hudson plugins.
- Returns:
- whether or not to dump information about Hudson plugins
setUp
public hudson.tasks.BuildWrapper.Environment setUp(hudson.model.AbstractBuild build,
hudson.Launcher launcher,
hudson.model.BuildListener listener)
throws java.io.IOException,
java.lang.InterruptedException
- Overrides:
setUp in class hudson.tasks.BuildWrapper
- Throws:
java.io.IOException
java.lang.InterruptedException
Copyright © 2004-2011. All Rights Reserved.