git - Disable "Accept Merge Request" button based on GitLab CI status and/or SonarQube results -
i using gitlab, jenkins , sonarqube. tools free licences.
currently having need implement more strict control on git(labs) merge request functionality based on "external" tools / plugins.
i trying figure out how implement behaviour following:
- listen jenkins job build result
- while gitlab has no result jenkisn job, button "accept merge request" disabled.
- once result recieved , positive ( thumbs icon ), button gets enabled.
could please provide sample or redirect working solution?
this being enabled gitlab version 8.13.8-ee via ui, found in project settings.
see https://git.dev.eon.com/help/user/project/merge_requests/merge_when_build_succeeds#only-allow-merge-requests-to-be-merged-if-the-build-succeeds more information.
Comments
Post a Comment