--context-filter

Last updated: May 1, 2026

Specifies the changeset contexts to match.

Syntax

You can set this parameter in the following ways:

Option

Syntax

Command CLI parameter

--context-filter=<string>

Liquibase properties file (defaults file)

liquibase.command.contextFilter: <string>

Command flow file argument (example)

cmdArgs: { context-filter: "<string>" }

JVM system property (JAVA_OPTS environment variable)

JAVA_OPTS=-Dliquibase.command.contextFilter=<string>

Liquibase environment variable

LIQUIBASE_COMMAND_CONTEXT_FILTER=<string>