欢迎使用普元产品知识库,本知识库包含普元应用开发平台EOSPlatform,流程平台BPS,企业服务总线ESB,微服务平台Microservice,运维管理平台Devops,数据集成平台DI

页面树结构

欢迎使用普元文档库

Skip to end of metadata
Go to start of metadata

【问题】

DevOps5.3在执行tomcat云主机部署任务时报错,报错信息如下:

10:47:47 URL: http://xx.xx.xx.xxx:8080pi/ci/buildartifacts/latest?projectId=xx&componentName=xxx&artifactType=&buildIds1=&buildIds2=&matchAliasName=xxxxx
10:47:47 Content-type: application/json; charset=UTF-8
10:47:47 Accept: application/json
10:47:47 Authorization: *****
10:47:47 Sending request to url: http://xx.xx.xx.xxx:8080/api/ci/buildartifacts/latest?projectId=xx&componentName=xxx&artifactType=&buildIds1=&buildIds2=&matchAliasName=xxxxx
10:47:47 Response Code: HTTP/1.1 204 No Content
10:47:47 Response:
10:47:47 null
10:47:47 Success code from [100‥399]
[Pipeline] error
[Pipeline] }
[Pipeline] // timestamps
[Pipeline] echo
//////////////////////////////////1:tomcat云主机部署 error msg///////////////////////////////

hudson.AbortException: Cannot get artifact url [artifactStrategy=latest][artifactVersion=][aliasName=aliasName]!

后端报错信息如下:

【解答】

项目中使用的解决方案:项目—>构建—>构建任务—>发布工件到nexus仓库,“对应组件”选择项目关联的组件,保存后,重新执行构建,构建完成后,再执行“tomcat云主机部署"可以成功