[英]How to get Jfrog Artifactory and Xray versions
I have a task to automate the comparison of current deployed Jfrog Artifactory and Xray version vs latest available.我的任务是自动比较当前部署的 Jfrog Artifactory 和 Xray 版本与最新版本。 I tried to find some API or cli command, which will return me the versions, couldnt find any.
我试图找到一些 API 或 cli 命令,这将返回我的版本,找不到任何。 Any help is appreciated.
任何帮助表示赞赏。
You can use the information for Artifactory from the System Info REST API .您可以使用System Info REST API中的 Artifactory 信息。 Search for
artifactory.version
in the long output.在长 output 中搜索
artifactory.version
。
For Xray, you get it from the Get Version REST API .对于 Xray,您可以从Get Version REST API中获得它。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.