Package hudson.plugins.jira
Class JiraCreateIssueNotifier
- java.lang.Object
-
- hudson.tasks.BuildStepCompatibilityLayer
-
- hudson.tasks.Publisher
-
- hudson.tasks.Notifier
-
- hudson.plugins.jira.JiraCreateIssueNotifier
-
- All Implemented Interfaces:
ExtensionPoint
,Describable<Publisher>
,BuildStep
public class JiraCreateIssueNotifier extends Notifier
When a build fails it creates jira issues. Repeated failures does not create a new issue but update the existing issue until the issue is closed.- Author:
- Rupali Behera rupali@vertisinfotech.com
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
JiraCreateIssueNotifier.DescriptorImpl
-
Nested classes/interfaces inherited from class hudson.tasks.Publisher
Publisher.DescriptorExtensionListImpl
-
Nested classes/interfaces inherited from interface hudson.tasks.BuildStep
BuildStep.PublisherList
-
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
-
Field Summary
Fields Modifier and Type Field Description static JiraCreateIssueNotifier.DescriptorImpl
DESCRIPTOR
-
Fields inherited from interface hudson.tasks.BuildStep
BUILDERS, PUBLISHERS
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Integer
getActionIdOnSuccess()
String
getAssignee()
String
getComponent()
BuildStepDescriptor<Publisher>
getDescriptor()
Long
getPriorityId()
String
getProjectKey()
BuildStepMonitor
getRequiredMonitorService()
String
getTestDescription()
Long
getTypeId()
boolean
perform(AbstractBuild<?,?> build, Launcher launcher, BuildListener listener)
void
setAssignee(String assignee)
void
setComponent(String component)
void
setProjectKey(String projectKey)
void
setTestDescription(String testDescription)
-
Methods inherited from class hudson.tasks.Publisher
all, getProjectAction, needsToRunAfterFinalized, prebuild
-
Methods inherited from class hudson.tasks.BuildStepCompatibilityLayer
getProjectAction, getProjectActions, perform, prebuild
-
-
-
-
Field Detail
-
DESCRIPTOR
@Extension public static final JiraCreateIssueNotifier.DescriptorImpl DESCRIPTOR
-
-
Method Detail
-
getProjectKey
public String getProjectKey()
-
setProjectKey
public void setProjectKey(String projectKey)
-
getTestDescription
public String getTestDescription()
-
setTestDescription
public void setTestDescription(String testDescription)
-
getAssignee
public String getAssignee()
-
setAssignee
public void setAssignee(String assignee)
-
getComponent
public String getComponent()
-
setComponent
public void setComponent(String component)
-
getTypeId
public Long getTypeId()
-
getPriorityId
public Long getPriorityId()
-
getActionIdOnSuccess
public Integer getActionIdOnSuccess()
-
getDescriptor
public BuildStepDescriptor<Publisher> getDescriptor()
- Specified by:
getDescriptor
in interfaceDescribable<Publisher>
- Overrides:
getDescriptor
in classNotifier
-
getRequiredMonitorService
public BuildStepMonitor getRequiredMonitorService()
-
perform
public boolean perform(AbstractBuild<?,?> build, Launcher launcher, BuildListener listener) throws IOException, InterruptedException
- Specified by:
perform
in interfaceBuildStep
- Overrides:
perform
in classBuildStepCompatibilityLayer
- Throws:
IOException
InterruptedException
-
-