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

          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

            People

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

              Dates

              • Created:
                Updated: