public abstract class AbstractLiquibaseBuilder extends Builder implements SimpleBuildStep
SimpleBuildStep.LastBuildAction, SimpleBuildStep.LastBuildActionFactoryBuildStep.PublisherListExtensionPoint.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, prebuildgetProjectAction, getProjectAction, getProjectActions, perform, perform, prebuildclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitperformgetProjectAction, getProjectActions, getRequiredMonitorService, perform, prebuildprotected 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
IOExceptionInterruptedExceptionpublic String getInstallationName()
@DataBoundSetter public void setInstallationName(String installationName)
protected Object readResolve()
public abstract Descriptor<Builder> getDescriptor()
getDescriptor in interface Describable<Builder>getDescriptor in class Builderpublic void perform(@Nonnull Run<?,?> build, @Nonnull FilePath workspace, @Nonnull Launcher launcher, @Nonnull TaskListener listener) throws InterruptedException, IOException
perform in interface SimpleBuildStepInterruptedExceptionIOExceptionprotected abstract void addCommandAndArguments(ArgumentListBuilder cliCommand, Properties configProperties, Run<?,?> build, EnvVars environment, TaskListener listener) throws IOException
IOExceptionpublic 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
IOExceptionInterruptedExceptionCopyright © 2016–2020. All rights reserved.