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

The flag "Bypass HTTP Proxy" is not working with Jenkins Workflow (Pipeline)

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: High
    • Resolution: Fixed
    • Affects Version/s: 2.5.1
    • Fix Version/s: 2.6.0
    • Component/s: None
    • Environment:

      Description

      This bug is simillar to the bug reported on HAP-712 , but I'm using Jenkins pipeline with Groovy DSL. The flag "Bypass HTTP Proxy" is checked on Artifactory server definition inside Jenkins system configuration, but it appears flagged to false when I access the server from inside the pipeline Groovy script.
      As a workaround, I flagged bypassProxy to true manually:
      def server = Artifactory.server('artifactory_server')
      server.setBypassProxy(true)

      Jenkins: 2.10
      Artifactory: 4.9.0
      Jenkins Artifactory Plugin: 2.5.1

        Attachments

          Activity

            People

            • Assignee:
              tamirh Tamir Hadad
              Reporter:
              leandroferes Leandro Feres Ribeiro
            • Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: