Skip to content

Instantly share code, notes, and snippets.

@yancyn
Last active May 13, 2021 02:47
Show Gist options
  • Save yancyn/04241d6d381b409c6361fce63a7a0966 to your computer and use it in GitHub Desktop.
Save yancyn/04241d6d381b409c6361fce63a7a0966 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