This is to address random crashes with error 1033 like the following:
scons: *** [out\windows\amd64\debug\resource\IPCA\unittests\utresource\ipca\unittests\ipcatests] Error 1033
Change-Id: I4d2d47b495091fe325a7fe82b26fdf3a0e438ccb
Signed-off-by: Soemin Tjong <stjong@microsoft.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/18099
Tested-by: jenkins-iotivity <jenkins@iotivity.org>
Reviewed-by: Alex Kelley <alexke@microsoft.com>
Reviewed-by: Dan Mihai <Daniel.Mihai@microsoft.com>
set MULTIPLE_OWNER=1
)
-set THREAD_COUNT=%NUMBER_OF_PROCESSORS%
+REM Temporary solution to build single threaded in Jenkins to fix random build break.
+REM This change will be reverted after pywin is installed in Jenkins and problem is confirmed fixed.
+REM Difference between multi and single threaded Jenkins build for Windows is 5 minutes.
+REM Tracking revert: https://jira.iotivity.org/browse/IOT-1948.
+if "%JENKINS_HOME%" == "" (
+ set THREAD_COUNT=%NUMBER_OF_PROCESSORS%
+) else (
+ set THREAD_COUNT=1
+)
+
set ROUTING=EP
set WITH_UPSTREAM_LIBCOAP=1
set BINDIR=debug