public class ReleaseNeededTask
extends org.gradle.api.DefaultTask
getBranch() does not match release-eligibility regex (getReleasableBranchRegex().
TODO update the javadoc| Constructor and Description |
|---|
ReleaseNeededTask() |
| Modifier and Type | Method and Description |
|---|---|
void |
addPublicationsComparator(PublicationsComparatorTask task) |
java.lang.String |
getBranch()
The branch we currently operate on
|
java.lang.String |
getCommitMessage()
Commit message the build job was triggered with
|
java.lang.String |
getReleasableBranchRegex()
Regex to be used to identify branches that are entitled to be released, for example "master|release/.+"
|
boolean |
isExplosive()
If the exception should be thrown if the release is not needed.
|
boolean |
isPullRequest()
Pull request this job is building
|
void |
releaseNeeded() |
void |
setBranch(java.lang.String branch)
See
getBranch() |
void |
setCommitMessage(java.lang.String commitMessage)
|
ReleaseNeededTask |
setExplosive(boolean explosive)
See
isExplosive() |
void |
setPullRequest(boolean pullRequest)
See
isPullRequest() |
void |
setReleasableBranchRegex(java.lang.String releasableBranchRegex)
|
addValidator, appendParallelSafeAction, compareTo, configure, deleteAllActions, dependsOn, dependsOnTaskDidWork, doFirst, doFirst, doLast, doLast, execute, finalizedBy, getActions, getAnt, getAsDynamicObject, getConvention, getDependsOn, getDescription, getDidWork, getEnabled, getExecuter, getExtensions, getFinalizedBy, getGroup, getImpliesSubProjects, getInputs, getLogger, getLogging, getMustRunAfter, getName, getOnlyIf, getOutputs, getPath, getProject, getServices, getShouldRunAfter, getStandardOutputCapture, getState, getTaskActions, getTaskDependencies, getTemporaryDir, getTemporaryDirFactory, getValidators, hasProperty, injectIntoNewInstance, isEnabled, isHasCustomActions, leftShift, mustRunAfter, onlyIf, onlyIf, prependParallelSafeAction, property, setActions, setDependsOn, setDescription, setDidWork, setEnabled, setExecuter, setFinalizedBy, setGroup, setImpliesSubProjects, setMustRunAfter, setName, setOnlyIf, setOnlyIf, setProject, setProperty, setShouldRunAfter, shouldRunAfter, toStringpublic java.lang.String getBranch()
public void setBranch(java.lang.String branch)
getBranch()public java.lang.String getReleasableBranchRegex()
public void setReleasableBranchRegex(java.lang.String releasableBranchRegex)
public java.lang.String getCommitMessage()
public void setCommitMessage(java.lang.String commitMessage)
public boolean isPullRequest()
public void setPullRequest(boolean pullRequest)
isPullRequest()public boolean isExplosive()
public ReleaseNeededTask setExplosive(boolean explosive)
isExplosive()public void releaseNeeded()
public void addPublicationsComparator(PublicationsComparatorTask task)