首页 > 解决方案 > Liquibase 安装in 不是有效的 Liquibase 安装

问题描述

我正在尝试使用 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

标签: jenkinsliquibaseagent

解决方案


推荐阅读