Windows x86 Commandline 용 nuget 다운로드
다운로드 후, c:\cmd\
폴더로 복사
Jenkins 관리 -> 플러그인 관리를 통해 설치
- MSBuild Plugin
- MSTest plugin
- MSTestRunner plugin
- Global properties -> Environment variables
- 이름 : Path
- 값 : z:\ICR\iris\dll
- Git installations에 git path 지정
- MSBuild -> MSBuild installations
- name : .net4.0
- Path to MSBuild : C:\Program Files (x86)\MSBuild\14.0\Bin\MSBuild.exe
- Default Parameters : /p:Configuration="Release" /t:Clean,Build
- 등록
- 참고) MSBuild.exe가 없다면 설치
- MSTest -> MSTest installations
- name : mstest
- Path to MSTest : C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\MSTest.exe
- MSTest.exe 설치
- 이름 지정후, FreeStyle Project로 등록
- General -> 고급 클릭 -> 사용자 빌드 경로 사용 체크 -> 프로젝트 디렉토리 경로 설정
- 값: C:\Projects\NCube\source2.0
- 소스코드 관리 -> Git 사용 ->
- Repository : http://intra.novonetworks.com:8073/cube/NCube2.0.git
- Credentials : 아래와 같이 Gitlab Username, Password 등록
- 빌드 유발
- 빌드
-
Add build step
클릭 후, 아래의 요소들을 순서대로 추가합니다. - Execute Windows batch Command
"C:\Windows\System32\subst.exe" z: c:\Projects
"c:\cmd\nuget.exe" restore NCube2.0.sln
- Execute Windows batch Command
"C:\Program Files (x86)\MSBuild\14.0\Bin\MSBuild.exe" /p:Configuration=Release /p:SolutionDir=..\..\ /t:Build Core\blue\blue.vcxproj
"C:\Program Files (x86)\MSBuild\14.0\Bin\MSBuild.exe" /p:Configuration=Release /p:SolutionDir=..\..\ /t:Build Core\calla3\calla3.vcxproj
"C:\Program Files (x86)\MSBuild\14.0\Bin\MSBuild.exe" /p:Configuration=Release /p:SolutionDir=..\..\ /t:Build Core\checksum\checksum.vcxproj
"C:\Program Files (x86)\MSBuild\14.0\Bin\MSBuild.exe" /p:Configuration=Release /p:SolutionDir=..\..\ /t:Build Core\cles_ip\cles_ip.vcxproj
"C:\Program Files (x86)\MSBuild\14.0\Bin\MSBuild.exe" /p:Configuration=Release /p:SolutionDir=..\..\ /t:Build Core\cles_u\cles_u.vcxproj
"C:\Program Files (x86)\MSBuild\14.0\Bin\MSBuild.exe" /p:Configuration=Release /p:SolutionDir=..\..\ /t:Build Core\coco\coco.vcxproj
"C:\Program Files (x86)\MSBuild\14.0\Bin\MSBuild.exe" /p:Configuration=Release /p:SolutionDir=..\..\ /t:Build Core\dcom2\dcom2.vcxproj
"C:\Program Files (x86)\MSBuild\14.0\Bin\MSBuild.exe" /p:Configuration=Release /p:SolutionDir=..\..\ /t:Build Core\display\display.vcxproj
"C:\Program Files (x86)\MSBuild\14.0\Bin\MSBuild.exe" /p:Configuration=Release /p:SolutionDir=..\..\ /t:Build Core\gray\gray.vcxproj
"C:\Program Files (x86)\MSBuild\14.0\Bin\MSBuild.exe" /p:Configuration=Release /p:SolutionDir=..\..\ /t:Build Core\ijson\ijson.vcxproj
"C:\Program Files (x86)\MSBuild\14.0\Bin\MSBuild.exe" /p:Configuration=Release /p:SolutionDir=..\..\ /t:Build Core\inutil\inutil.vcxproj
"C:\Program Files (x86)\MSBuild\14.0\Bin\MSBuild.exe" /p:Configuration=Release /p:SolutionDir=..\..\ /t:Build Core\itime\itime.vcxproj
"C:\Program Files (x86)\MSBuild\14.0\Bin\MSBuild.exe" /p:Configuration=Release /p:SolutionDir=..\..\ /t:Build Core\kai\kai.vcxproj
"C:\Program Files (x86)\MSBuild\14.0\Bin\MSBuild.exe" /p:Configuration=Release /p:SolutionDir=..\..\ /t:Build Core\kai_ijson\kai_ijson.vcxproj
"C:\Program Files (x86)\MSBuild\14.0\Bin\MSBuild.exe" /p:Configuration=Release /p:SolutionDir=..\..\ /t:Build Core\meta8_17\meta8_17.vcxproj
"C:\Program Files (x86)\MSBuild\14.0\Bin\MSBuild.exe" /p:Configuration=Release /p:SolutionDir=..\..\ /t:Build Core\metaEvent6\metaEvent6.vcxproj
"C:\Program Files (x86)\MSBuild\14.0\Bin\MSBuild.exe" /p:Configuration=Release /p:SolutionDir=..\..\ /t:Build Core\metaMemo\metaMemo.vcxproj
"C:\Program Files (x86)\MSBuild\14.0\Bin\MSBuild.exe" /p:Configuration=Release /p:SolutionDir=..\..\ /t:Build Core\metapak_un\metapak_un.vcxproj
"C:\Program Files (x86)\MSBuild\14.0\Bin\MSBuild.exe" /p:Configuration=Release /p:SolutionDir=..\..\ /t:Build Core\metapak_win\metapak_win.vcxproj
"C:\Program Files (x86)\MSBuild\14.0\Bin\MSBuild.exe" /p:Configuration=Release /p:SolutionDir=..\..\ /t:Build Core\metaTran5\metaTran5.vcxproj
"C:\Program Files (x86)\MSBuild\14.0\Bin\MSBuild.exe" /p:Configuration=Release /p:SolutionDir=..\..\ /t:Build Core\metic\metic.vcxproj
"C:\Program Files (x86)\MSBuild\14.0\Bin\MSBuild.exe" /p:Configuration=Release /p:SolutionDir=..\..\ /t:Build Core\mint_win\mint_win.vcxproj
"C:\Program Files (x86)\MSBuild\14.0\Bin\MSBuild.exe" /p:Configuration=Release /p:SolutionDir=..\..\ /t:Build Core\mtimer\mtimer.vcxproj
"C:\Program Files (x86)\MSBuild\14.0\Bin\MSBuild.exe" /p:Configuration=Release /p:SolutionDir=..\..\ /t:Build Core\nxsun\nxsun.vcxproj
"C:\Program Files (x86)\MSBuild\14.0\Bin\MSBuild.exe" /p:Configuration=Release /p:SolutionDir=..\..\ /t:Build Core\pdulib\pdulib.vcxproj
"C:\Program Files (x86)\MSBuild\14.0\Bin\MSBuild.exe" /p:Configuration=Release /p:SolutionDir=..\..\ /t:Build Core\romcore\romcore.vcxproj
"C:\Program Files (x86)\MSBuild\14.0\Bin\MSBuild.exe" /p:Configuration=Release /p:SolutionDir=..\..\ /t:Build Core\sora1_5\sora1_5.vcxproj
"C:\Program Files (x86)\MSBuild\14.0\Bin\MSBuild.exe" /p:Configuration=Release /p:SolutionDir=..\..\ /t:Build Core\sorach\sorach.vcxproj
"C:\Program Files (x86)\MSBuild\14.0\Bin\MSBuild.exe" /p:Configuration=Release /p:SolutionDir=..\..\ /t:Build Core\sori2\sori2.vcxproj
"C:\Program Files (x86)\MSBuild\14.0\Bin\MSBuild.exe" /p:Configuration=Release /p:SolutionDir=..\..\ /t:Build Core\string\string.vcxproj
"C:\Program Files (x86)\MSBuild\14.0\Bin\MSBuild.exe" /p:Configuration=Release /p:SolutionDir=..\..\ /t:Build Core\winsock_start\winsock_start.vcxproj
"C:\Program Files (x86)\MSBuild\14.0\Bin\MSBuild.exe" /p:Configuration=Release /p:SolutionDir=..\..\ /t:Build Core\zlib\zlib.vcxproj
"C:\Program Files (x86)\MSBuild\14.0\Bin\MSBuild.exe" /p:Configuration=Release /p:SolutionDir=..\..\ /t:Build Core.Facade\Core.Facade.vcxproj