从Azure DevOps管道启动时,XRay扫描找不到任何监视

阿尔莫兰德

我正在尝试从Azure DevOps管道运行X射线扫描,但是即使设置了所有内容,我仍然可以

Xray does not have any Watches monitoring this build, or the Watches monitoring this build do not have a CI Integration action defined

我有一个管道负责在工件上上传nuget包。这部分工作正常,我可以打包并将其发布到我的存储库中的工件上,没有任何问题。然后,在相同的构建上,我试图使用相同的工件端点运行X射线扫描

配置扫描任务时出现不同的错误。首先它说该构建不存在,所以我不得不在伪造的一侧对其进行声明,然后它说没有对该名称的构建进行索引,因此我在索引设置中添加了该构建,然后最后一条错误消息告诉我手表的存在使我觉得问题出在X射线方面。

(绿色任务正常,红色任务失败) 管道

在Xray方面,对构建进行了索引(错误消息消失),并且我有多个监视程序,可以显式指定构建,也可以指定所有构建。每个都有至少一个策略,并且已启用,如屏幕截图所示。这就是为什么我不明白为什么找不到所有匹配的手表,因为所有版本都链接到该手表

看

确切的消息如下

C:\hostedtoolcache\windows\jfrog\1.23.1\x64\jfrog.exe rt bs Lovely-Library-CI Lovely-Library-CI-20190505.1 --url="https://bobbob601.jfrog.io/bobbob601/" --user=*** --password=***
========================== Starting Command Output ===========================
##[command]"C:\windows\system32\cmd.exe" /D /E:ON /V:OFF /S /C "CALL "D:\a\_temp\e9fb9321-84e7-4d6b-9674-8e018729a51d.cmd""
The CLI commands require the Artifactory URL and authentication details
Configuring JFrog CLI with these parameters now will save you having to include them as command options.
You can also configure these parameters later using the 'config' command.
[Info] Triggered Xray build scan... The scan may take a few minutes.
[Info] Xray scan completed.
Configure now? (y/n): {
[Error] Xray does not have any Watches monitoring this build, or the Watches monitoring this build do not have a CI Integration action defined.
  "summary": {
    "total_alerts": 0,
    "fail_build": true,
    "message": "Xray does not have any Watches monitoring this build, or the Watches monitoring this build do not have a CI Integration action defined.",
    "more_details_url": ""
  },
  "alerts": [],
  "licenses": []
}

有什么想法可以解决这个问题或我缺少什么吗?我对文档进行了三重检查。尝试使用CLI手动调用X射线。还是一样的错误

非常感谢

阿尔莫兰德

多亏了JFrog的支持,我才得到了未记载的答案。

您至少有一项政策,请选中“构建失败”选项。如果它们仅是审核策略,那么您会收到此随机消息。

因此,Xray的手表->->设置->策略(编辑)->检查构建失败

本文收集自互联网,转载请注明来源。

如有侵权,请联系 [email protected] 删除。

编辑于
0

我来说两句

0 条评论
登录 后参与评论

相关文章

Azure DevOps 上的 ARM:找不到任何与模板文件模式匹配的文件

找不到Azure DevOps管道迁移SQL

尝试在Azure DevOps管道中进行构建时找不到项目文件

Azure Devops管道找不到al.exe

在 azure devops 管道中找不到 Databricks 命令

在我的 Azure DevOps 管道中找不到已安装的模块

从Logic Apps启动Azure Devops发布管道

在 Azure DevOps Pipeline 中找不到 Pytest

在 azure devops 中找不到 scriptPath

Azure DevOps发布管道:找不到新的“导出YAML”菜单项

找不到其他项目的Azure DevOps管道失败DLL

Azure DevOps 管道中的 NG 构建失败:错误:找不到模块“../internal/operators/audit”

在 azure devops 管道中找不到已安裝的模塊

Azure DevOps管道阶段

Azure DevOps 增量管道

Azure DevOps管道问题

Azure DevOps触发管道

Azure DevOps 管道查询

运行pylint时Azure DevOps管道失败

部署时的 Azure DevOps 管道问题

Jedis扫描找不到任何密钥

在 azure 管道 yaml 中运行 cypress 测试时找不到 package.json

在Azure Devops上运行构建时找不到资产文件project.assets.json

在Azure DevOps上运行DockerFile构建命令时找不到项目

在Azure DevOps上运行DockerFile build命令时找不到项目依赖项

Azure DevOps管道发布错误:找不到具有指定模式的软件包:D:\ a \ r1 \ a \ ** \ *。zip

C#:我的第一个 Azure DevOps 管道(“Hello, World!”)-“找不到类型或命名空间名称‘系统’”

Azure DevOps 管道迭代任务

Azure DevOps,YAML发布管道?