Class RemoteBuildInfoExporterAction
java.lang.Object
org.jenkinsci.plugins.ParameterizedRemoteTrigger.remoteJob.RemoteBuildInfoExporterAction
- All Implemented Interfaces:
Action,EnvironmentContributingAction,ModelObject
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionRemoteBuildInfoExporterAction(Run<?, ?> parentBuild, RemoteBuildInfoExporterAction.BuildReference buildRef) -
Method Summary
Modifier and TypeMethodDescriptionaddBuildInfoExporterAction(Run<?, ?> parentBuild, String triggeredProjectName, int buildNumber, URL jobURL, RemoteBuildInfo buildInfo) voidvoidbuildEnvVars(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 StringsanitizeProjectName(String project) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:
getIconFileNamein interfaceAction
-
getDisplayName
- Specified by:
getDisplayNamein interfaceAction- Specified by:
getDisplayNamein interfaceModelObject
-
getUrlName
- Specified by:
getUrlNamein interfaceAction
-
buildEnvVars
- Specified by:
buildEnvVarsin 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.
-