Skip to content

Instantly share code, notes, and snippets.

@wescleymatos
Forked from yancyn/gitlab-ci.md
Created June 14, 2018 14:29
Show Gist options
  • Save wescleymatos/7538c3647f490f9381456189380a35a2 to your computer and use it in GitHub Desktop.
Save wescleymatos/7538c3647f490f9381456189380a35a2 to your computer and use it in GitHub Desktop.
Configure Gitlab CI with MSBuild

How To Configure CI With MSBuild

Make sure all required build tools are installed at build server.

  1. Install Runner on build server (download the version for OS).
  2. Configure runner. Enter URL and token from Project > settings > runners page. Choose executor as shell.
  3. Start command prompt with normal (DO NOT start as Administrator).
$ gitlab-runner register
$ gitlab-runner run

**You can validate the script using gitlab online tool - lint.

Reference

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment