public abstract class AbstractLiquibaseBuilder extends Builder implements SimpleBuildStep
SimpleBuildStep.LastBuildAction, SimpleBuildStep.LastBuildActionFactory
BuildStep.PublisherList
ExtensionPoint.LegacyInstancesAreScopedToHudson
Modifier and Type | Field and Description |
---|---|
protected String |
changeLogFile |
protected String |
contexts |
protected String |
installationName |
protected String |
labels |
protected String |
liquibasePropertiesPath |
protected String |
password
Deprecated.
|
protected String |
url |
protected String |
username
Deprecated.
|
BUILDERS, PUBLISHERS
Constructor and Description |
---|
AbstractLiquibaseBuilder() |
all, getRequiredMonitorService, prebuild
getProjectAction, getProjectAction, getProjectActions, perform, perform, prebuild
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
perform
getProjectAction, getProjectActions, getRequiredMonitorService, perform, prebuild
protected String installationName
protected String changeLogFile
protected String url
protected String contexts
protected String liquibasePropertiesPath
protected String labels
@Deprecated protected transient String username
@Deprecated protected transient String password
public LiquibaseInstallation getInstallation(EnvVars env, TaskListener listener, FilePath workspace) throws IOException, InterruptedException
IOException
InterruptedException
public String getInstallationName()
@DataBoundSetter public void setInstallationName(String installationName)
protected Object readResolve()
public abstract Descriptor<Builder> getDescriptor()
getDescriptor
in interface Describable<Builder>
getDescriptor
in class Builder
public void perform(@Nonnull Run<?,?> build, @Nonnull FilePath workspace, @Nonnull Launcher launcher, @Nonnull TaskListener listener) throws InterruptedException, IOException
perform
in interface SimpleBuildStep
InterruptedException
IOException
protected abstract void addCommandAndArguments(ArgumentListBuilder cliCommand, Properties configProperties, Run<?,?> build, EnvVars environment, TaskListener listener) throws IOException
IOException
public String getChangeLogFile()
@DataBoundSetter public void setChangeLogFile(String changeLogFile)
public String getUrl()
@DataBoundSetter public void setUrl(String url)
public String getContexts()
@DataBoundSetter public void setContexts(String contexts)
public String getLiquibasePropertiesPath()
@DataBoundSetter public void setLiquibasePropertiesPath(String liquibasePropertiesPath)
public String getChangeLogParameters()
@DataBoundSetter public void setChangeLogParameters(String changeLogParameters)
public String getLabels()
@DataBoundSetter public void setLabels(String labels)
public String getResourceDirectories()
@DataBoundSetter public void setResourceDirectories(String resourceDirectories)
public String getCredentialsId()
@DataBoundSetter public void setCredentialsId(String credentialsId)
@DataBoundSetter public void setUsername(String username)
@DataBoundSetter public void setPassword(String password)
@Deprecated public String getUsername()
@Deprecated public String getPassword()
public void clearLegacyCredentials()
public boolean hasLegacyCredentials()
protected String getProperty(Properties configProperties, LiquibaseProperty property)
protected void addArgument(ArgumentListBuilder cliCommand, String key, String value)
protected void addArgument(ArgumentListBuilder cliCommand, String key, String value, boolean maskValue)
protected void addGlobalArguments(ArgumentListBuilder cliCommand, Properties configProperties, Run<?,?> build, EnvVars environment, TaskListener listener) throws IOException, InterruptedException
IOException
InterruptedException
Copyright © 2016–2020. All rights reserved.