com.sonyericsson.hudson.plugins.metadata.model
Class MetadataEnvironmentContributor

java.lang.Object
  extended by hudson.model.EnvironmentContributor
      extended by com.sonyericsson.hudson.plugins.metadata.model.MetadataEnvironmentContributor
All Implemented Interfaces:
hudson.ExtensionPoint

@Extension
public class MetadataEnvironmentContributor
extends hudson.model.EnvironmentContributor

Environment contributor for the metadata values. Adds metadata values that has been flagged to be exposed as environment variables before each build step.

Author:
Tomas Westling <thomas.westling@sonyericsson.com>

Nested Class Summary
 
Nested classes/interfaces inherited from class hudson.model.EnvironmentContributor
hudson.model.EnvironmentContributor.EnvVarsHtml
 
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson
 
Constructor Summary
MetadataEnvironmentContributor()
           
 
Method Summary
 void buildEnvironmentFor(hudson.model.Run r, hudson.EnvVars envs, hudson.model.TaskListener listener)
           
 
Methods inherited from class hudson.model.EnvironmentContributor
all
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MetadataEnvironmentContributor

public MetadataEnvironmentContributor()
Method Detail

buildEnvironmentFor

public void buildEnvironmentFor(hudson.model.Run r,
                                hudson.EnvVars envs,
                                hudson.model.TaskListener listener)
                         throws IOException,
                                InterruptedException
Specified by:
buildEnvironmentFor in class hudson.model.EnvironmentContributor
Throws:
IOException
InterruptedException


Copyright © 2004-2013. All Rights Reserved.