jfrog-azure-devops-extension icon indicating copy to clipboard operation
jfrog-azure-devops-extension copied to clipboard

Ability to always use the latest available Jfrog-CLI version through Azure DevOps Plug in

Open manojkumarm-git opened this issue 2 years ago • 1 comments

This is regarding the Github issue related to the JFrog Azure DevOps plugin https://github.com/jfrog/jfrog-azure-devops-extension/issues/372. The JFrog plugin tasks to use the latest version of CLI in the pipeline.

The latest available JFrog CLI is on version 2.34.1 as per the https://releases.jfrog.io/artifactory/jfrog-cli/v2-jf/ but when running the pipeline, it's pulling the old default version. But it should pull the latest version If I am not specifying any version.

Sample logs from the pipeline are attached for reference.

Screenshot 2023-02-06 at 9 46 13 AM 1

What is the expected behavior?

While running the JFrog Azure DevOps pipeline, the plugin should pull the latest version of JFrog CLI.

JFrog Azure DevOps extension version: 2.3.0

Possible workaround:

In the JFrog Azure DevOps pipeline, we can use of install custom version option as below.

      `- task: JFrogToolsInstaller@1
      inputs:
      artifactoryConnection: 'cloud'
      cliInstallationRepo: 'jf-remote'
      installCustomVersion: true
      cliVersion: '2.34.1'`

manojkumarm-git avatar Feb 06 '23 06:02 manojkumarm-git

This has bitten me, too. I mean, there's a task to get the JFrog CLI...but, when you ship a new version of this extension, you don't update the CLI packaged with it?? What gives? Really annoying.

fourpastmidnight avatar Mar 20 '24 15:03 fourpastmidnight