Merge branch 'simplify-docs-trigger' into 'master'
Simplify trigger_docs build job for CE and EE See merge request !9820
This commit is contained in:
commit
fc2f0eba32
|
@ -389,9 +389,11 @@ trigger_docs:
|
|||
cache: {}
|
||||
artifacts: {}
|
||||
script:
|
||||
- "curl -X POST -F token=${DOCS_TRIGGER_TOKEN} -F ref=master -F variables[PROJECT]=ce https://gitlab.com/api/v3/projects/1794617/trigger/builds"
|
||||
- "HTTP_STATUS=$(curl -X POST -F token=${DOCS_TRIGGER_TOKEN} -F ref=master -F variables[PROJECT]=${CI_PROJECT_NAME} --silent --output curl.log --write-out '%{http_code}' https://gitlab.com/api/v3/projects/1794617/trigger/builds)"
|
||||
- if [ "${HTTP_STATUS}" -ne "201" ]; then echo "Error ${HTTP_STATUS}"; cat curl.log; echo; exit 1; fi
|
||||
only:
|
||||
- master@gitlab-org/gitlab-ce
|
||||
- master@gitlab-org/gitlab-ee
|
||||
|
||||
# Notify slack in the end
|
||||
notify:slack:
|
||||
|
|
|
@ -0,0 +1,4 @@
|
|||
---
|
||||
title: Simplify trigger_docs build job for CE and EE
|
||||
merge_request: 9820
|
||||
author: winniehell
|
Loading…
Reference in New Issue