diff options
Diffstat (limited to 'app/views/projects/triggers/_index.html.haml')
-rw-r--r-- | app/views/projects/triggers/_index.html.haml | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/app/views/projects/triggers/_index.html.haml b/app/views/projects/triggers/_index.html.haml index 85ecfe7a982..8b3d0ef17a4 100644 --- a/app/views/projects/triggers/_index.html.haml +++ b/app/views/projects/triggers/_index.html.haml @@ -45,6 +45,7 @@ %pre :plain curl -X POST \ + --fail \ -F token=TOKEN \ -F ref=REF_NAME \ #{builds_trigger_url(@project.id)} @@ -54,7 +55,7 @@ %pre :plain script: - - "curl -X POST -F token=TOKEN -F ref=REF_NAME #{builds_trigger_url(@project.id)}" + - "curl -X POST --fail -F token=TOKEN -F ref=REF_NAME #{builds_trigger_url(@project.id)}" %h5.gl-mt-3 = _('Use webhook') @@ -73,6 +74,7 @@ %pre :plain curl -X POST \ + --fail \ -F token=TOKEN \ -F "ref=REF_NAME" \ -F "variables[RUN_NIGHTLY_BUILD]=true" \ |