public final class BuildUtil extends Object
| Modifier and Type | Method and Description | 
|---|---|
static boolean | 
equals(hudson.model.AbstractBuild b1,
      hudson.model.AbstractBuild b2)  | 
static hudson.model.AbstractBuild | 
getFirstUpstreamBuild(hudson.model.AbstractBuild build,
                     hudson.model.AbstractProject first)
Finds the first upstream build in the chain of triggered builds. 
 | 
static hudson.model.AbstractBuild | 
getUpstreamBuild(hudson.model.AbstractBuild build)  | 
static hudson.model.AbstractBuild | 
match(hudson.util.RunList<? extends hudson.model.AbstractBuild> runList,
     hudson.model.AbstractBuild firstBuild)
Returns the build for projects that has been triggered by the supplied upstream project. 
 | 
@CheckForNull public static hudson.model.AbstractBuild getUpstreamBuild(hudson.model.AbstractBuild build)
@CheckForNull public static hudson.model.AbstractBuild getFirstUpstreamBuild(hudson.model.AbstractBuild build, hudson.model.AbstractProject first)
build - the build to find the first upstream forfirst - the known first upstream build@CheckForNull public static hudson.model.AbstractBuild match(hudson.util.RunList<? extends hudson.model.AbstractBuild> runList, hudson.model.AbstractBuild firstBuild)
firstBuild - the upstream projectrunList - the list of projectspublic static boolean equals(hudson.model.AbstractBuild b1,
                             hudson.model.AbstractBuild b2)
Copyright © 2016–2020 Diabol AB. All rights reserved.