-
Notifications
You must be signed in to change notification settings - Fork 227
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
no support NO_PROXY variable on maven #1573
Comments
Hi, Anyone has news about this problem? |
This issue has been fixed in JFrog-CLI v2.38. |
We tested with Jfrog-cli version 2.48.0 and the problem seems to persist. What do you think about this error? Here are the test logs
|
Hi @Or-Geva , Did you look to the log to give an explanation why the NO_PROXY work doesn't work on maven? |
Describe the bug
We have a Jenkins pipeline with a proxy defined with these environments variables. And the NO_PROXY variable with the domain name of our Artifactory server.
We use jfrog-cli for the maven build but it does not work because the no proxy seems to be not used.
If we disable the HTTPS_PROXY variable. It works.
To Reproduce
Enable a proxy with authentication and configure jfrog like
We didn't configure deploy repo for maven. Because the result will be in an docker image and only the docker image will be published.
Expected behavior
If the NO_PROXY is defined. The jfrog rt mvn command access to Artifactory without the proxy configuration.
Screenshots
The problem is "nonProxyHosts='null'" in the log.
The SSL error is an effect and not the cause.
Trace of our log :
Versions
Test with jfrog cli 1.53.1 and 2.12.1.
build-info-extractor : org/jfrog/buildinfo/build-info-extractor-maven3/2.33.0/build-info-extractor-maven3-2.33.0-uber.jar
openjdk 13.0.1
maven 3.6.3
No settings.xml or maven options.
Thanks for your support
The text was updated successfully, but these errors were encountered: