jenkinsci / jenkinsci/gitlab-branch-source-plugin

[JENKINS-62779] HTTP proxy vars not respected in branch plugin

Open
#679 4 comments 0 reactions 0 assignees View on GitHub
component:gitlab-branch-source-plugin imported-jira-issue priority:minor resolution:unresolved
Dominant language
Java
Stars
134
Forks
113
PR merge metrics
No merged PRs in 30d

Description

We're having a similar problem to JENKINS-23895">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

---
Originally reported by alex_flux, imported from: HTTP proxy vars not respected in branch plugin


  • assignee: baymac
  • status: Open
  • priority: Minor
  • component(s): gitlab-branch-source-plugin
  • label(s): plugin
  • resolution: Unresolved
  • votes: 2
  • watchers: 6
  • imported: 20251216-182730

Raw content of original issue

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

  • environment: Latest plugin code, Jenkins 2.235.1

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.