Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-51039

http proxy are ignored by git operations for loading pipeline libraries

    Details

    • Similar Issues:

      Description

      Our Jenkins sits behind a firewall, so we have to configure a proxy to access external resources, also git repositories.

      After upgrading from 2.89.4 to above LTS I noticed that pipeline jobs were hanging because they failed to fetch the Jenkinsfile from a git repo. It turned out that proxy settings were not used. I managed to work around that by disabling "Lightweight Checkout".

      After that the pipeline failed to load libraries, again because of missing proxy settings.

      All the problematic repositories could be cloned by "plain" git checkout steps, so my proxy setting are in fact correct, they are just not applied.

       

      many thanks, Holger

       

        Attachments

          Activity

          hpartsch Holger Partsch created issue -
          markewaite Mark Waite made changes -
          Field Original Value New Value
          Assignee Mark Waite [ markewaite ]
          markewaite Mark Waite made changes -
          Component/s git-plugin [ 15543 ]
          abayer Andrew Bayer made changes -
          Component/s workflow-cps-global-lib-plugin [ 21714 ]
          Component/s pipeline [ 21692 ]
          Hide
          fcgravalos Fernando Crespo added a comment -

          I'm hitting the exact same issue, the pipeline job ignores proxy settings and fails to fetch the jenkinsfile

          Show
          fcgravalos Fernando Crespo added a comment - I'm hitting the exact same issue, the pipeline job ignores proxy settings and fails to fetch the jenkinsfile
          noodle_rebellion Dmitriy Belyaev made changes -
          Comment [ Same issue here. Standard jobs (not pipeline) are not facing any problems and can checkout from bitbucket's git repo, while pipeline is having troubles (ignores proxy settings). ]
          vivek Vivek Pandey made changes -
          Labels jenkins pipeline jenkins pipeline triaged-2018-11

            People

            • Assignee:
              Unassigned
              Reporter:
              hpartsch Holger Partsch
            • Votes:
              2 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated: