public class GitPublisher extends hudson.tasks.Recorder implements Serializable, hudson.matrix.MatrixAggregatable
| Modifier and Type | Class and Description |
|---|---|
static class |
GitPublisher.BranchToPush |
static class |
GitPublisher.DescriptorImpl |
static class |
GitPublisher.NoteToPush |
static class |
GitPublisher.PushConfig |
static class |
GitPublisher.TagToPush |
hudson.tasks.Publisher.DescriptorExtensionListImpl| Constructor and Description |
|---|
GitPublisher(List<GitPublisher.TagToPush> tagsToPush,
List<GitPublisher.BranchToPush> branchesToPush,
List<GitPublisher.NoteToPush> notesToPush,
boolean pushOnlyIfSuccess,
boolean pushMerge,
boolean forcePush) |
| Modifier and Type | Method and Description |
|---|---|
hudson.matrix.MatrixAggregator |
createAggregator(hudson.matrix.MatrixBuild build,
hudson.Launcher launcher,
hudson.model.BuildListener listener)
For a matrix project, push should only happen once.
|
List<GitPublisher.BranchToPush> |
getBranchesToPush() |
List<GitPublisher.NoteToPush> |
getNotesToPush() |
hudson.tasks.BuildStepMonitor |
getRequiredMonitorService() |
List<GitPublisher.TagToPush> |
getTagsToPush() |
boolean |
isForcePush() |
boolean |
isPushBranches() |
boolean |
isPushMerge() |
boolean |
isPushNotes() |
boolean |
isPushOnlyIfSuccess() |
boolean |
isPushTags() |
boolean |
perform(hudson.model.AbstractBuild<?,?> build,
hudson.Launcher launcher,
hudson.model.BuildListener listener) |
all, getProjectAction, needsToRunAfterFinalized, prebuild@DataBoundConstructor public GitPublisher(List<GitPublisher.TagToPush> tagsToPush, List<GitPublisher.BranchToPush> branchesToPush, List<GitPublisher.NoteToPush> notesToPush, boolean pushOnlyIfSuccess, boolean pushMerge, boolean forcePush)
public boolean isPushOnlyIfSuccess()
public boolean isPushMerge()
public boolean isForcePush()
public boolean isPushTags()
public boolean isPushBranches()
public boolean isPushNotes()
public List<GitPublisher.TagToPush> getTagsToPush()
public List<GitPublisher.BranchToPush> getBranchesToPush()
public List<GitPublisher.NoteToPush> getNotesToPush()
public hudson.tasks.BuildStepMonitor getRequiredMonitorService()
getRequiredMonitorService in interface hudson.tasks.BuildSteppublic hudson.matrix.MatrixAggregator createAggregator(hudson.matrix.MatrixBuild build,
hudson.Launcher launcher,
hudson.model.BuildListener listener)
createAggregator in interface hudson.matrix.MatrixAggregatablepublic boolean perform(hudson.model.AbstractBuild<?,?> build,
hudson.Launcher launcher,
hudson.model.BuildListener listener)
throws InterruptedException,
IOException
perform in interface hudson.tasks.BuildStepperform in class hudson.tasks.BuildStepCompatibilityLayerInterruptedExceptionIOExceptionCopyright © 2004-2015. All Rights Reserved.