jenkinsci / jfrog-plugin

The Jenkins JFrog Plugin allows for easy integration between Jenkins and the JFrog Platform.
https://github.com/jfrog/jenkins-jfrog-plugin
Apache License 2.0
10 stars 24 forks source link

Installing from Artifactory seems stuck at version 2.37.1 #32

Closed larsskj closed 15 hours ago

larsskj commented 4 days ago

Describe the bug

We have setup the JFrog plugin to install the latest version of the jf CLI from our Artifactory SaaS instance - just as described in the plugin documentation: A generic repo connected to JFrog - which shows 'Remote Artifactory detected' - and the tools setup in Jenkins points to this repo and the version field is empty - which should mean latest version.

Current behavior

For some reason, Artifactory doesn't update the CLI client: The version found at <reponame>/v2-jf/[RELEASE]/jfrog-cli-linux-amd64/jf is stuck at 2.37.1. This is causing issues as the JFrog platform is being upgraded.

Reproduction steps

Download the RELEASE artifact from the above path: It invariably delivers 2.37.1.

Expected behavior

We would expect to get the latest version as per documentation.

JFrog plugin version

1.5.0

JFrog CLI version

2.37.1 :-)

Operating system type and version

Linux / Windows / Docker / Podman / Kubernetes

JFrog Artifactory version

Latest SaaS

JFrog Xray version

Latest SaaS

yahavi commented 4 days ago

@larsskj Thank you for reporting this issue.

To resolve it, please uncheck the Store Artifacts Locally option in the remote repository configuration: image

Please let me know if that helped and we will add it to the documentation.

larsskj commented 3 days ago

Hi @yahavi ,

You're right - that did the trick: We do get the latest version now. It would probably be a good idea to update documentation. :-)

Thank you for solving this.