Uploaded image for project: 'Jenkins Artifactory Plug-in'
  1. Jenkins Artifactory Plug-in
  2. HAP-836

Setting a HTTP PROXY server in jenkins does not take effect for downloading and deploying artifacts to Artifactory

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: High
    • Resolution: Fixed
    • Affects Version/s: 2.7.2
    • Fix Version/s: 2.8.0
    • Component/s: Maven3

      Description

      Setting a HTTP PROXY server in jenkins does not take effect for downloading and deploying artifacts to Artifactory .

      Jenkins Artifactory plugin version - 2.7.2

      Steps to Reproduce:

      1. Configure a HTTP PROXY in Jenkins ->Manage Jenkins ->Manage Plugins ->Advanced

      2. Create a sample maven project

      3. Run the build and you will see that the build uses the Proxy server when going to fetch from Git, but is not used when downloading and deploying to Artifactory

      4. To be sure that the downloads/deploy are not going through Proxy server. We disabled Git under SCM in the Job configuration and gave the location of the ROOT pom as the Jenkins workspace directory which contains the project.

      5. Now we stopped the Proxy server and ran the build again and saw that the build was successful and it was downloading and deploying to Artifactory. This shows that the requests are not going through the Proxy server although it has been specified. Also we made sure that "bypass proxy" is disabled for the Artifactory URL.

        Attachments

          Activity

            People

            Assignee:
            eyalbe Eyal Ben Moshe (Inactive)
            Reporter:
            nihalc@jfrog.com Nihal Reddy Chinna Choudhary
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: