Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Does JFrog Pip support anonymous access? #465

Open
Nekto89 opened this issue Dec 15, 2023 · 0 comments
Open

Does JFrog Pip support anonymous access? #465

Nekto89 opened this issue Dec 15, 2023 · 0 comments
Labels
question Further information is requested

Comments

@Nekto89
Copy link

Nekto89 commented Dec 15, 2023

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 Nekto89 added the question Further information is requested label Dec 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant