Class FirstWordOfUpstreamCommitStrategy
- java.lang.Object
-
- hudson.model.AbstractDescribableImpl<IssueStrategyExtension>
-
- org.jenkinsci.plugins.jiraext.view.IssueStrategyExtension
-
- org.jenkinsci.plugins.jiraext.view.FirstWordOfUpstreamCommitStrategy
-
- All Implemented Interfaces:
ExtensionPoint
,Describable<IssueStrategyExtension>
public class FirstWordOfUpstreamCommitStrategy extends IssueStrategyExtension
Find JiraCommits by looking for the first word in the build's upstream changelog. Issues must match in the pattern defined in global config. For example, if prefix is set to 'JENKINS-,FOO-' And a commit had the message 'JENKINS-101 fixed stuff', this would return 'JENKINS-101' as a JiraCommit.- Author:
- dalvizu
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
FirstWordOfUpstreamCommitStrategy.DescriptorImpl
-
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
-
Constructor Summary
Constructors Constructor Description FirstWordOfUpstreamCommitStrategy()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
List<JiraCommit>
getJiraCommits(AbstractBuild build, BuildListener buildListener)
int
hashCode()
-
Methods inherited from class org.jenkinsci.plugins.jiraext.view.IssueStrategyExtension
getDescriptor
-
-
-
-
Method Detail
-
getJiraCommits
public List<JiraCommit> getJiraCommits(AbstractBuild build, BuildListener buildListener)
- Specified by:
getJiraCommits
in classIssueStrategyExtension
-
-