How to trigger GitLab pipeline from Jenkins

Hello,

We are in the process of migrating our CI/CD logic from Jenkins to GitLab. However, we cannot do this all in one go.

I need to trigger a GitLab pipeline from a windows Jenkins install. How can I do this? I have found many examples and blogs for triggering Jenkins from Gitlab, but not the reverse.

Google is quite frustrating for this. If you search for “triggering GitLab pipeline from Jenkins” it will show you the opposite results, Jenkins from Gitlab.

Thanks in advance for any pointers or documenation you can share.

1 Like

You should probably run your pipeline with API like in Pipelines API.
In Jenkins prepare job with curl or something similar, create Access Token for this job and that should do it.