Class RemoteBuildInfoExporterAction
java.lang.Object
org.jenkinsci.plugins.ParameterizedRemoteTrigger.remoteJob.RemoteBuildInfoExporterAction
- All Implemented Interfaces:
Action
,EnvironmentContributingAction
,ModelObject
-
Nested Class Summary
-
Field Summary
-
Constructor Summary
ConstructorDescriptionRemoteBuildInfoExporterAction
(Run<?, ?> parentBuild, RemoteBuildInfoExporterAction.BuildReference buildRef) -
Method Summary
Modifier and TypeMethodDescriptionaddBuildInfoExporterAction
(Run<?, ?> parentBuild, String triggeredProjectName, int buildNumber, URL jobURL, RemoteBuildInfo buildInfo) void
void
buildEnvVars
(AbstractBuild<?, ?> build, EnvVars env) Gets the unique set of project names that have a linked build.
The later triggered jobs are later in the list.static String
sanitizeProjectName
(String project) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface hudson.model.EnvironmentContributingAction
buildEnvironment
-
Field Details
-
JOB_NAME_VARIABLE
- See Also:
-
ALL_JOBS_NAME_VARIABLE
- See Also:
-
BUILD_URL_VARIABLE_PREFIX
- See Also:
-
BUILD_NUMBER_VARIABLE_PREFIX
- See Also:
-
ALL_BUILD_NUMBER_VARIABLE_PREFIX
- See Also:
-
BUILD_RESULT_VARIABLE_PREFIX
- See Also:
-
BUILD_RUN_COUNT_PREFIX
- See Also:
-
RUN
- See Also:
-
-
Constructor Details
-
RemoteBuildInfoExporterAction
public RemoteBuildInfoExporterAction(Run<?, ?> parentBuild, RemoteBuildInfoExporterAction.BuildReference buildRef)
-
-
Method Details
-
addBuildInfoExporterAction
public static RemoteBuildInfoExporterAction addBuildInfoExporterAction(@NonNull Run<?, ?> parentBuild, String triggeredProjectName, int buildNumber, URL jobURL, RemoteBuildInfo buildInfo) -
addBuildReference
-
getIconFileName
- Specified by:
getIconFileName
in interfaceAction
-
getDisplayName
- Specified by:
getDisplayName
in interfaceAction
- Specified by:
getDisplayName
in interfaceModelObject
-
getUrlName
- Specified by:
getUrlName
in interfaceAction
-
buildEnvVars
- Specified by:
buildEnvVars
in interfaceEnvironmentContributingAction
-
sanitizeProjectName
-
getProjectsWithBuilds
Gets the unique set of project names that have a linked build.
The later triggered jobs are later in the list. E.g.
C, A, B -> C, A, B
C, A, B, A, C -> B, A, C- Returns:
- Set of project names that have at least one build linked.
-