publish build info set to true

来源:6-3 Jenkins集成Artifactory

weixin_慕码人6295488

2021-03-28

[main] INFO org.jfrog.build.extractor.maven.BuildDeploymentHelper - Artifactory Build Info Recorder: publish build info set to false, build info will not be published…
[main] INFO org.apache.maven.cli.event.ExecutionEventLogger - ------------------------------------------------------------------------
[main] INFO org.apache.maven.cli.event.ExecutionEventLogger - BUILD SUCCESS
[main] INFO org.apache.maven.cli.event.ExecutionEventLogger - ------------------------------------------------------------------------
[main] INFO org.apache.maven.cli.event.ExecutionEventLogger - Total time: 19.962 s
[main] INFO org.apache.maven.cli.event.ExecutionEventLogger - Finished at: 2021-03-28T22:09:42+08:00
[main] INFO org.apache.maven.cli.event.ExecutionEventLogger - ------------------------------------------------------------------------
[Pipeline] publishBuildInfo
Deploying build info to: http://localhost:8083/artifactory/api/build
Could not build the build-info object.
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
[Pipeline] // dir
[Pipeline] }
[Pipeline] // node
[Pipeline] End of Pipeline
java.io.IOException: Could not publish build-info: Error occurred while requesting version information: java.io.IOException: Response message: {
“errors” : [ {
“status” : 401,
“message” : “Authentication is required”
} ]
请问老师,哪里设置 publish build info set to true?

写回答

1回答

清风

2021-03-30

这个是提示没有登录信息,在流水线里要配置登录Artifactory 的credential

0
0

SpringCloud+Kubernetes 微服务容器化交付实战

学习业界领先的持续交付方案

662 学习 · 109 问题

查看课程