public class GitPush extends Recorder implements Serializable
Modifier and Type | Class and Description |
---|---|
static class |
GitPush.Descriptor |
Publisher.DescriptorExtensionListImpl
ExtensionPoint.LegacyInstancesAreScopedToHudson
BuildStep.PublisherList
BUILDERS, PUBLISHERS
Constructor and Description |
---|
GitPush() |
Modifier and Type | Method and Description |
---|---|
String |
getTargetBranch() |
String |
getTargetRepo() |
boolean |
perform(AbstractBuild<?,?> build,
Launcher launcher,
BuildListener listener) |
void |
setTargetBranch(String targetBranch) |
void |
setTargetRepo(String targetRepo) |
getDescriptor
all, getProjectAction, needsToRunAfterFinalized, prebuild
getProjectAction, getProjectActions, perform, prebuild
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getRequiredMonitorService
@DataBoundSetter public void setTargetBranch(String targetBranch)
public String getTargetBranch()
@DataBoundSetter public void setTargetRepo(String targetRepo)
public String getTargetRepo()
public boolean perform(AbstractBuild<?,?> build, Launcher launcher, BuildListener listener) throws InterruptedException, IOException
perform
in interface BuildStep
perform
in class BuildStepCompatibilityLayer
InterruptedException
IOException
Copyright © 2016–2022. All rights reserved.