hudson.plugins.dumpinfo
Class DumpInfoBuildWrapper

java.lang.Object
  extended by hudson.model.AbstractDescribableImpl<hudson.tasks.BuildWrapper>
      extended by hudson.tasks.BuildWrapper
          extended by 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.0
Author:
Jesse Farinacci

Nested Class Summary
static class DumpInfoBuildWrapper.DescriptorImpl
          Plugin marker for BuildWrapper.
 
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, boolean dumpSystemProperties, boolean dumpEnvironmentVariables)
          Configuration of this plugin is per-job.
 
Method Summary
 boolean isDumpComputers()
          Get whether or not to dump information about Hudson slave computers.
 boolean isDumpEnvironmentVariables()
          Get whether or not to dump information about Hudson environment variables.
 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.
 boolean isDumpSystemProperties()
          Get whether or not to dump information about Hudson system properties.
 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
 

Constructor Detail

DumpInfoBuildWrapper

@DataBoundConstructor
public DumpInfoBuildWrapper(boolean dumpComputers,
                                                 boolean dumpJdks,
                                                 boolean dumpPlugins,
                                                 boolean dumpSystemProperties,
                                                 boolean dumpEnvironmentVariables)
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
dumpSystemProperties - whether or not to dump information about Hudson system properties
dumpEnvironmentVariables - whether or not to dump information about Hudson environment variables
Method Detail

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

isDumpSystemProperties

public boolean isDumpSystemProperties()
Get whether or not to dump information about Hudson system properties.

Returns:
whether or not to dump information about Hudson system properties

isDumpEnvironmentVariables

public boolean isDumpEnvironmentVariables()
Get whether or not to dump information about Hudson environment variables.

Returns:
whether or not to dump information about Hudson environment variables

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.