public final class OntrackPluginSupport extends Object
Modifier and Type | Field and Description |
---|---|
static String |
REGEX_ENV_VARIABLE |
Constructor and Description |
---|
OntrackPluginSupport() |
Modifier and Type | Method and Description |
---|---|
static void |
createOntrackLinks(OntrackDSLFacade ontrack,
hudson.model.Run run,
BuildFacade ontrackBuild) |
static String |
expand(String template,
hudson.model.AbstractBuild<?,?> theBuild,
hudson.model.BuildListener listener) |
static String |
getParameter(String name,
hudson.model.AbstractBuild<?,?> theBuild,
hudson.model.BuildListener listener) |
static Map<String,Object> |
getRunInfo(hudson.model.Run theBuild,
hudson.model.TaskListener taskListener) |
static Map<String,String> |
parseProperties(String text,
hudson.model.Run<?,?> theBuild,
hudson.model.TaskListener listener) |
static String |
readScript(hudson.model.AbstractBuild build,
boolean usingText,
String scriptText,
String scriptPath) |
public static final String REGEX_ENV_VARIABLE
public static String readScript(hudson.model.AbstractBuild build, boolean usingText, String scriptText, String scriptPath) throws IOException
IOException
public static String expand(String template, hudson.model.AbstractBuild<?,?> theBuild, hudson.model.BuildListener listener)
public static String getParameter(String name, hudson.model.AbstractBuild<?,?> theBuild, hudson.model.BuildListener listener)
public static Map<String,String> parseProperties(String text, @CheckForNull hudson.model.Run<?,?> theBuild, @CheckForNull hudson.model.TaskListener listener) throws IOException, InterruptedException
IOException
InterruptedException
public static Map<String,Object> getRunInfo(hudson.model.Run theBuild, hudson.model.TaskListener taskListener) throws IOException, InterruptedException
IOException
InterruptedException
public static void createOntrackLinks(OntrackDSLFacade ontrack, hudson.model.Run run, BuildFacade ontrackBuild)
Copyright © 2016–2023. All rights reserved.