jenkins-gitlab-merge-request-builder-plugin icon indicating copy to clipboard operation
jenkins-gitlab-merge-request-builder-plugin copied to clipboard

update MR with triggered build

Open djdevin opened this issue 9 years ago • 2 comments

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.

djdevin avatar Sep 24 '15 20:09 djdevin

Fair enough, and I'd be happy to support it if someone were willing to submit a pull request for the feature :wink:

timols avatar Sep 25 '15 00:09 timols

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.

djdevin avatar Sep 25 '15 13:09 djdevin