Jenkins插件依赖项版本

时间:2020-07-22 18:47:22

标签: jenkins jenkins-plugins

我有一个Jenkins,它定义了插件的依赖关系: github-oauth:0.33(https://plugins.jenkins.io/github-oauth/

根据其github,它取决于https://plugins.jenkins.io/github-branch-source插件。 我们可以通过以下方式确认这一点:https://github.com/jenkinsci/github-oauth-plugin/blob/master/pom.xml#L123

2020-07-22 17:40:11.505+0000 [id=25]    SEVERE  jenkins.InitReactorRunner$1#onTaskFailed: Failed Loading plugin GitHub Authentication plugin v0.33 (github-oauth)
java.io.IOException: Failed to load: GitHub Authentication plugin (0.33)
 - Failed to load: GitHub Branch Source Plugin (2.8.3)

为什么要尝试使用2.8.3版本? 主要问题是2.8.3依赖于github 1.31.0,但我定义了1.30.0。 当我更新它时,问题就解决了。 另外,在依赖项页面上查看:

enter image description here

为什么显示“>”?

1 个答案:

答案 0 :(得分:0)

这意味着所需的插件版本可能是更高的版本。

相关问题