public class IgnoreCommitterStrategy
extends jenkins.branch.BranchBuildStrategy
Modifier and Type | Class and Description |
---|---|
static class |
IgnoreCommitterStrategy.DescriptorImpl |
Constructor and Description |
---|
IgnoreCommitterStrategy(String ignoredAuthors,
Boolean allowBuildIfNotExcludedAuthor) |
Modifier and Type | Method and Description |
---|---|
Boolean |
getAllowBuildIfNotExcludedAuthor()
Determine if build is allowed if at least one author in the changeset is not excluded
|
String |
getIgnoredAuthors()
Get comma-separated list of ignored commit authors
|
boolean |
isAutomaticBuild(jenkins.scm.api.SCMSource source,
jenkins.scm.api.SCMHead head,
jenkins.scm.api.SCMRevision currRevision,
jenkins.scm.api.SCMRevision prevRevision)
Determine if build is required by checking if any of the commit authors is in the ignore list
and/or if changesets with at least one non excluded author are allowed
|
public String getIgnoredAuthors()
public Boolean getAllowBuildIfNotExcludedAuthor()
public boolean isAutomaticBuild(jenkins.scm.api.SCMSource source, jenkins.scm.api.SCMHead head, jenkins.scm.api.SCMRevision currRevision, jenkins.scm.api.SCMRevision prevRevision)
isAutomaticBuild
in class jenkins.branch.BranchBuildStrategy
Copyright © 2016–2018. All rights reserved.