ARTIFACTORY: Understanding Version Services of Artifactory
Starting from Artifactory 7.39.10, we should take into consideration both the product (i.e., Artifactory Release) and the Microservice version.
Product Version We may observe the Product Version in four different ways:
2. With a curl command:
curl -u<username>:<password> http://<Artifactory_URL>/artifactory/api/system/version
{
"version" : "7.49.5",
"revision" : "74905900",
…..
}3. On the file located at your Artifactory machine: $JFROG_HOME/artifactory/app/artifactory.product.version.properties
artifactory.product.version=7.49.5 artifactory.product.revision=74905900 artifactory.product.timestamp=20230110201953 artifactory.product.buildNumber=7.49.5-20230110201953-1
Artifactory Microservice Version
To observe all the microservices versions, please look at the UI in the Service Status section:
Out of all the microservices described above, the confusing one might be the version of the Artifactory service.
To distinguish between the Product Version and the Artifactory Service Version, there are another three ways except for the UI:
1. On the file located at your Artifactory machine: /var/opt/jfrog/artifactory/etc/artifactory/artifactory.properties
artifactory.version=7.49.4 artifactory.revision=74904900 artifactory.timestamp=LOCAL artifactory.buildNumber=LOCAL
To clarify that, for example, on the Artifactory Release 7.49.5, the Product Version is 7.49.5, and the Artifactory Server Version is 7.49.4.
3. With a curl command:
curl -u<username>:<password> http://<Artifactory_URL>/artifactory/api/system/nodes
{
"nodes" : [ {
….
"version" : "7.49.4",
….
} ]
}Summary
To summarize, the knowledge base emphasized distinguishing between the Product Version (Artifactory Release) and the versions of the microservices, including the Artifactory Service Version, which is different from the Product Version.