Jenkins Integration using gitlab API causing issues

Replace this template with your information

Describe your question in as much detail as possible:
I am trying to create a repo, a Jenkins job and configure the service integrations (Jenkins CI) on the created repo, with the created a jenkins job. All the above operations are done by the API (Jenkins API and the gitlab API). Most steps were done fine, and the Jenkins Integration was setup successfully. However, I am facing 2 issues and serious ones:

  1. When I click on Save and Test Settings, I get a big error message in Red, which makes no sense at all.
  2. Also, the merge_requests_events variable cannot be set to true at all through my API calls, push_events wasn’t a problem.
  • What are you seeing, and how does it differ from what you expect to see?
    I expect that the merge_requests_events variable is set to true using API and also the test settings is successful and the build is triggered

  • Consider including screenshots, error messages, and/or other helpful visuals
    Test failed. <head resURL="/static/0c1ba939" data-rooturl="" da

  • What version are you on (Hint: /help) ? and are you using self-managed or gitlab.com?
    Git lab API version 11.8 and it is company hosted.

  • What troubleshooting steps have you already taken? Can you link to any docs or other resources so we know where you have been?
    It is mostly the Services API call on the GIT LAB Documentation that helped me setup the integrations, beyond that, the test seems to just create that error.

Thanks for taking the time to be thorough in your request, it really helps! :blush:

Hi,

Can you attach the screenshot here so maybe we can analyze the problem better? Where exactly did you hit “save”?

Cheers,
Michael

Hi Michael,

I am unable to attach screenshots due to Data Loss Settings, apologize on the same.

The “Test Settings and Save Changes” Button I clicked was at: settings->integrations->JenkinsCI

But on clicking “Test Settings and Save Changes” it does nothing and displays a message in Red.

Please let me know if I can add further info.

Hm, maybe this is related to 11.8 and you’ve hit a bug there. I am not sure whether this version is still supported. Which version are you using exactly, the output from your server at /help should show that.

Cheers,
Michael

Hi Michael,

The version I am using is 11.8.10-ee

Thanks for your response

Regards,
Harsha