org.jvnet.hudson.test
Class CaptureEnvironmentBuilder

java.lang.Object
  extended by hudson.tasks.BuildStepCompatibilityLayer
      extended by hudson.tasks.Builder
          extended by org.jvnet.hudson.test.CaptureEnvironmentBuilder
All Implemented Interfaces:
ExtensionPoint, Describable<Builder>, BuildStep

public class CaptureEnvironmentBuilder
extends Builder

Builder that captures the environment variables used during a build.

Author:
Kohsuke Kawaguchi

Nested Class Summary
static class CaptureEnvironmentBuilder.DescriptorImpl
           
 
Nested classes/interfaces inherited from interface hudson.tasks.BuildStep
BuildStep.PublisherList
 
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
 
Field Summary
 
Fields inherited from interface hudson.tasks.BuildStep
BUILDERS, PUBLISHERS
 
Constructor Summary
CaptureEnvironmentBuilder()
           
 
Method Summary
 java.util.Map<java.lang.String,java.lang.String> getEnvVars()
           
 boolean perform(AbstractBuild<?,?> build, Launcher launcher, BuildListener listener)
           
 
Methods inherited from class hudson.tasks.Builder
all, getDescriptor, getProjectAction, prebuild
 
Methods inherited from class hudson.tasks.BuildStepCompatibilityLayer
getProjectAction, 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, prebuild
 

Constructor Detail

CaptureEnvironmentBuilder

public CaptureEnvironmentBuilder()
Method Detail

getEnvVars

public java.util.Map<java.lang.String,java.lang.String> getEnvVars()

perform

public boolean perform(AbstractBuild<?,?> build,
                       Launcher launcher,
                       BuildListener listener)
                throws java.lang.InterruptedException,
                       java.io.IOException
Specified by:
perform in interface BuildStep
Overrides:
perform in class BuildStepCompatibilityLayer
Throws:
java.lang.InterruptedException
java.io.IOException


Copyright © 2009. All Rights Reserved.