User Tools

Site Tools


jenkins_builders

Jenkins Builds

These are the various Jenkins verification builds. The Jenkins scripts themselves call out to auto_build.sh, which in turn calls into auto-build.py, which calls SCons with the following configurations.

See the Default Values section for defaults.

verify-linux_secured : Build for linux with Security

scons VERBOSE=1 RELEASE=true
scons VERBOSE=1 RELEASE=false

verify-linux_unsecured : Build for linux

scons VERBOSE=1 RELEASE=true SECURED=0
scons VERBOSE=1 RELEASE=false SECURED=0

Build for linux with RoutingManager

scons VERBOSE=1 RELEASE=true SECURED=0 ROUTING=GW
scons VERBOSE=1 RELEASE=false SECURED=0 ROUTING=GW

verify-windows-x86-vs2013

scons VERBOSE=1 TARGET_OS=windows TARGET_ARCH=x86 RELEASE=1 WITH_RA=0 TARGET_TRANSPORT=IP SECURED=1 WITH_TCP=1 BUILD_SAMPLE=ON LOGGING=1 LOG_LEVEL=DEBUG TEST=1 RD_MODE=CLIENT,SERVER ROUTING=EP WITH_UPSTREAM_LIBCOAP=1 MULTIPLE_OWNER=0 -j 4 AUTOMATIC_UPDATE=1 MSVC_VERSION=12.0

verify-windows-x86-vs2015

scons VERBOSE=1 TARGET_OS=windows TARGET_ARCH=x86 RELEASE=0 WITH_RA=0 TARGET_TRANSPORT=IP SECURED=0 WITH_TCP=1 BUILD_SAMPLE=ON LOGGING=1 LOG_LEVEL=DEBUG TEST=1 RD_MODE=CLIENT,SERVER ROUTING=EP WITH_UPSTREAM_LIBCOAP=1 MULTIPLE_OWNER=1 -j 4 AUTOMATIC_UPDATE=1 MSVC_VERSION=14.0

verify-windows-amd64-vs2013

scons VERBOSE=1 TARGET_OS=windows TARGET_ARCH=amd64 RELEASE=0 WITH_RA=0 TARGET_TRANSPORT=IP SECURED=0 WITH_TCP=1 BUILD_SAMPLE=ON LOGGING=0 LOG_LEVEL=DEBUG TEST=1 RD_MODE=CLIENT,SERVER ROUTING=EP WITH_UPSTREAM_LIBCOAP=1 MULTIPLE_OWNER=1 -j 4 AUTOMATIC_UPDATE=1 MSVC_VERSION=12.0

verify-windows-amd64-vs2015

scons VERBOSE=1 TARGET_OS=windows TARGET_ARCH=amd64 RELEASE=1 WITH_RA=0 TARGET_TRANSPORT=IP SECURED=1 WITH_TCP=1 BUILD_SAMPLE=ON LOGGING=0 LOG_LEVEL=DEBUG TEST=1 RD_MODE=CLIENT,SERVER ROUTING=EP WITH_UPSTREAM_LIBCOAP=1 MULTIPLE_OWNER=1 -j 4 AUTOMATIC_UPDATE=1 MSVC_VERSION=14.0

verify-tizen

Build for Tizen

/bin/sh /home/mats/iotivity.work/gbsbuild.sh
/bin/sh /home/mats/iotivity.work/gbsbuild.sh

Build for Tizen octbstack lib and sample with security

scons VERBOSE=1 RELEASE=true LOGGING=true TARGET_OS=tizen TARGET_TRANSPORT=IP -f resource/csdk/stack/samples/tizen/build/SConscript
scons VERBOSE=1 RELEASE=false LOGGING=true TARGET_OS=tizen TARGET_TRANSPORT=IP -f resource/csdk/stack/samples/tizen/build/SConscript

Build for Tizen octbstack lib and sample

scons VERBOSE=1 RELEASE=true SECURED=0 LOGGING=true TARGET_OS=tizen TARGET_TRANSPORT=IP -f resource/csdk/stack/samples/tizen/build/SConscript
scons VERBOSE=1 RELEASE=false SECURED=0 LOGGING=true TARGET_OS=tizen TARGET_TRANSPORT=IP -f resource/csdk/stack/samples/tizen/build/SConscript

Build for Tizen octbstack lib and sample with Routing Manager

scons VERBOSE=1 LOGGING=true SECURED=0 TARGET_TRANSPORT=IP ROUTING=GW RELEASE=true TARGET_OS=tizen -f resource/csdk/stack/samples/tizen/build/SConscript
scons VERBOSE=1 LOGGING=true SECURED=0 TARGET_TRANSPORT=IP ROUTING=GW RELEASE=false TARGET_OS=tizen -f resource/csdk/stack/samples/tizen/build/SConscript

Build for Tizen Easy-Setup sample

scons VERBOSE=1 ES_TARGET_ENROLLEE=tizen LOGGING=true SECURED=0 TARGET_TRANSPORT=IP ROUTING=EP RELEASE=true TARGET_OS=tizen -f service/easy-setup/sampleapp/enrollee/tizen-sdb/EnrolleeSample/build/tizen/SConscript
scons VERBOSE=1 ES_TARGET_ENROLLEE=tizen LOGGING=true SECURED=0 TARGET_TRANSPORT=IP ROUTING=EP RELEASE=false TARGET_OS=tizen -f service/easy-setup/sampleapp/enrollee/tizen-sdb/EnrolleeSample/build/tizen/SConscript

verify-simulator : Build for simulator plugin

scons VERBOSE=1 RELEASE=true SIMULATOR=1
scons VERBOSE=1 RELEASE=false SIMULATOR=1

verify-android : Build for android armeabi

scons VERBOSE=1 RELEASE=true TARGET_OS=android TARGET_ARCH=armeabi
scons VERBOSE=1 RELEASE=false TARGET_OS=android TARGET_ARCH=armeabi

verify-unit_tests : Run unit tests

scons VERBOSE=1 RELEASE=false -c .
scons VERBOSE=1 TEST=1 RELEASE=false SECURED=0
scons VERBOSE=1 TEST=1 RELEASE=false SECURED=1

verify-osx

Note: Mac builds are no longer happening. Remove this entry in a little bit.

Build for OSX

scons VERBOSE=1 RELEASE=true SYS_VERSION=10.9 TARGET_OS=darwin
scons VERBOSE=1 RELEASE=false SYS_VERSION=10.9 TARGET_OS=darwin

Build for IOS i386

scons VERBOSE=1 RELEASE=true SYS_VERSION=7.0 TARGET_OS=ios TARGET_ARCH=i386
scons VERBOSE=1 RELEASE=false SYS_VERSION=7.0 TARGET_OS=ios TARGET_ARCH=i386

Build for IOS x86_64

scons VERBOSE=1 RELEASE=true SYS_VERSION=7.0 TARGET_OS=ios TARGET_ARCH=x86_64
scons VERBOSE=1 RELEASE=false SYS_VERSION=7.0 TARGET_OS=ios TARGET_ARCH=x86_64

Build for IOS armv7

scons VERBOSE=1 RELEASE=true SYS_VERSION=7.0 TARGET_OS=ios TARGET_ARCH=armv7
scons VERBOSE=1 RELEASE=false SYS_VERSION=7.0 TARGET_OS=ios TARGET_ARCH=armv7

Build for IOS armv7s

scons VERBOSE=1 RELEASE=true SYS_VERSION=7.0 TARGET_OS=ios TARGET_ARCH=armv7s
scons VERBOSE=1 RELEASE=false SYS_VERSION=7.0 TARGET_OS=ios TARGET_ARCH=armv7s

Build for IOS arm64

scons VERBOSE=1 RELEASE=true SYS_VERSION=7.0 TARGET_OS=ios TARGET_ARCH=arm64
scons VERBOSE=1 RELEASE=false SYS_VERSION=7.0 TARGET_OS=ios TARGET_ARCH=arm64

verify-arduino

Build for arduino avr

scons VERBOSE=1 SHIELD=ETH TARGET_TRANSPORT=IP UPLOAD=false BOARD=mega RELEASE=true TARGET_OS=arduino TARGET_ARCH=avr resource 
scons VERBOSE=1 SHIELD=WIFI TARGET_TRANSPORT=IP UPLOAD=false BOARD=mega RELEASE=true TARGET_OS=arduino TARGET_ARCH=avr resource 
scons VERBOSE=1 SHIELD=RBL_NRF8001 TARGET_TRANSPORT=BLE UPLOAD=false BOARD=mega RELEASE=true TARGET_OS=arduino TARGET_ARCH=avr resource 
scons VERBOSE=1 SHIELD=ETH TARGET_TRANSPORT=IP UPLOAD=false BOARD=mega RELEASE=false TARGET_OS=arduino TARGET_ARCH=avr resource 
scons VERBOSE=1 SHIELD=WIFI TARGET_TRANSPORT=IP UPLOAD=false BOARD=mega RELEASE=false TARGET_OS=arduino TARGET_ARCH=avr resource 
scons VERBOSE=1 SHIELD=RBL_NRF8001 TARGET_TRANSPORT=BLE UPLOAD=false BOARD=mega RELEASE=false TARGET_OS=arduino TARGET_ARCH=avr resource 

Build for arduino arm

scons VERBOSE=1 SHIELD=ETH TARGET_TRANSPORT=IP UPLOAD=false BOARD=arduino_due_x RELEASE=true TARGET_OS=arduino TARGET_ARCH=arm resource 
scons VERBOSE=1 SHIELD=WIFI TARGET_TRANSPORT=IP UPLOAD=false BOARD=arduino_due_x RELEASE=true TARGET_OS=arduino TARGET_ARCH=arm resource 
scons VERBOSE=1 SHIELD=ETH TARGET_TRANSPORT=IP UPLOAD=false BOARD=arduino_due_x RELEASE=false TARGET_OS=arduino TARGET_ARCH=arm resource 
scons VERBOSE=1 SHIELD=WIFI TARGET_TRANSPORT=IP UPLOAD=false BOARD=arduino_due_x RELEASE=false TARGET_OS=arduino TARGET_ARCH=arm resource 

Default Values

Setting Type Default Choices
ANDROID_GRADLE Path None
AUTOMATIC_UPDATE Bool False
BUILD_JAVA Bool False
BUILD_SAMPLE Enum 'ON' 'ON', 'OFF'
EXC_PROV_SUPPORT Enum '0' '0', '1'
JAVA_HOME Path JAVA_HOME from env
LOGGING Bool logging_default
LOG_LEVEL Enum 'DEBUG' 'DEBUG', 'INFO', 'ERROR', 'WARNING', 'FATAL'
MULTIPLE_OWNER Enum '0' '0', '1'
RD_MODE List 'CLIENT' 'CLIENT', 'SERVER'
RELEASE Bool True
ROUTING Enum 'EP'
SECURED Enum '1' '0', '1'
SIMULATOR Bool False
TARGET_ARCH Enum host arch lookup in map
TARGET_OS Enum host os lookup in map
TARGET_TRANSPORT List 'ALL' 'ALL', 'BT', 'BLE', 'IP', 'NFC'
TC_PATH Path TC_PATH from env
TC_PREFIX none TC_PREFIX env, if set
TEST Enum '0' '0', '1'
VERBOSE Bool False
WITH_CLOUD Bool False
WITH_ENV Bool False
WITH_MQ List 'OFF' 'OFF', 'SUB', 'PUB', 'BROKER'
WITH_PROXY Bool False
WITH_RA Bool False
WITH_RA_IBB Bool False
WITH_TCP Bool False
WITH_UPSTREAM_LIBCOAP Enum 0 '0','1'

For Android only:

Setting Type Default Choices
ANDROID_HOME Path None
ANDROID_NDK Path None

For Tizen only:

Setting Type Default Choices
OIC_SUPPORT_TIZEN_TRACE Enum 'False' 'True', 'False'

For Arduino only:

Setting Type Default Choices
ARDUINO_HOME Path None
BOARD Enum None (generated values)
DEVICE_NAME none None (generated value)
CPU Enum None (generated values)
UPLOAD Bool ???

Except Aurdino:

Setting Type Default Choices
TARGET_TRANSPORT List 'IP' 'BT', 'BLE', 'IP', 'NFC'
SECURED '0' '0', '1' 1)
UPLOAD Bool False

For Windows only:

Setting Type Default Choices
MSVC_VERSION Enum None '12.0', '14.0'
UWP_APP Enum '0' '0', '1'
1) SECURED=1 is not allowed
jenkins_builders.txt · Last modified: 2018/07/19 23:08 by Trevor Bramwell