jenkinsci / gitlab-plugin

A Jenkins plugin for interfacing with GitLab
https://plugins.jenkins.io/gitlab-plugin/
GNU General Public License v2.0
1.44k stars 618 forks source link

A problem occurred while processing the request. error while saving jenkins configuration/project #1105

Open tglbn52 opened 3 years ago

tglbn52 commented 3 years ago

I have installed and configured jenkisn freestyle project with Gitlab merge request builder. when i try to save the same its throwing 'A problem occurred while processing the request.' error. Not sure what went wrong.

I am not sure what the logger to capture Gitlab Merge Request build' plugin logs

image

I have also configured the job with cronline tab for every 5 secs but its not triggering the buil. image

Bronco-Lopez commented 1 year ago

I have the same problem, could you solve it?

Bronco-Lopez commented 1 year ago

He instalado y configurado el proyecto de estilo libre jenkisn con el generador de solicitudes de fusión Gitlab. cuando trato de guardar lo mismo, se produce un problema al procesar la solicitud. No estoy seguro de qué salió mal.

No estoy seguro de qué registrador capturará los registros del complemento de compilación de solicitudes de fusión de Gitlab

image

También he configurado el trabajo con una pestaña cronline por cada 5 segundos, pero no está activando la acumulación. image

Aquí esta la respuesta: https://stackoverflow.com/questions/75608496/cant-connect-to-the-gitlab-from-jenkins

18120211 commented 1 year ago

Sorry for my bad English.

Adding "." to your JENKINS URL will fix your issue. I found an input check from the plugin's source that reject the incoming request if the source URL doesn't contain "."

For example: my-jenkins -> my-jenkins.local

image

For more details: https://github.com/jenkinsci/gitlab-branch-source-plugin/blob/master/src/main/java/io/jenkins/plugins/gitlabbranchsource/GitLabHookCreator.java