无法从Jenkins运行成功的构建集成作业

时间:2019-05-17 06:02:17

标签: maven jenkins nexus

我有一个Jenkins设置,可以与Nexus和Azure Devops Git存储库建立连接。当我尝试从Jenkins运行构建作业时,它失败了,尽管我能够将标签和更新推送到Azure Git,但无法将工件推送到Nexus,也无法从Nexus成功下载项目的引用jar。 出现如下错误

[INFO] [INFO] BUILD FAILURE
[INFO] [INFO] ---------------------------------------------------------------
[INFO] [ERROR] Failed to execute goal org.apache.maven.plugins:maven-install-plugin:2.4:install (default-install) on project xste: Execution default-install of goal org.apache.maven.plugins:maven-install-plugin:2.4:install failed: A required class was missing while executing org.apache.maven.plugins:maven-install-plugin:2.4:install: org/codehaus/plexus/digest/DigesterException
[INFO] [ERROR] -----------------------------------------------------
[INFO] [ERROR] realm =    plugin>org.apache.maven.plugins:maven-install-plugin:2.4
[INFO] [ERROR] strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy
[INFO] [ERROR] urls[0] = file:/C:/Windows/System32/config/systemprofile/.m2/repository/org/apache/maven/plugins/maven-install-plugin/2.4/maven-install-plugin-2.4.jar
[INFO] [ERROR] urls[1] = file:/C:/Windows/System32/config/systemprofile/.m2/repository/org/codehaus/plexus/plexus-utils/1.1/plexus-utils-1.1.jar
[INFO] [ERROR] Number of foreign imports: 1
[INFO] [ERROR] import: Entry[import  from realm ClassRealm[maven.api, parent: null]]
[INFO] [ERROR] 
[INFO] [ERROR] -----------------------------------------------------
[INFO] [ERROR] : org.codehaus.plexus.digest.DigesterException

类似DigesterException类的代码在codehaus / plexus / plexus-utils / 1.1 / plexus-utils-1.1.jar中不可用

[INFO] [WARNING] Error injecting: org.apache.maven.plugin.install.InstallMojo
[INFO] java.lang.NoClassDefFoundError: org/codehaus/plexus/digest/DigesterException

如何解决此错误,请您帮我解决这个问题。

0 个答案:

没有答案