Class BranchNameIssueKeyExtractor
java.lang.Object
com.atlassian.jira.cloud.jenkins.util.BranchNameIssueKeyExtractor
- All Implemented Interfaces:
IssueKeyExtractor
Extract SCM revision which triggered the build. Important: the action is only available for
Multibranch Pipeline jobs. It's not injected for Pipeline (single branch) jobs.
-
Field Summary
Fields inherited from interface com.atlassian.jira.cloud.jenkins.common.service.IssueKeyExtractor
ISSUE_KEY_MAX_LIMIT
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionextractIssueKeys
(org.jenkinsci.plugins.workflow.job.WorkflowRun build, PipelineLogger pipelineLogger)
-
Constructor Details
-
BranchNameIssueKeyExtractor
public BranchNameIssueKeyExtractor()
-
-
Method Details
-
extractIssueKeys
public Set<String> extractIssueKeys(org.jenkinsci.plugins.workflow.job.WorkflowRun build, PipelineLogger pipelineLogger) - Specified by:
extractIssueKeys
in interfaceIssueKeyExtractor
-