public final class BuildUtil extends Object
Constructor and Description |
---|
BuildUtil() |
Modifier and Type | Method and Description |
---|---|
static hudson.model.Action |
getAllBuildParametersAction(hudson.model.AbstractBuild<?,?> upstreamBuild,
hudson.model.AbstractProject<?,?> downstreamProject)
Given an Upstream AbstractBuild and a Downstream AbstractProject will retrieve the associated ParametersAction.
|
static hudson.model.ParametersAction |
getBuildParametersAction(hudson.model.AbstractBuild<?,?> build)
Gets the ParametersAction of an AbstractBuild
|
static hudson.model.AbstractBuild<?,?> |
getDownstreamBuild(hudson.model.AbstractProject<?,?> downstreamProject,
hudson.model.AbstractBuild<?,?> upstreamBuild)
Gets the next downstream build based on the upstream build and downstream project.
|
static Map<String,String> |
getUnsensitiveParameters(hudson.model.AbstractBuild<?,?> build)
Retrieve build parameters in String format without sensitive parameters (passwords, ...)
|
static hudson.model.ParametersAction |
mergeParameters(hudson.model.ParametersAction base,
hudson.model.ParametersAction overlay)
Merges two sets of ParametersAction
|
public static hudson.model.AbstractBuild<?,?> getDownstreamBuild(hudson.model.AbstractProject<?,?> downstreamProject, hudson.model.AbstractBuild<?,?> upstreamBuild)
downstreamProject
- - The downstream projectupstreamBuild
- - The upstream buildpublic static hudson.model.Action getAllBuildParametersAction(hudson.model.AbstractBuild<?,?> upstreamBuild, hudson.model.AbstractProject<?,?> downstreamProject)
upstreamBuild
- - The AbstractBuilddownstreamProject
- - The AbstractProjectpublic static hudson.model.ParametersAction getBuildParametersAction(hudson.model.AbstractBuild<?,?> build)
build
- - AbstractBuildpublic static hudson.model.ParametersAction mergeParameters(hudson.model.ParametersAction base, hudson.model.ParametersAction overlay)
base
- ParametersAction set 1overlay
- ParametersAction set 2public static Map<String,String> getUnsensitiveParameters(hudson.model.AbstractBuild<?,?> build)
build
- the build we retrieve the parameters fromCopyright © 2004–2016. All rights reserved.