3 ###### Please specify below ######
4 BUILD_CMD="bash ./gbsbuild.sh"
5 CONF_CMD="cp ./tools/tizen/.gbs.vd.tv.tizen30.conf ./tools/tizen/.gbs.conf"
6 SPEC_CMD="cp ./tools/tizen/iotivity-vd-tv-tizen30.spec ./tools/tizen/iotivity.spec"
9 CLONE_CMD="git clone http://suprem.sec.samsung.net/gerrit/IoTivity samsung_iotivity"
10 FETCH_CMD="git fetch -p"
11 CHECKOUT_CMD="git checkout -f "
12 CHERRYPICK_PREFIX="git fetch http://suprem.sec.samsung.net/gerrit/IoTivity"
13 CHERRYPICK_CMD="git cherry-pick FETCH_HEAD"
17 echo "***********************************************************************"
19 echo "* IoTivity Build Start. *"
21 echo "***********************************************************************"
26 echo ---------------------------------------------------------------------
27 echo "Fail to Build, Check Last Step. [$_STEP]"
28 echo ---------------------------------------------------------------------
45 COMMIT_ID=$(awk '/^commit_id:/{print $2}' "$1")
46 echo COMMIT ID is $COMMIT_ID
48 if [ 0 == ${#COMMIT_ID} ];then
54 CHERRYPICK_ID=$(awk '/^cherrypick_cmd_id:/{print $5}' "$1")
55 for cherry_pic_arr in $CHERRYPICK_ID
57 echo CHERRY_PICK_ID is $cherry_pic_arr
64 if [ ! -d resource/csdk ];then
65 if [ ! -d samsung_iotivity ];then
80 echo $CHECKOUT_CMD $COMMIT_ID
81 $CHECKOUT_CMD $COMMIT_ID
85 for arr_cherry_pick_cmd in $CHERRYPICK_ID; do
86 echo $CHERRYPICK_PREFIX $arr_cherry_pick_cmd
87 $CHERRYPICK_PREFIX $arr_cherry_pick_cmd