jenkins 中的Liquibase安装< PATH>不是有效的Liquibase安装

bwleehnv  于 2023-06-21  发布在  Jenkins
关注(0)|答案(1)|浏览(161)

我尝试使用jenkins运行liquibase runner,当我在jenkins master中运行它时,使用自动安装效果很好,但当我尝试在jenkisn代理中运行它时,它显示此错误:

Liquibase home: /home/jenkins/agent/tools/org.jenkinsci.plugins.liquibase.install.LiquibaseInstallation/Liquibase
FATAL: Liquibase installation /home/jenkins/agent/tools/org.jenkinsci.plugins.liquibase.install.LiquibaseInstallation/Liquibase is not a valid Liquibase install
Build step 'Liquibase: Update Database' changed build result to NOT_BUILT ```

this is my configuration in the Global Tools Configurations:

[enter image description here][1]

this is my configuration in the freestyle job:

[enter image description here][2]

  [1]: https://i.stack.imgur.com/3nt9n.png
  [2]: https://i.stack.imgur.com/sSoYc.png
5us2dqdw

5us2dqdw1#

我已经通过改变liquibase的版本解决了同样的问题。致命错误是通过使用Liquibase社区版本的4.13.0之后的版本获得的,我看到这是Jenkins插件支持的最后一个版本。

相关问题