【发布时间】:2020-06-25 03:56:37
【问题描述】:
我在 Jenkins 中安装了 Liquibase runner 1.3.0 插件,并尝试执行我在执行“diffChangeLog”命令后得到的 liquibase 更改日志脚本文件。在执行脚本文件时,我收到 Failed to read schema document 'http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-3.8.xsd' 作为异常。 我检查了我的变更日志文件,它有下面提到的标题。
<?xml version="1.1" encoding="UTF-8" standalone="no"?>
<databaseChangeLog xmlns="http://www.liquibase.org/xml/ns/dbchangelog"
xmlns:ext="http://www.liquibase.org/xml/ns/dbchangelog-ext"
xmlns:pro="http://www.liquibase.org/xml/ns/pro"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog-ext
http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-ext.xsd
http://www.liquibase.org/xml/ns/pro
http://www.liquibase.org/xml/ns/pro/liquibase-pro-3.8.xsd
http://www.liquibase.org/xml/ns/dbchangelog
http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-3.8.xsd">
但是现在在这里,当我在标题中的两个位置将“3.8”替换为“3.5”时,它就会成功执行。我希望仅使用“3.8”执行此操作。 请帮忙。
【问题讨论】:
标签: jenkins jenkins-pipeline liquibase liquibase-sql