public class JenkinsHelper
extends java.lang.Object
Constructor and Description |
---|
JenkinsHelper()
For unit tests as they don't have access to the build or listener
|
JenkinsHelper(hudson.model.Run<?,?> build,
hudson.model.TaskListener listener) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
expandVariable(java.lang.String variable) |
static void |
fail(java.lang.String value) |
JenkinsLogWriter |
getLogWriter() |
void |
injectEnvrionmentVariable(java.lang.String key,
java.lang.String value) |
public JenkinsHelper()
public JenkinsHelper(hudson.model.Run<?,?> build, hudson.model.TaskListener listener)
public java.lang.String expandVariable(java.lang.String variable)
public void injectEnvrionmentVariable(java.lang.String key, java.lang.String value)
public JenkinsLogWriter getLogWriter()
public static void fail(java.lang.String value)