jenkins.plugins.tracpublisher
Class TracPublisher
java.lang.Object
hudson.tasks.BuildStepCompatibilityLayer
hudson.tasks.Publisher
hudson.tasks.Notifier
jenkins.plugins.tracpublisher.TracPublisher
- All Implemented Interfaces:
- hudson.ExtensionPoint, hudson.model.Describable<hudson.tasks.Publisher>, hudson.tasks.BuildStep
public class TracPublisher
- extends hudson.tasks.Notifier
A notifier that attaches comments to Trac tickets upon successful build. The
notifier searches the changesets for references to ticket numbers and adds a
link to the jenkins build to those issues. It enables people to easily find
builds containing changes related to issues.
- Author:
- batkinson
Nested classes/interfaces inherited from class hudson.tasks.Publisher |
hudson.tasks.Publisher.DescriptorExtensionListImpl |
Nested classes/interfaces inherited from interface hudson.ExtensionPoint |
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson |
Nested classes/interfaces inherited from interface hudson.tasks.BuildStep |
hudson.tasks.BuildStep.PublisherList |
Fields inherited from interface hudson.tasks.BuildStep |
BUILDERS, PUBLISHERS |
Methods inherited from class hudson.tasks.Notifier |
getDescriptor |
Methods inherited from class hudson.tasks.Publisher |
all, getProjectAction, prebuild |
Methods inherited from class hudson.tasks.BuildStepCompatibilityLayer |
getProjectAction, getProjectActions, perform, prebuild |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface hudson.tasks.BuildStep |
getProjectAction, getProjectActions, prebuild |
rpcAddress
public String rpcAddress
username
public String username
password
public String password
TracPublisher
@DataBoundConstructor
public TracPublisher(String rpcAddress,
String username,
String password)
getRequiredMonitorService
public hudson.tasks.BuildStepMonitor getRequiredMonitorService()
needsToRunAfterFinalized
public boolean needsToRunAfterFinalized()
- Overrides:
needsToRunAfterFinalized
in class hudson.tasks.Publisher
perform
public boolean perform(hudson.model.AbstractBuild<?,?> build,
hudson.Launcher launcher,
hudson.model.BuildListener listener)
throws InterruptedException,
IOException
- Specified by:
perform
in interface hudson.tasks.BuildStep
- Overrides:
perform
in class hudson.tasks.BuildStepCompatibilityLayer
- Throws:
InterruptedException
IOException
Copyright © 2004-2012. All Rights Reserved.