Search code examples
gitlab-ci

Adding a .gitlab-ci.yml file doesn't activate CI


I have a number of repositories on my local gitlab installation. I am migrating from Jenkins to gitlab for CI, and switched my first repo over no problem. The second repo didn't activate the CI when I added the .gitlab-ci.yml file. Specifically, the Pipelines link doesn't show up in the project page.

Has anyone had this problem? Any ideas of how to force the CI to activate and recognize the .gitlab-ci.yml file?


Solution

  • I found a solution to this. In the project settings (Gear Icon -> Edit Project), be sure that Builds is not set to Disabled