Describe the bug
When running the JFrog CLI the check that runs initially to see if there is a newer version no longer works.
Current behavior
Running JFrog CLI with CI set to True gives the following output:
[🟠Warn] failed while trying to check latest JFrog CLI version: json: unknown field "url"
For version v2.87.0 this output was given every time. For version v2.89.0 it is only given once per 6 hours.
Due to this the check for a newer version never works as expected.
Reproduction steps
- Download the current (v.2.89.0) JFrog CLI - does not matter which platform, I tested it on Windows and Linux.
- Configure an Artifactory server
- Set environment variable CI to TRUE to have the JFrog CLI print output to stdout (or else inspect the log file that is created in the next step)
- Run an Artifactory download command (or any other command)
- Observe the output, it contains the warning message:
[🟠Warn] failed while trying to check latest JFrog CLI version: json: unknown field "url"
Expected behavior
The new version check runs successfully.
JFrog CLI version
v2.89.0
Operating system type and version
windows/amd64 (Windows 11) and windows/amd64 (Ubuntu 24.04)
JFrog Artifactory version
N.A.
JFrog Xray version
N.A.
Describe the bug
When running the JFrog CLI the check that runs initially to see if there is a newer version no longer works.
Current behavior
Running JFrog CLI with CI set to True gives the following output:
[🟠Warn] failed while trying to check latest JFrog CLI version: json: unknown field "url"
For version v2.87.0 this output was given every time. For version v2.89.0 it is only given once per 6 hours.
Due to this the check for a newer version never works as expected.
Reproduction steps
[🟠Warn] failed while trying to check latest JFrog CLI version: json: unknown field "url"
Expected behavior
The new version check runs successfully.
JFrog CLI version
v2.89.0
Operating system type and version
windows/amd64 (Windows 11) and windows/amd64 (Ubuntu 24.04)
JFrog Artifactory version
N.A.
JFrog Xray version
N.A.