Permalink
Browse files

Skip tests and codeanalysis for private runs

  • Loading branch information...
1 parent 74a023a commit 80450536cd17a3a4778682d26e27ab996b1b3530 @chenriksson chenriksson committed May 7, 2013
Showing with 12 additions and 5 deletions.
  1. +6 −3 build-ci-perf.cmd
  2. +6 −2 build-ci.cmd
View
@@ -9,17 +9,20 @@ if "%branch%" == "" (
set branch=dev
)
+set target=Build
set privateRun=true
if /i "%branch%" == "dev" (
- set privateRun=false
+ set target=CI
+ set privateRun=false
)
if /i "%branch%" == "release" (
- set privateRun=false
+ set target=CI
+ set privateRun=false
)
call \PerfRuns\SignalR-Env.cmd
-cmd /c build-ci Release 1 true
+cmd /c build-ci Release 1 %target% true
if %ERRORLEVEL% neq 0 exit /b %ERRORLEVEL%
View
@@ -8,8 +8,12 @@ set version=%2
if "%version%" == "" (
set version=1
)
-set perfRun=%3
+set target=%3
+if "%target%"=="" (
+ set target=CI
+)
+set perfRun=%4
if /i not "%perfRun%" == "true" (
set perfRun=false
)
-%WINDIR%\Microsoft.NET\Framework\v4.0.30319\msbuild Build\Build.proj /t:CI /p:Configuration="%config%";BUILD_NUMBER=%version%;PRERELEASE=true /v:M /fl /flp:LogFile=msbuild.log;Verbosity=Normal /nr:false /p:PerfRun=%perfRun%
+%WINDIR%\Microsoft.NET\Framework\v4.0.30319\msbuild Build\Build.proj /t:%target% /p:Configuration="%config%";BUILD_NUMBER=%version%;PRERELEASE=true /v:M /fl /flp:LogFile=msbuild.log;Verbosity=Normal /nr:false /p:PerfRun=%perfRun%

0 comments on commit 8045053

Please sign in to comment.