Skip to content

Change build triggers to get HEAD of the REF

I just upgraded to 8.0.1 on a server and can only get the master branch of my repos to build. If I have another branch, such as deploy, pushing to it will not trigger a build. Also trying a build trigger, eg.

curl -X POST -F token=REDACTED http://git.mysite.com/ci/api/v1/projects/3/refs/deploy/trigger

returns {"message":"No builds created"}%, but triggering on master instead of deploy starts a build.

It worked properly on GitLab CI prior to upgrade to GitLab CE 8.