jenkinsci / jenkinsci/github-branch-source-plugin

[JENKINS-55949] Arrange RSS (or something like it) as a transport for GitHub webhooks

Abierto
#1,237 3 comentarios 0 reacciones 0 asignados Ver en GitHub
component:github-branch-source-plugin imported-jira-issue priority:minor resolution:unresolved
Lenguaje dominante
Java
Estrellas
217
Forks
398
Merge medio
30 min
PR fusionados (30 d)
1

Descripción

In our company, the Jenkins master is in a private network, and while the corporate security permits it to initiate connections to the internet to download updates, artifacts, etc. it may not receive any connections. We evaluated some tunneling services, so the Github hook URL would be set to that service endpoint and pop out inside the perimeter as a POST to our jenkins, but even that was not permitted.

So the next reasonable option would be to have a Jenkins master keep a persistent connection to some web service on the internet, perhaps an RSS source, and receive lines equivalent to webhook payloads over that transport. So here the question is two-fold:



  • extend the webhook support to not only receive POSTs, but be able to instead persistently connect somewhere and receive hooks there;

  • provide a service that would produce the RSS feed like that. Two most reasonable places that come to mind would be either arranging with GitHub that they provide such a service, probably as part of the REST API so it can be tied to logins, organizations and repos in question, or having Cloudbees host a retranslator that would receive hooks from Github and feed them over this service, with Jenkins masters all over the world connecting to the retranslator with some unique IDs (that they set up in the webhook on Github side)

  • also to consider, this might be a more generic problem than just for github, since there are many other supported SCM types and SCM service providers, so maybe a coordinated solution higher in the stack would be the more reasonable choice.

---
Originally reported by jimklimov, imported from: Arrange RSS (or something like it) as a transport for GitHub webhooks


  • status: Open
  • priority: Minor
  • component(s): github-branch-source-plugin
  • resolution: Unresolved
  • votes: 0
  • watchers: 2
  • imported: 2025-12-02

Raw content of original issue

In our company, the Jenkins master is in a private network, and while the corporate security permits it to initiate connections to the internet to download updates, artifacts, etc. it may not receive any connections. We evaluated some tunneling services, so the Github hook URL would be set to that service endpoint and pop out inside the perimeter as a POST to our jenkins, but even that was not permitted.

So the next reasonable option would be to have a Jenkins master keep a persistent connection to some web service on the internet, perhaps an RSS source, and receive lines equivalent to webhook payloads over that transport. So here the question is two-fold:



  • extend the webhook support to not only receive POSTs, but be able to instead persistently connect somewhere and receive hooks there;

  • provide a service that would produce the RSS feed like that. Two most reasonable places that come to mind would be either arranging with GitHub that they provide such a service, probably as part of the REST API so it can be tied to logins, organizations and repos in question, or having Cloudbees host a retranslator that would receive hooks from Github and feed them over this service, with Jenkins masters all over the world connecting to the retranslator with some unique IDs (that they set up in the webhook on Github side)

  • also to consider, this might be a more generic problem than just for github, since there are many other supported SCM types and SCM service providers, so maybe a coordinated solution higher in the stack would be the more reasonable choice.


Guía de contribución

Abrir la guía de contribución

Línea de trabajo

Start by reviewing the github-branch-source-plugin's existing webhook support and how Jenkins receives SCM events. The issue does not name files or tests; completion would require deciding on a persistent outbound transport, defining the service that provides it, and determining whether the solution belongs in this plugin or a higher-level Jenkins component.

Escrito por el modelo de indexación a partir del texto del issue.

Evaluación

Stack tecnológico
github, java
Área
ci-cd, devops, networking
Tipo de issue
Nueva funcionalidad
Dificultad
5/5
Tiempo estimado
Más de una semana
Estado de actividad
Estancado
Claridad
Necesita aclaración
Aptitud para principiantes
15/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.