jfrog / jfrog-azure-devops-extension

Apache License 2.0
47 stars 61 forks source link

Artifactory Generic Upload task fails #341

Open kathirroche opened 2 years ago

kathirroche commented 2 years ago

Describe the bug We are using the Artifactory Generic Upload task in Azure Devops Pipeline and suddenly it starts failing with below issue.

Failed while attempting to download JFrog CLI from https://api.bintray.com/content/jfrog/jfrog-cli-go/1.39.5/jfrog-cli-windows-amd64/jfrog.exe?bt_package=jfrog-cli-windows-amd64. If this build agent cannot access the internet, you may use the 'Artifactory Tools Installer' task, to download JFrog CLI through an Artifactory repository, which proxies https://api.bintray.com/content/jfrog/jfrog-cli-go/1.39.5/jfrog-cli-windows-amd64/jfrog.exe?bt_package=jfrog-cli-windows-amd64. You may also manually download version 1.39.5 of JFrog CLI and place it on the agent in the following path: C:\Builds\1_tool_jfrog\current\jfrog.exe Error: Unexpected HTTP response: 403

To Reproduce Try Uploading an artifacts

Expected behavior it should download the jfrog cli and perform the uploads operation .

Screenshots image

Versions

Additional context Add any other context about the problem here.

RobiNino commented 2 years ago

Hi @kathirroche , Bintray is no longer available. Since you are using extension version 1.10.6, I assume you are using Azure DevOps Server. Please update to the latest version of the v1 extension (Artifactory Azure DevOps Extension 1.13.6). Thanks

kathirroche commented 2 years ago

Hi RobiNino,

Thanks for the update. we tried to install v1 extension - Artifactory Azure DevOps Extension 1.13.6 in Azure Devops Server 2019 - Update 1.1 but it throws some issue as shown below. image We are able to install all other extensions. We are the admins and we are able to install v2 extension as well. Can you check the compatability of the Azure Devops Server 2019 -Update 1.1 and Artifactory Azure DevOps Extension 1.13.6.? Suddenly we cannot migrate from V1 to V2 is our current scenario.

Regards, Kathir

RobiNino commented 2 years ago

Thanks for the reply Kathir. Are there any logs you can provide? This error mentions downloading the extension, could this be a network/configuration issue? We will try to investigate on our end, thanks.

kathirroche commented 2 years ago

All extensions are getting installed except the V1 Latest version. There is not much logs. Kindly let us know if you get any detail on the same. Thanks for the prompt responses.