public class PathRestriction extends GitSCMExtension
GitSCMExtension that ignores commits that only affects specific paths.| Modifier and Type | Class and Description |
|---|---|
static class |
PathRestriction.DescriptorImpl |
| Constructor and Description |
|---|
PathRestriction(String includedRegions,
String excludedRegions) |
| Modifier and Type | Method and Description |
|---|---|
String |
getExcludedRegions() |
String[] |
getExcludedRegionsNormalized() |
String |
getIncludedRegions() |
String[] |
getIncludedRegionsNormalized() |
Boolean |
isRevExcluded(GitSCM scm,
org.jenkinsci.plugins.gitclient.GitClient git,
GitChangeSet commit,
hudson.model.TaskListener listener,
BuildData buildData)
Given a commit found during polling, check whether it should be disregarded.
|
beforeCheckout, decorate, decorateCloneCommand, decorateMergeCommand, decorateRevisionToBuild, getDescriptor, getRequiredClient, getWorkingDirectory, onCheckoutCompleted, onClean, populateEnvironmentVariablespublic String getIncludedRegions()
public String getExcludedRegions()
public String[] getExcludedRegionsNormalized()
public String[] getIncludedRegionsNormalized()
public Boolean isRevExcluded(GitSCM scm, org.jenkinsci.plugins.gitclient.GitClient git, GitChangeSet commit, hudson.model.TaskListener listener, BuildData buildData)
GitSCMExtensionisRevExcluded in class GitSCMExtensiongit - GitClient objectcommit - The commit whose exclusion is being tested.GitSCMExtensions say.
false to trigger a build from this commit, regardless of what later GitSCMExtensions say.
null to allow other GitSCMExtensions to decide.Copyright © 2004-2013. All Rights Reserved.