Jenkins中使用flyway-sbt插件构建任务失败求助
Flyway-sbt插件Jenkins执行失败问题排查求助
我正在构建一个使用flyway-sbt插件的Jenkins任务,该任务在本地运行正常,但在Jenkins中执行失败,报错信息如下:
[warn] Note: Some unresolved dependencies have extra attributes. Check that these dependencies exist with the requested attributes. [warn] org.flywaydb:flyway-sbt:4.2.0 (sbtVersion=1.0, scalaVersion=2.12) [warn] [warn] Note: Unresolved dependencies path: [error] sbt.librarymanagement.ResolveException: Error downloading org.flywaydb:flyway-sbt;sbtVersion=1.0;scalaVersion=2.12:4.2.0 [error] Not found [error] Not found [error] not found: https://repo1.maven.org/maven2/org/flywaydb/flyway-sbt_2.12_1.0/4.2.0/flyway-sbt-4.2.0.pom [error] not found: /root/.ivy2/localorg.flywaydb/flyway-sbt/scala_2.12/sbt_1.0/4.2.0/ivys/ivy.xml [error] not found: https://repo.scala-sbt.org/scalasbt/sbt-plugin-releases/org.flywaydb/flyway-sbt/scala_2.12/sbt_1.0/4.2.0/ivys/ivy.xml [error] not found: https://repo.typesafe.com/typesafe/ivy-releases/org.flywaydb/flyway-sbt/scala_2.12/sbt_1.0/4.2.0/ivys/ivy.xml [error] not found: https://repo.typesafe.com/typesafe/maven-releases/org.flywaydb/flyway-sbt_2.12_1.0/4.2.0/flyway-sbt-4.2.0.pom
我已查看过相关问题的讨论内容,但未能解决当前问题,恳请帮忙分析原因。
内容的提问来源于stack exchange,提问作者Mohammed
相关产品推荐
相关产品推荐

