I have self-hosted GitLab repository and I use Codemagic CI.
I have already configured automatic triggering with webhooks in GitLab settings, but after the build is complete, the status is not displayed in the MR tab in GitLab.
I have self-hosted GitLab repository and I use Codemagic CI.
I have already configured automatic triggering with webhooks in GitLab settings, but after the build is complete, the status is not displayed in the MR tab in GitLab.
Copyright © 2021 Jogjafile Inc.
Unfortunately Codemagic doesn't report build status back to self-hosted repositories. However you can add simple
curlcommand inpublishing/scriptssection to reportpassedorfailedstatuses.see also GitLab API doc how to add status check https://docs.gitlab.com/ee/api/status_checks.html#set-status-of-an-external-status-check
ps: if you use Workflow Editor you can add post-publishing script and use built-in environment variable
CM_BUILD_STEP_STATUS