Class DownstreamBuildAction.DownstreamBuild
java.lang.Object
org.jenkinsci.plugins.workflow.support.steps.build.DownstreamBuildAction.DownstreamBuild
- Enclosing class:
- DownstreamBuildAction
-
Method Details
-
getFlowNodeId
-
getJobFullName
-
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.AccessDeniedExceptionLoad 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)
-