public class RemoteBuildInfoExporterAction extends Object implements EnvironmentContributingAction
Modifier and Type | Class and Description |
---|---|
static class |
RemoteBuildInfoExporterAction.BuildReference |
Modifier and Type | Field and Description |
---|---|
static String |
ALL_BUILD_NUMBER_VARIABLE_PREFIX |
static String |
ALL_JOBS_NAME_VARIABLE |
static String |
BUILD_NUMBER_VARIABLE_PREFIX |
static String |
BUILD_RESULT_VARIABLE_PREFIX |
static String |
BUILD_RUN_COUNT_PREFIX |
static String |
BUILD_URL_VARIABLE_PREFIX |
static String |
JOB_NAME_VARIABLE |
static String |
RUN |
Constructor and Description |
---|
RemoteBuildInfoExporterAction(Run<?,?> parentBuild,
RemoteBuildInfoExporterAction.BuildReference buildRef) |
Modifier and Type | Method and Description |
---|---|
static RemoteBuildInfoExporterAction |
addBuildInfoExporterAction(Run<?,?> parentBuild,
String triggeredProjectName,
int buildNumber,
URL jobURL,
RemoteBuildInfo buildInfo) |
void |
addBuildReference(RemoteBuildInfoExporterAction.BuildReference buildRef) |
void |
buildEnvVars(AbstractBuild<?,?> build,
EnvVars env) |
String |
getDisplayName() |
String |
getIconFileName() |
protected Set<String> |
getProjectsWithBuilds()
Gets the unique set of project names that have a linked build.
The later triggered jobs are later in the list. |
String |
getUrlName() |
static String |
sanitizeProjectName(String project) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
buildEnvironment
public static final String JOB_NAME_VARIABLE
public static final String ALL_JOBS_NAME_VARIABLE
public static final String BUILD_URL_VARIABLE_PREFIX
public static final String BUILD_NUMBER_VARIABLE_PREFIX
public static final String ALL_BUILD_NUMBER_VARIABLE_PREFIX
public static final String BUILD_RESULT_VARIABLE_PREFIX
public static final String BUILD_RUN_COUNT_PREFIX
public static final String RUN
public RemoteBuildInfoExporterAction(Run<?,?> parentBuild, RemoteBuildInfoExporterAction.BuildReference buildRef)
public static RemoteBuildInfoExporterAction addBuildInfoExporterAction(@Nonnull Run<?,?> parentBuild, String triggeredProjectName, int buildNumber, URL jobURL, RemoteBuildInfo buildInfo)
public void addBuildReference(RemoteBuildInfoExporterAction.BuildReference buildRef)
public String getIconFileName()
getIconFileName
in interface Action
public String getDisplayName()
getDisplayName
in interface Action
getDisplayName
in interface ModelObject
public String getUrlName()
getUrlName
in interface Action
public void buildEnvVars(AbstractBuild<?,?> build, EnvVars env)
buildEnvVars
in interface EnvironmentContributingAction
Copyright © 2016–2023. All rights reserved.