hudson.plugins.git
Class GitPublisher
java.lang.Object
hudson.tasks.BuildStepCompatibilityLayer
hudson.tasks.Publisher
hudson.tasks.Recorder
hudson.plugins.git.GitPublisher
- All Implemented Interfaces:
- hudson.ExtensionPoint, hudson.matrix.MatrixAggregatable, hudson.model.Describable<hudson.tasks.Publisher>, hudson.tasks.BuildStep, Serializable
public class GitPublisher
- extends hudson.tasks.Recorder
- implements Serializable, hudson.matrix.MatrixAggregatable
- See Also:
- Serialized Form
| 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.Recorder |
getDescriptor |
| Methods inherited from class hudson.tasks.Publisher |
all, getProjectAction, needsToRunAfterFinalized, 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 |
GitPublisher
@DataBoundConstructor
public GitPublisher(List<GitPublisher.TagToPush> tagsToPush,
List<GitPublisher.BranchToPush> branchesToPush,
boolean pushOnlyIfSuccess,
boolean pushMerge)
isPushOnlyIfSuccess
public boolean isPushOnlyIfSuccess()
isPushMerge
public boolean isPushMerge()
isPushTags
public boolean isPushTags()
isPushBranches
public boolean isPushBranches()
getTagsToPush
public List<GitPublisher.TagToPush> getTagsToPush()
getBranchesToPush
public List<GitPublisher.BranchToPush> getBranchesToPush()
getRequiredMonitorService
public hudson.tasks.BuildStepMonitor getRequiredMonitorService()
- Specified by:
getRequiredMonitorService in interface hudson.tasks.BuildStep
createAggregator
public hudson.matrix.MatrixAggregator createAggregator(hudson.matrix.MatrixBuild build,
hudson.Launcher launcher,
hudson.model.BuildListener listener)
- For a matrix project, push should only happen once.
- Specified by:
createAggregator in interface hudson.matrix.MatrixAggregatable
perform
public boolean perform(hudson.model.AbstractBuild<?,?> build,
hudson.Launcher launcher,
hudson.model.BuildListener listener)
throws InterruptedException
- Specified by:
perform in interface hudson.tasks.BuildStep- Overrides:
perform in class hudson.tasks.BuildStepCompatibilityLayer
- Throws:
InterruptedException
Copyright © 2004-2011 Hudson. All Rights Reserved.