include: local: "templates/java/java-common-db.gitlab-ci.yml" .gradle-database-diff: extends: - .database-diff-common image: $GRADLE_IMAGE variables: GRADLE_EXTRA_OPTS: "" PATH_TO_DIFF: "build/db-diff.xml" before_script: - > if [ "$BACKEND_DIR" != "" ]; then cd $BACKEND_DIR fi script: - ./gradlew liquibase:update liquibase:diff $GRADLE_CLI_OPTS