我在 Azure Devops 中为 sonatype nexus 存储库使用通用服务连接,但出现错误
HttpResponse.statusCode:404,HttpResponse.statusMessage:未找到存储库
我可以使用 curl 命令上传工件并具有对存储库的有效访问权限。我尝试了不同的网址和选项,但没有运气。
完整错误:
上传失败,HttpResponse.statusCode: 404, HttpResponse.statusMessage: Repository not found
##[错误] 上传失败,HttpResponse.statusCode: 404, HttpResponse.statusMessage: Repository not found
##[debug]Processed:##vso[task.issue type=error;]上传失败,HttpResponse.statusCode:404,HttpResponse.statusMessage:找不到存储库
##[debug]task result: Failed
##[debug]Processed: ##vso[task.complete result=Failed;]Upload failed, HttpResponse.statusCode: 404, HttpResponse.statusMessage: Repository not found
Finishing: nexusArtifactUpload
日志:nexusUploadUrl=https://nexus-xxx-org/nexus/repository/ service/local/artifact/maven/content
上面的 URL 是错误的,知道如何更新 service/local/artifact/maven/content 吗?提前致谢!