jenkins-gitlab-merge-request-builder-plugin
jenkins-gitlab-merge-request-builder-plugin copied to clipboard
update MR with triggered build
Thanks for this plugin, I was about to write some custom scripts reacting on GitLab merge requests and Jenkins build results but found this and does exactly what I want after figuring out how to configure it correctly.
In the README it says:
"Note: a manually triggered build will not add build triggered/succeeded/failed comments to the merge request"
However I really think this would be beneficial in some circumstances, like when the build has failed due to infrastructure issues.
You could then use plugins like https://wiki.jenkins-ci.org/display/JENKINS/Periodic+Reincarnation+Plugin to save some time whenever the job fails due to disk space/resources/docker dying/etc.
Fair enough, and I'd be happy to support it if someone were willing to submit a pull request for the feature :wink:
Heh I'll see what I can do.
Additionally if this works you could then make a GitLab hook instead of using cron for detecting merge request changes.