public class OntrackDSLRunCondition
extends org.jenkins_ci.plugins.run_condition.RunCondition
Modifier and Type | Class and Description |
---|---|
static class |
OntrackDSLRunCondition.OntrackDSLRunConditionDescriptor |
Constructor and Description |
---|
OntrackDSLRunCondition(ScriptLocation ontrackScriptLocation,
boolean sandbox,
String injectEnvironment,
String injectProperties,
boolean ontrackLog) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
evaluate(hudson.model.AbstractBuild<?,?> build,
hudson.model.BuildListener listener) |
String |
getInjectEnvironment() |
String |
getInjectProperties() |
String |
getScriptPath() |
String |
getScriptText() |
boolean |
isOntrackLog() |
boolean |
isSandbox() |
boolean |
isUsingText() |
boolean |
runPerform(hudson.model.AbstractBuild<?,?> build,
hudson.model.BuildListener listener) |
boolean |
runPrebuild(hudson.model.AbstractBuild<?,?> build,
hudson.model.BuildListener listener) |
@DataBoundConstructor public OntrackDSLRunCondition(ScriptLocation ontrackScriptLocation, boolean sandbox, String injectEnvironment, String injectProperties, boolean ontrackLog)
public boolean isUsingText()
public String getScriptPath()
public String getScriptText()
public String getInjectEnvironment()
public String getInjectProperties()
public boolean isOntrackLog()
public boolean isSandbox()
public boolean runPrebuild(hudson.model.AbstractBuild<?,?> build, hudson.model.BuildListener listener) throws Exception
runPrebuild
in class org.jenkins_ci.plugins.run_condition.RunCondition
Exception
public boolean runPerform(hudson.model.AbstractBuild<?,?> build, hudson.model.BuildListener listener) throws Exception
runPerform
in class org.jenkins_ci.plugins.run_condition.RunCondition
Exception
Copyright © 2016–2023. All rights reserved.