public class DescriptionSetterHelper extends Object
| Constructor and Description |
|---|
DescriptionSetterHelper() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
setDescription(hudson.model.AbstractBuild<?,?> build,
hudson.model.BuildListener listener,
String regexp,
String description)
Sets the description on the given build based on the specified regular
expression and description.
|
public static boolean setDescription(hudson.model.AbstractBuild<?,?> build,
hudson.model.BuildListener listener,
String regexp,
String description)
throws InterruptedException
build - the build whose description to set.listener - the build listener to report events to.regexp - the regular expression to apply to the build log.description - the description to set.InterruptedException - if the build is interrupted by the user.Copyright © 2004-2014. All Rights Reserved.