I’m trying to sync my gitlab PRs with a jenkins pipeline.
I wish that for everytime someone opens a PR to branch “dev”, a jenkins pipeline named “PRBuilder” will be triggered.
If that pipeline succeeds, then said PR will be able to be merged into dev, if the pipeline fails, I want to be notified in the gitlab UI and the PR will not be able to be merged into dev.
I looked for solutions online, but ran into a bunch of different answers which left me puzzled.