-
Notifications
You must be signed in to change notification settings - Fork 18
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_proxy fails with urls containing a dash #93
Comments
Probably exactly same here. For me also install from Artifactory fails because it goes through the proxy although I used proper no proxy settings (which work elsewhere in Jenkins!). @yahavi or anyone from the jFrog team, can you please check this? It is quite annoying. |
Great, thanks a lot, that was fast! |
I have installed the new version of the plugin and now everything works as expected. |
Describe the bug
I have setup the jenkins-jfrog-plugin to download the cli tool from a local Artifactory. We have a Artifactory server in a company network with the url 01-artifactory.test.com. We have setup a proxy with the Artifactory url in the no proxy list. But the download from Artifactory fails with a 403 from the proxy. It looks like the hostname for our Artifactory is cut at the dash so it is searched for 01 in the no_proxy list instead of 01-artifactory.test.com
Current behavior
org.jenkinsci.plugins.workflow.actions.ErrorAction$ErrorId: b2c56d0d-6eec-4164-9ad2-473f4b9fc29e
java.io.IOException: JFrog service failed. Received 403
Reproduction steps
Add an artifactory server with an URL containig a '-' in a setup with a proxy and add the server url to the no_proxy list
Expected behavior
Download from artifactory is done in the internal network without using the proxy
JFrog plugin version
1.5.0
JFrog CLI version
2.57.0
Operating system type and version
Windows 10 22H2
JFrog Artifactory version
7.68.1.4
JFrog Xray version
No response
The text was updated successfully, but these errors were encountered: