-
MethodDescriptionuse
DownstreamPassCondition.getJobList(hudson.model.ItemGroup, hudson.EnvVars)
List of downstream jobs that we need to monitor.Caches are not being used anymoreThis method retrieves the base item for relative addressing from theStaplerRequest
. The relative addressing may be malfunctional if you use this method outsideStaplerRequest
s. UsePromotedBuildParameterDefinition.getRuns(hudson.model.Item)
insteadFor internal code usePromotedBuildAction.canPromote(String)
with the name of the process that will be promoted instead.UsePromotion.PromotionParametersAction
with constructor instead.You need to be usingPromotionProcess.scheduleBuild(AbstractBuild)
UseJenkins.get()
DownstreamPassCondition.contains(hudson.model.ItemGroup, hudson.model.AbstractProject)