No triggers have been created yet. Add one using the form above.
=s_("No triggers exist yet. Use the form above to create one.")
.card-footer
%p
In the following examples, you can see the exact API call you need to
make in order to rebuild a specific
%code ref
(branch or tag) with a trigger token.
%p
All you need to do is replace the
%code TOKEN
and
%code REF_NAME
with the trigger token and the branch or tag name respectively.
%h5.gl-mt-3
Use cURL
=s_("These examples show how to trigger this project's pipeline for a branch or tag.")
%p.light
Copy one of the tokens above, set your branch or tag name, and that
reference will be rebuilt.
=s_("Triggers|In each example, replace %{code_start}TOKEN%{code_end} with the trigger token you generated and replace %{code_start}REF_NAME%{code_end} with the branch or tag name.").html_safe%{code_start: "<code>".html_safe,code_end: "</code>".html_safe}
%h5.gl-mt-3
=s_("Use cURL")
%pre
:plain
...
...
@@ -55,39 +49,26 @@
-F ref=REF_NAME \
#{builds_trigger_url(@project.id)}
%h5.gl-mt-3
Use .gitlab-ci.yml
%p.light
In the
%code .gitlab-ci.yml
of another project, include the following snippet.
The project will be rebuilt at the end of the pipeline.
=s_("Use .gitlab-ci.yml")
%pre
:plain
trigger_build:
stage: deploy
script:
- "curl -X POST -F token=TOKEN -F ref=REF_NAME #{builds_trigger_url(@project.id)}"
%h5.gl-mt-3
Use webhook
%p.light
Add the following webhook to another project for Push and Tag push events.
The project will be rebuilt at the corresponding event.
to an API request. Variable values can be used to distinguish between triggered pipelines and normal pipelines.
=s_("Triggers|To pass variables to the triggered pipeline, add %{code_start}variables[VARIABLE]=VALUE%{code_end} to the API request.").html_safe%{code_start: "<code>".html_safe,code_end: "</code>".html_safe}
msgid "No triggers exist yet. Use the form above to create one."
msgstr ""
msgid "No vulnerabilities present"
msgstr ""
...
...
@@ -20658,6 +20664,9 @@ msgstr ""
msgid "Participants"
msgstr ""
msgid "Pass job variables"
msgstr ""
msgid "Passed"
msgstr ""
...
...
@@ -28865,6 +28874,9 @@ msgstr ""
msgid "There was an error with the reCAPTCHA. Please solve the reCAPTCHA again."
msgstr ""
msgid "These examples show how to trigger this project's pipeline for a branch or tag."
msgstr ""
msgid "These existing issues have a similar title. It might be better to comment there instead of creating another similar issue."
msgstr ""
...
...
@@ -29994,6 +30006,9 @@ msgstr ""
msgid "Toggles :%{name}: emoji award."
msgstr ""
msgid "Token"
msgstr ""
msgid "Token valid until revoked"
msgstr ""
...
...
@@ -30242,6 +30257,12 @@ msgstr ""
msgid "Triggerer"
msgstr ""
msgid "Triggers|In each example, replace %{code_start}TOKEN%{code_end} with the trigger token you generated and replace %{code_start}REF_NAME%{code_end} with the branch or tag name."
msgstr ""
msgid "Triggers|To pass variables to the triggered pipeline, add %{code_start}variables[VARIABLE]=VALUE%{code_end} to the API request."
msgstr ""
msgid "Troubleshoot and monitor your application with tracing"
msgstr ""
...
...
@@ -30935,12 +30956,18 @@ msgstr ""
msgid "Use %{code_start}::%{code_end} to create a %{link_start}scoped label set%{link_end} (eg. %{code_start}priority::1%{code_end})"
msgstr ""
msgid "Use .gitlab-ci.yml"
msgstr ""
msgid "Use Service Desk to connect with your users (e.g. to offer customer support) through email right inside GitLab"
msgstr ""
msgid "Use an one time password authenticator on your mobile device or computer to enable two-factor authentication (2FA)."
msgstr ""
msgid "Use cURL"
msgstr ""
msgid "Use custom color #FF0000"
msgstr ""
...
...
@@ -30959,6 +30986,9 @@ msgstr ""
msgid "Use this token to validate received payloads"
msgstr ""
msgid "Use webhook"
msgstr ""
msgid "Use your global notification setting"
msgstr ""
...
...
@@ -31899,6 +31929,9 @@ msgstr ""
msgid "Webhook Settings"
msgstr ""
msgid "Webhook:"
msgstr ""
msgid "Webhooks"
msgstr ""
...
...
@@ -33304,6 +33337,9 @@ msgstr ""
msgid "by"
msgstr ""
msgid "cURL:"
msgstr ""
msgid "can contain only letters of the Base64 alphabet (RFC4648) with the addition of '@', ':' and '.'"