我正在尝试使用 Jenkins 为使用 Java 和 S4/HANA 扩展 SDK 构建的地址管理器应用程序设置持续交付管道。但是在启动 Jenkins 并启动应用程序以在 localhost 上构建管道时,我看到我安排为多分支的作业失败了。
我通过阶段视图得到的错误如下所示: Jenkins Error
弹出的一些错误消息是:
13:31:37 [PMD] Plug-in Result: Failed - <a href="pmdResult">3
warnings</a> of <a href="pmdResult/HIGH">priority High</a> exceed
the threshold of 0 by 3
[Pipeline] echo
13:31:37 --- BEGIN LIBRARY STEP:
errorWhenCurrentBuildResultIsWorseOrEqualTo.groovy
[Pipeline] error
[Pipeline] echo
13:31:37 ----------------------------------------------------------
13:31:37 --- ERROR OCCURRED IN LIBRARY STEP:
errorWhenCurrentBuildResultIsWorseOrEqualTo
13:31:37 ----------------------------------------------------------
13:31:37
13:31:37 FOLLOWING PARAMETERS WERE AVAILABLE TO THIS STEP:
13:31:37 ***
13:31:37 [script:Script1@23932457, errorStatus:FAILURE,
errorHandler:buildFailureReason$_closure1@5966ff12,
errorHandlerParameter:PMD, errorMessage:Please examine the PMD
reports.]
13:31:37 ***
13:31:37
13:31:37 ERROR WAS:
13:31:37 ***
13:31:37 hudson.AbortException: Build was ABORTED and marked as
FAILURE. Please examine the PMD reports.
13:31:37 ***
我不确定我做错了什么。运行后docker ps
,我确实看到两个处于活动状态的容器。
docker ps
CONTAINER ID IMAGE COMMAND
CREATED STATUS PORTS
NAMES
5c8d5ebde36c sonatype/nexus3:3.13.0 "sh -c
${SONATYPE_DI…" 39 minutes ago Up 39 minutes 8081/tcp
s4sdk-nexus
39b22d39b7ed s4sdk/jenkins-master:latest "/sbin/tini --
/usr/…" 44 hours ago Up 38 minutes 8443/tcp,
50000/tcp, 0.0.0.0:80->8080/tcp s4sdk-jenkins-master
任何继续前进的指针将不胜感激。谢谢你。