Class BuildWithEiffelDownstreamBuildAction.BuildWithEiffelDownstreamBuild
- java.lang.Object
-
- com.axis.jenkins.plugins.eiffel.eiffelbroadcaster.pipeline.build.BuildWithEiffelDownstreamBuildAction.BuildWithEiffelDownstreamBuild
-
- Enclosing class:
- BuildWithEiffelDownstreamBuildAction
public static final class BuildWithEiffelDownstreamBuildAction.BuildWithEiffelDownstreamBuild extends Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Run<?,?>
getBuild()
Load the downstream build, if it has started and still exists.Integer
getBuildNumber()
Get the build number of the downstream build, ornull
if the downstream build has not yet started or the queue item was cancelled.String
getFlowNodeId()
String
getJobFullName()
-
-
-
Method Detail
-
getFlowNodeId
@NonNull public String getFlowNodeId()
-
getJobFullName
@NonNull public String getJobFullName()
-
getBuildNumber
@CheckForNull public Integer getBuildNumber()
Get the build number of the downstream build, ornull
if the downstream build has not yet started or the queue item was cancelled.
-
getBuild
@CheckForNull public Run<?,?> getBuild() throws org.springframework.security.access.AccessDeniedException
Load the downstream build, if it has started and still exists.Loading builds indiscriminately will affect controller performance, so use this carefully. If you only need to know whether the build started at one point, use
getBuildNumber()
.- Throws:
org.springframework.security.access.AccessDeniedException
- as perItemGroup.getItem(java.lang.String)
-
-