Open usinelogicielle opened 2 years ago
Hi,
Searching information from this problem, I found this issue #728. I'm wondering if is it not the same problem?
It seems the author write a PR but it's not merged. @Enquier Were you able to make any progress on the subject?
Hi, Anyone has news about this problem? Do you miss informations?
This issue has been fixed in JFrog-CLI v2.38. If you have any feedback, please let me know.
We tested with Jfrog-cli version 2.48.0 and the problem seems to persist.
Despite adding the NO_PROXY variable, the jfrog mvn clean install
command continues to use the proxy configuration.
What do you think about this error?
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