Package hudson.plugins.jira
Class JiraIssueUpdater
java.lang.Object
hudson.tasks.BuildStepCompatibilityLayer
hudson.tasks.Publisher
hudson.tasks.Recorder
hudson.plugins.jira.JiraIssueUpdater
- All Implemented Interfaces:
ExtensionPoint,hudson.matrix.MatrixAggregatable,Describable<Publisher>,BuildStep,SimpleBuildStep
public class JiraIssueUpdater
extends Recorder
implements hudson.matrix.MatrixAggregatable, SimpleBuildStep
Parses build changelog for Jira issue IDs and then
updates Jira issues accordingly.
- Author:
- Kohsuke Kawaguchi
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class hudson.tasks.Publisher
Publisher.DescriptorExtensionListImplNested classes/interfaces inherited from interface hudson.tasks.BuildStep
BuildStep.PublisherListNested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudsonNested classes/interfaces inherited from interface jenkins.tasks.SimpleBuildStep
SimpleBuildStep.LastBuildAction, SimpleBuildStep.LastBuildActionFactory -
Field Summary
FieldsFields inherited from interface hudson.tasks.BuildStep
BUILDERS, PUBLISHERS -
Constructor Summary
ConstructorsConstructorDescriptionJiraIssueUpdater(AbstractIssueSelector issueSelector, SCM scm, List<String> labels) -
Method Summary
Modifier and TypeMethodDescriptionhudson.matrix.MatrixAggregatorcreateAggregator(hudson.matrix.MatrixBuild build, Launcher launcher, BuildListener listener) getScm()voidperform(Run<?, ?> run, EnvVars env, TaskListener listener) booleanMethods inherited from class hudson.tasks.Publisher
all, getProjectAction, needsToRunAfterFinalized, prebuildMethods inherited from class hudson.tasks.BuildStepCompatibilityLayer
getProjectAction, getProjectActions, perform, perform, prebuildMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface hudson.tasks.BuildStep
getProjectAction, getProjectActions, perform, prebuildMethods inherited from interface jenkins.tasks.SimpleBuildStep
perform, perform
-
Field Details
-
DESCRIPTOR
-
-
Constructor Details
-
JiraIssueUpdater
@DataBoundConstructor public JiraIssueUpdater(AbstractIssueSelector issueSelector, SCM scm, List<String> labels)
-
-
Method Details
-
perform
public void perform(Run<?, ?> run, EnvVars env, TaskListener listener) throws InterruptedException, IOException- Specified by:
performin interfaceSimpleBuildStep- Throws:
InterruptedExceptionIOException
-
requiresWorkspace
public boolean requiresWorkspace()- Specified by:
requiresWorkspacein interfaceSimpleBuildStep
-
getRequiredMonitorService
- Specified by:
getRequiredMonitorServicein interfaceBuildStep
-
getDescriptor
- Specified by:
getDescriptorin interfaceDescribable<Publisher>- Overrides:
getDescriptorin classRecorder
-
getIssueSelector
-
getScm
-
getLabels
-
createAggregator
public hudson.matrix.MatrixAggregator createAggregator(hudson.matrix.MatrixBuild build, Launcher launcher, BuildListener listener) - Specified by:
createAggregatorin interfacehudson.matrix.MatrixAggregatable
-