lib/release_tools/deployments/merge_request_updater.rb
# Adds the comment to all deployed merge requests.
#
# comment - The comment to add, as a String.
Adds the comment to all deployed merge requests.
comment - The comment to add, as a String.
Adds the comment to all deployed merge requests . comment - The comment to add as a String .
def add_comment(comment)
        each_merge_request do |mr|
          with_retries do
            logger.info("Adding comment to merge request #{mr.web_url}")
            GitlabClient
              .create_merge_request_comment(mr.project_id, mr.iid, comment)
          end
        end
      end
def add_comment ( comment ) each_merge_request do | mr | with_retries do logger . info ( "Adding comment to merge request #{mr.web_url}" ) GitlabClient . create_merge_request_comment ( mr . project_id , mr . iid , comment ) end end end
Adds the comment to all deployed merge requests.
Adds the comment to all deployed merge requests .
comment