public class SCMSkipTools extends Object
| Constructor and Description |
|---|
SCMSkipTools() |
| Modifier and Type | Method and Description |
|---|---|
static void |
deleteBuild(hudson.model.AbstractBuild build)
Deletes given build.
|
static void |
deleteRun(hudson.model.Run<?,?> run)
Deletes given build.
|
static boolean |
inspectChangeSet(hudson.model.Run run,
SCMSkipMatcher matcher,
hudson.model.TaskListener listener)
Inspect build for matched pattern in changelog.
|
static boolean |
isBuildToDelete(hudson.model.Run<?,?> run) |
static void |
stopBuild(hudson.model.Run<?,?> run) |
static void |
tagRunForDeletion(hudson.model.Run<?,?> run,
boolean deleteBuild) |
public static void deleteBuild(hudson.model.AbstractBuild build)
throws IOException
build - build to deleteIOException - if build cannot be deletedpublic static void deleteRun(hudson.model.Run<?,?> run)
throws IOException
run - build to deleteIOException - if build cannot be deletedpublic static void tagRunForDeletion(hudson.model.Run<?,?> run,
boolean deleteBuild)
throws IOException
IOExceptionpublic static boolean isBuildToDelete(hudson.model.Run<?,?> run)
public static boolean inspectChangeSet(hudson.model.Run run,
SCMSkipMatcher matcher,
hudson.model.TaskListener listener)
run - current buildmatcher - matcher objectlistener - runtime listenerpublic static void stopBuild(hudson.model.Run<?,?> run)
throws hudson.AbortException,
IOException,
javax.servlet.ServletException
hudson.AbortExceptionIOExceptionjavax.servlet.ServletExceptionCopyright © 2016–2020. All rights reserved.