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

HTTP proxy vars not respected in branch plugin

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      We're having a similar problem to JENKINS-23895 where the gitlab-branch-source-plugin is not respecting the http_proxy variables.

      https://github.com/gitlab4j/gitlab4j-api#connecting-through-a-proxy-server shows how to pass in proxy config. Line 95ish in GitLabHookCreator.java is an example of where proxy config is missing. 

      There are 7 places where the plugin does new GitLabApi(..) and does not pass any proxy config

        Attachments

          Activity

          Hide
          mver Michael Völker added a comment - - edited

          Parichay Barpanda Is there a timeline to implement this?

          This is the only issue that prevents us from using the plugin.

          Looks like this is rather a feature than a bug. 

          Show
          mver Michael Völker added a comment - - edited Parichay Barpanda Is there a timeline to implement this? This is the only issue that prevents us from using the plugin. Looks like this is rather a feature than a bug. 
          Hide
          bitwiseman Liam Newman added a comment - - edited

          Alex Deng Michael Völker
          This functionality is available in github-branch-source and is relative easy to add. Do you have time to submit a PR?

          Show
          bitwiseman Liam Newman added a comment - - edited Alex Deng Michael Völker This functionality is available in github-branch-source and is relative easy to add. Do you have time to submit a PR?
          Hide
          jdelpech Jean-Baptiste Delpech added a comment -

          Hi there, I opened a PR to add corporate proxy support : https://github.com/jenkinsci/gitlab-branch-source-plugin/pull/124

           

          Feel free to make suggestion / improvments.

          Show
          jdelpech Jean-Baptiste Delpech added a comment - Hi there, I opened a PR to add corporate proxy support : https://github.com/jenkinsci/gitlab-branch-source-plugin/pull/124   Feel free to make suggestion / improvments.
          Hide
          tom_gl Thomas de Grenier de Latour added a comment -

          PR 124 (plugin version 1.5.5) has introduced a regression in my use case, because it ignores the "No proxy host" settings (our proxy is for internet only and our GitLab server is on intranet).

          Proposed fix: https://github.com/jenkinsci/gitlab-branch-source-plugin/pull/133

          Show
          tom_gl Thomas de Grenier de Latour added a comment - PR 124 (plugin version 1.5.5) has introduced a regression in my use case, because it ignores the "No proxy host" settings (our proxy is for internet only and our GitLab server is on intranet). Proposed fix: https://github.com/jenkinsci/gitlab-branch-source-plugin/pull/133

            People

            Assignee:
            baymac Parichay Barpanda
            Reporter:
            alex_flux Alex Deng
            Votes:
            2 Vote for this issue
            Watchers:
            6 Start watching this issue

              Dates

              Created:
              Updated: