20170627
20170627
gitlab CI
resolved
1.gitlab CI
tools
1
`gitlab-ci-runner`,`msbuild`,`nuget`
install and register runner win
- download git-lab runner
- mkdir to save runer exe
- register to gitlab
- install gitlab-runner windows service
1 2 3 4 5 6 7 8 9 10 11
./gitlab.exe register # Please enter the gitlab-ci coordinator URL (e.g. https://gitlab.com ) # https://gitlab.com # Please enter the gitlab-ci token for this runner # Please enter the gitlab-ci description for this runner # [hostame] my-runner # Please enter the gitlab-ci tags for this runner (comma separated): # my-tag,another-tag # Whether to run untagged jobs [true/false]: # [false]: true ./gitlab.exe install
nuget install and restore packages
1
c:\nuget\nuget.exe restore "build\cts.sln"
msbuild build solution
- download msbuild standalone package
- use msbuild build solution
1
2
#2333
&'C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\MSBuild\15.0\Bin\MSBuild.exe' /consoleloggerparameters:ErrorsOnly /maxcpucount /nologo /property:Configuration=Release /verbosity:quiet "build\QingdaoBeer.CTS.sln"
pending
1.nuget
2.git commit rules
- buid pass
reference
This post is licensed under CC BY 4.0 by the author.