我在管道的jenkins中使用人工插件2.16.1 在运行中我得到了:
[main] WARN org.jfrog.build.extractor.maven.BuildDeploymentHelper - Artifactory Build Info Recorder: unstable build, artifacts will not be deployed...
[main] INFO org.jfrog.build.extractor.maven.BuildDeploymentHelper - Artifactory Build Info Recorder: publish build info set to false, build info will not be published...
一切都成功了,但没有失败,但是没有部署工件
过了一会儿,第二次运行没有进行任何更改,并且部署了工件。可能是什么问题?我不知道怎么了
答案 0 :(得分:1)
日志说明以下内容
[main] WARN org.jfrog.build.extractor.maven.BuildDeploymentHelper - Artifactory Build Info Recorder: unstable build, artifacts will not be deployed...
即构建不稳定,将不会部署工件
在“ Artifactory配置”部分中, 即使构建不稳定,也要检查(打勾)部署
希望它会有所帮助:)
答案 1 :(得分:0)
使用构建工件发布任务可以在多模块gradle项目中进行部署。在root的build.gradle中添加了发布默认块。但是仍然只有父模块工件正在上传,而子模块则没有上传。