summaryrefslogtreecommitdiff
path: root/doc/ci/triggers
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2020-02-05 09:08:43 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2020-02-05 09:08:43 +0000
commit26384c9a61da9922b8fa4b8351d4e42d51661b37 (patch)
treeef3decbed644db3c97dcdbb5b71d4ade77f3155d /doc/ci/triggers
parent79cbe31b18159ea394c6f6e3027c1dc69bdabb75 (diff)
downloadgitlab-ce-26384c9a61da9922b8fa4b8351d4e42d51661b37.tar.gz
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'doc/ci/triggers')
-rw-r--r--doc/ci/triggers/README.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/ci/triggers/README.md b/doc/ci/triggers/README.md
index 08b2171f23b..65776156ef8 100644
--- a/doc/ci/triggers/README.md
+++ b/doc/ci/triggers/README.md
@@ -110,7 +110,7 @@ The action is irreversible.
To trigger a job you need to send a `POST` request to GitLab's API endpoint:
-```
+```plaintext
POST /projects/:id/trigger/pipeline
```
@@ -185,7 +185,7 @@ Now, whenever a new tag is pushed on project A, the job will run and the
To trigger a job from a webhook of another project you need to add the following
webhook URL for Push and Tag events (change the project ID, ref and token):
-```
+```plaintext
https://gitlab.example.com/api/v4/projects/9/ref/master/trigger/pipeline?token=TOKEN
```
@@ -195,7 +195,7 @@ You can pass any number of arbitrary variables in the trigger API call and they
will be available in GitLab CI so that they can be used in your `.gitlab-ci.yml`
file. The parameter is of the form:
-```
+```plaintext
variables[key]=value
```