lib/gitlab/client/pipeline_triggers.rb in gitlab-4.2.0 vs lib/gitlab/client/pipeline_triggers.rb in gitlab-4.3.0
- old
+ new
@@ -78,11 +78,11 @@
alias_method :delete_trigger, :remove_trigger
# Run the given project pipeline trigger.
#
# @example
- # Gitlab.trigger_build(5, '7b9148c158980bbd9bcea92c17522d', 'master')
- # Gitlab.trigger_build(5, '7b9148c158980bbd9bcea92c17522d', 'master', { variable1: "value", variable2: "value2" })
+ # Gitlab.run_trigger(5, '7b9148c158980bbd9bcea92c17522d', 'master')
+ # Gitlab.run_trigger(5, '7b9148c158980bbd9bcea92c17522d', 'master', { variable1: "value", variable2: "value2" })
#
# @see https://docs.gitlab.com/ce/ci/triggers/README.html
#
# @param [Integer, String] project The ID or name of the project.
# @param [String] token The token of a trigger.