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

Does JFrog Pip support anonymous access?

Open Nekto89 opened this issue 7 months ago • 0 comments

I'm getting an error while trying to run JFrog Pip with service connection that has empty username and password. I'm not sure whether this is intended or not. I don't see code that should support this workflow. https://github.com/jfrog/jfrog-azure-devops-extension/blob/aa4c0af29924fcfe3cab759dd817202c76d1e01a/jfrog-tasks-utils/utils.js#L264C5-L277C6

Starting: JFrog Pip
==============================================================================
Task         : JFrog Pip
Description  : Run 'pip install' while resolving the Python dependencies from Artifactory. This task also allows collecting build-info. The collected build-info can be later published to Artifactory by the "JFrog Publish Build Info" task.
Version      : 1.8.0
Author       : JFrog
Help         : [More Information](https://github.com/jfrog/jfrog-azure-devops-extension#JFrog-Pip-Task)
==============================================================================
Found tool in cache: jf 2.44.1 x64
Running jfrog-cli from E:\Bld\A1\_tool\jf\2.44.1\x64\jf.exe
JFrog CLI version: 2.44.1
Executing JFrog CLI Command:
E:\Bld\A1\_tool\jf\2.44.1\x64\jf.exe c add "Gate_1557557_pipinstall_resolver_1702543369215" --artifactory-url="https://..." --interactive=false --user= --basic-auth-only --password-stdin
09:42:49 [Warn] You are using JFrog CLI version 2.44.1, however version 2.52.2 is available.
To install the latest version, visit: https://jfrog.com/getcli
To see the release notes, visit: https://github.com/jfrog/jfrog-cli/releases
To avoid this message, set the JFROG_CLI_AVOID_NEW_VERSION_WARNING variable to TRUE
09:42:49 [Error] no password provided via Stdin
##[error]Error occurred while executing task: Error: Command failed: E:\Bld\A1\_tool\jf\2.44.1\x64\jf.exe c add "Gate_1557557_pipinstall_resolver_1702543369215" --artifactory-url="https://..." --interactive=false --user= --basic-auth-only --password-stdin
Finishing: JFrog Pip

Nekto89 avatar Dec 15 '23 09:12 Nekto89