[AutoBuild][Auto Binary code for tizen 6.0 added] 64/217864/1
authormanoj <manoj.g2@samsung.com>
Fri, 15 Nov 2019 04:30:05 +0000 (10:00 +0530)
committermanoj <manoj.g2@samsung.com>
Fri, 15 Nov 2019 04:30:05 +0000 (10:00 +0530)
Change-Id: I25ef065cfa28fd8cb36bf4887b09e9758ed1417d
Signed-off-by: manoj <manoj.g2@samsung.com>
19 files changed:
SCRIPTS/comp_6.0.xml [new file with mode: 0755]
SCRIPTS/efl_build.sh
SCRIPTS/jira_manager.py
SCRIPTS/push_nativetct_tools.sh
SCRIPTS/register.py
SCRIPTS/registerSingle.py
SCRIPTS/server_copy.sh
SCRIPTS/tbt_copy.sh
SCRIPTS/tct_build_tpk.sh
SCRIPTS/tct_conf_5.5/tct/tct32_mobile.conf
SCRIPTS/tct_conf_5.5/tct/tct32_wearable.conf
SCRIPTS/tct_conf_5.5/tct/tct64_mobile.conf
SCRIPTS/tct_conf_5.5/tct/tct64_wearable.conf
SCRIPTS/tct_conf_6.0/tct/tct32_mobile.conf [new file with mode: 0755]
SCRIPTS/tct_conf_6.0/tct/tct32_wearable.conf [new file with mode: 0755]
SCRIPTS/tct_conf_6.0/tct/tct64_mobile.conf [new file with mode: 0755]
SCRIPTS/tct_conf_6.0/tct/tct64_wearable.conf [new file with mode: 0755]
SCRIPTS/update_git_repo.sh
build.sh

diff --git a/SCRIPTS/comp_6.0.xml b/SCRIPTS/comp_6.0.xml
new file mode 100755 (executable)
index 0000000..7a35662
--- /dev/null
@@ -0,0 +1,148 @@
+<?xml version='1.0' encoding='UTF-8'?>\r
+<comp_summary><suite name="accounts-svc"><component>Service Framework / Account</component></suite>\r
+<suite name="alarm"><component>App Framework / Alarm</component></suite>\r
+<suite name="appcore-agent"><component>App Framework / Application Core</component></suite>\r
+<suite name="appcore-watch"><component>App Framework / Application Core</component></suite>\r
+<suite name="appcore-widget"><component>App Framework / Application Core</component></suite>\r
+<suite name="application"><component>App Framework / Application Core</component></suite>\r
+<suite name="app-manager"><component>App Framework / Application Core</component></suite>\r
+<suite name="asp"><component>Network &amp; Connectivity / Data Network</component></suite>\r
+<suite name="attach-panel"><component>Applications / Platform App</component></suite>\r
+<suite name="audio-io"><component>Multimedia / Audio FW</component></suite>\r
+<suite name="badge"><component>App Framework / Application Utility</component></suite>\r
+<suite name="base-utils"><component>System / Base</component></suite>\r
+<suite name="bluetooth"><component>Network &amp; Connectivity / Bluetooth</component></suite>\r
+<suite name="bundle"><component>App Framework / Application Utility</component></suite>\r
+<suite name="cairo"><component>Graphics System / Rendering Engine</component></suite>\r
+<suite name="calendar-service2"><component>Service Framework / PIMS</component></suite>\r
+<suite name="camera"><component>Multimedia / Media Camera</component></suite>\r
+<suite name="capi-maps-service"><component>Service Framework / Location</component></suite>\r
+<suite name="capi-mediademuxer"><component>Multimedia / Media Playback</component></suite>\r
+<suite name="capi-mediamuxer"><component>Multimedia / Media Playback</component></suite>\r
+<suite name="capi-media-streamer"><component>Multimedia / Media Playback</component></suite>\r
+<suite name="capi-media-tool"><component>Multimedia / Media Playback</component></suite>\r
+<suite name="capi-media-vision"><component>Multimedia / Media Vision</component></suite>\r
+<suite name="capi-message-port"><component>App Framework / Application Communication</component></suite>\r
+<suite name="capi-ui-inputmethod"><component>UI Framework / Text Input</component></suite>\r
+<suite name="capi-ui-inputmethod-manager"><component>UI Framework / Text Input</component></suite>\r
+<suite name="cbhm"><component>UI Framework / EFL</component></suite>\r
+<suite name="connection"><component>Network &amp; Connectivity / Data Network</component></suite>\r
+<suite name="contacts-service2"><component>Service Framework / PIMS</component></suite>\r
+<suite name="context"><component>Service Framework / Context</component></suite>\r
+<suite name="d2d-conv-manager"><component>Service Framework / Convergence</component></suite>\r
+<suite name="dali-adaptor"><component>Graphics System / DALi</component></suite>\r
+<suite name="dali-core"><component>Graphics System / DALi</component></suite>\r
+<suite name="dali-toolkit"><component>Graphics System / DALi</component></suite>\r
+<suite name="data-control"><component>App Framework / Application Communication</component></suite>\r
+<suite name="device"><component>System / System Framework</component></suite>\r
+<suite name="dlog"><component>System / System Framework</component></suite>\r
+<suite name="efl-ext"><component>UI Framework / EFL</component></suite>\r
+<suite name="efl-test-suite"><component>UI Framework / EFL</component></suite>\r
+<suite name="efl-util"><component>Graphics System / Display Management</component></suite>\r
+<suite name="email"><component>Service Framework / Messaging</component></suite>\r
+<suite name="eom"><component>Graphics System / Display Management</component></suite>\r
+<suite name="fido-client"><component>Service Framework / Account</component></suite>\r
+<suite name="filesystem-permission"><component>System / System Framework</component></suite>\r
+<suite name="geofence-manager"><component>Service Framework / Location</component></suite>\r
+<suite name="http"><component>Network &amp; Connectivity / Data Network</component></suite>\r
+<suite name="image-util"><component>Multimedia / Imaging</component></suite>\r
+<suite name="intelligent-network-monitoring"><component>Network &amp; Connectivity / Data Network</component></suite>\r
+<suite name="iotcon"><component>Service Framework / IoT Connectivity</component></suite>\r
+<suite name="job-scheduler"><component>App Framework / Application Core</component></suite>\r
+<suite name="key-manager"><component>Security / Authentication</component></suite>\r
+<suite name="libfeedback"><component>System / System Framework</component></suite>\r
+<suite name="libstorage"><component>System / System Framework</component></suite>\r
+<suite name="libstorage64"><component>System / System Framework</component></suite>\r
+<suite name="location-manager"><component>Service Framework / Location</component></suite>\r
+<suite name="mediacodec"><component>Multimedia / Codec</component></suite>\r
+<suite name="media-content"><component>Multimedia / Media Content</component></suite>\r
+<suite name="media-controller"><component>Multimedia / Media Content</component></suite>\r
+<suite name="mediademuxer"><component>Multimedia / Media Playback</component></suite>\r
+<suite name="media-key"><component>App Framework / Application Utility</component></suite>\r
+<suite name="mediamuxer"><component>Multimedia / Media Playback</component></suite>\r
+<suite name="mediastreamrecorder"><component>Multimedia / Media Camera</component></suite>\r
+<suite name="mediatool"><component>Multimedia / Media Playback</component></suite>\r
+<suite name="media-vision"><component>Multimedia / Media Vision</component></suite>\r
+<suite name="messages"><component>Service Framework / Messaging</component></suite>\r
+<suite name="metadata-editor"><component>Multimedia / Media Editing</component></suite>\r
+<suite name="metadata-extractor"><component>Multimedia / Media Content</component></suite>\r
+<suite name="mime-type"><component>App Framework / Application Utility</component></suite>\r
+<suite name="minicontrol"><component>App Framework / Application Utility</component></suite>\r
+<suite name="motion"><component>Service Framework/ Context</component></suite>\r
+<suite name="mtp"><component>Network &amp; Connectivity / Serial</component></suite>\r
+<suite name="native-common"><component>System / Base</component></suite>\r
+<suite name="nfc"><component>Network &amp; Connectivity / NFC</component></suite>\r
+<suite name="notification"><component>App Framework / Notification</component></suite>\r
+<suite name="nsd"><component>Network &amp; Connectivity / Data Network</component></suite>\r
+<suite name="oauth2"><component>Service Framework / Account</component></suite>\r
+<suite name="openal"><component>Multimedia / Audio FW</component></suite>\r
+<suite name="opengl"><component>Graphics System / GL</component></suite>\r
+<suite name="package-manager"><component>App Framework / Application Installer</component></suite>\r
+<suite name="phonenumber-utils"><component>Service Framework / PIMS</component></suite>\r
+<suite name="platform-permission"><component>Testing [NativeTCT]</component></suite>\r
+<suite name="player"><component>Multimedia / Media Playback</component></suite>\r
+<suite name="privacy-privilege-manager"><component>Security / Application Privilege</component></suite>\r
+<suite name="privilege-info"><component>Security / Application Privilege</component></suite>\r
+<suite name="push"><component>Service Framework / Convergence</component></suite>\r
+<suite name="radio"><component>Multimedia / Media Radio</component></suite>\r
+<suite name="recorder"><component>Multimedia / Media Camera</component></suite>\r
+<suite name="rpc-port"><component>App Framework / Application Communication</component></suite>\r
+<suite name="runtime-info"><component>System / IoT System</component></suite>\r
+<suite name="screen-mirroring"><component>Multimedia / Screen Mirroring</component></suite>\r
+<suite name="sdl2"><component>Graphics System / Rendering Engine</component></suite>\r
+<suite name="sensor"><component>Service Framework / Sensor</component></suite>\r
+<suite name="service-adaptor"><component>Service Framework / Cloud</component></suite>\r
+<suite name="shortcut"><component>App Framework / Application Utility</component></suite>\r
+<suite name="smartcard"><component>Network &amp; Connectivity / NFC</component></suite>\r
+<suite name="sound-manager"><component>Multimedia / Audio FW</component></suite>\r
+<suite name="stc"><component>Network &amp; Connectivity / Data Network</component></suite>\r
+<suite name="streamrecorder"><component>Multimedia / Media Camera</component></suite>\r
+<suite name="stt"><component>UI Framework / Voice</component></suite>\r
+<suite name="sync-manager"><component>Service Framework / Account</component></suite>\r
+<suite name="system-info"><component>System / IoT System</component></suite>\r
+<suite name="system-settings"><component>System / Base</component></suite>\r
+<suite name="tbm"><component>Graphics System / Display Management</component></suite>\r
+<suite name="telephony"><component>Network &amp; Connectivity / Telephony</component></suite>\r
+<suite name="thumbnail-util"><component>Multimedia / Media Content</component></suite>\r
+<suite name="tone-player"><component>Multimedia / Audio FW</component></suite>\r
+<suite name="trace"><component>System / System Tools</component></suite>\r
+<suite name="ttrace"><component>System / System Tools</component></suite>\r
+<suite name="tts"><component>UI Framework / Voice</component></suite>\r
+<suite name="tzsh-quickpanel"><component>Window System / Display Server</component></suite>\r
+<suite name="ui-viewmgr"><component>UI Framework / EFL</component></suite>\r
+<suite name="url-download"><component>Network &amp; Connectivity / Common</component></suite>\r
+<suite name="usb-host"><component>System / System Framework</component></suite>\r
+<suite name="video-util"><component>Multimedia / Media Playback</component></suite>\r
+<suite name="vpn"><component>Network &amp; Connectivity / Data Network</component></suite>\r
+<suite name="voice-control"><component>UI Framework / Voice</component></suite>\r
+<suite name="voice-control-elm"><component>UI Framework / Voice</component></suite>\r
+<suite name="vpn-service"><component>Network &amp; Connectivity / Data Network</component></suite>\r
+<suite name="vulkan"><component>Window System / GL</component></suite>\r
+<suite name="wav-player"><component>Multimedia / Audio FW</component></suite>\r
+<suite name="webkit2"><component>Web Framework / Web Engine</component></suite>\r
+<suite name="widget_service"><component>App Framework / Widget</component></suite>\r
+<suite name="widget_viewer_dali"><component>App Framework / Widget</component></suite>\r
+<suite name="widget_viewer_evas"><component>App Framework / Widget</component></suite>\r
+<suite name="wifi-direct"><component>Network &amp; Connectivity / Data Network</component></suite>\r
+<suite name="wifi-manager"><component>Network &amp; Connectivity / Data Network</component></suite>\r
+<suite name="wifi"><component>Network &amp; Connectivity / Data Network</component></suite>\r
+<suite name="yaca"><component>Security / Utilities</component></suite>\r
+<suite name="sound-pool"><component>Multimedia / Audio FW</component></suite>\r
+<suite name="watchface-complication"><component>App Framework / Application Utility</component></suite>\r
+<suite name="watchface"><component>App Framework / Application Utility</component></suite>\r
+<suite name="capi-network-inm"><component>Network &amp; Connectivity / Data Network</component></suite>\r
+<suite name="capmgr"><component>App Framework / Application Communication</component></suite>\r
+<suite name="component-based-application"><component>App Framework / Application Core</component></suite>\r
+<suite name="multi-assistant"><component>UI Framework / Voice</component></suite>\r
+<suite name="capi-ui-sticker"><component>UI Framework / Text Input</component></suite>\r
+<suite name="battery-monitor"><component>Service Framework / Uncategorized</component></suite>\r
+<suite name="capi-system-system-settings"><component>System / Base</component></suite>\r
+<suite name="capi-ui-autifill"><component>UI Framework / Text Input</component></suite>\r
+<suite name="component-manager"><component>App Framework / Application Core</component></suite>\r
+<suite name="efl-extension"><component>UI Framework / EFL</component></suite>\r
+<suite name="nnstreamer"><component>Machine Learning / ML Framework</component></suite>\r
+<suite name="peripheral-io"><component>System / System Tools</component></suite>\r
+<suite name="softap"><component>Network &amp; Connectivity / Data Network</component></suite>\r
+<suite name="zigbee"><component>Network &amp; Connectivity / Common</component></suite>\r
+<suite name="update-control"><component>System / System Framework</component></suite>\r
+</comp_summary>\r
index cacfe71..07e50c5 100755 (executable)
@@ -2,12 +2,14 @@
 
 cur_date=$(date +%Y%m%d)
 SRC_DIR=$6
-if [ $8 == "3" ]; then
-       log_dir="$SRC_DIR/LOG/LOG_${cur_date}/LOG_3.0"
-elif [ $8 == "4" ]; then
-       log_dir="$SRC_DIR/LOG/LOG_${cur_date}/LOG_4.0"
-elif [ $8 == "5" ]; then
+#if [ $8 == "3" ]; then
+#       log_dir="$SRC_DIR/LOG/LOG_${cur_date}/LOG_3.0"
+#elif [ $8 == "4" ]; then
+#       log_dir="$SRC_DIR/LOG/LOG_${cur_date}/LOG_4.0"
+if [ $8 == "5" ]; then
        log_dir="$SRC_DIR/LOG/LOG_${cur_date}/LOG_5.0"
+elif [ $8 == "6" ]; then
+       log_dir="$SRC_DIR/LOG/LOG_${cur_date}/LOG_6.0"
 else
        log_dir="$SRC_DIR/LOG/LOG_${cur_date}/LOG_5.5"
 fi
index 5bf264d..5434c80 100755 (executable)
@@ -65,26 +65,30 @@ class JiraManager:
                comment = self.jira.add_comment(new_issue,comment)
 
        def find_reporter(self,version):
-               if(version == "3.0"):
-                       issues=self.jira.search_issues('project="TSAM" and reporter = currentUser()')
-               elif(version == "4.0"):
-                       issues=self.jira.search_issues('project="TNEXT" and reporter = currentUser()')
-               elif(version == "5.0"):
+               #if(version == "3.0"):
+                #       issues=self.jira.search_issues('project="TSAM" and reporter = currentUser()')
+                #elif(version == "4.0"):
+                       issues=self.jira.search_issues('project="TNEXT" and reporter = currentUser()')
+               if(version == "5.0"):
                        issues=self.jira.search_issues('project="TFIVE" and reporter = currentUser()')
                elif(version == "5.5"):
                        issues=self.jira.search_issues('project="TFDF" and reporter = currentUser()')
+               elif(version == "6.0"):
+                       issues=self.jira.search_issues('project="TSIX" and reporter = currentUser()')
                return issues
 
        def close_issue(self,new_issue,status,version):
                print(status)
-               if(version == "3.0"):
-                       resolvetemplate["fields"]["fixVersions"][0]["name"]="N/A"
-               elif(version == "4.0"):
-                       resolvetemplate["fields"]["fixVersions"][0]["name"]="NA"
-               elif(version == "5.0"):
+               #if(version == "3.0"):
+                #      resolvetemplate["fields"]["fixVersions"][0]["name"]="N/A"
+                #elif(version == "4.0"):
+                #      resolvetemplate["fields"]["fixVersions"][0]["name"]="NA"
+               if(version == "5.0"):
                        resolvetemplate["fields"]["fixVersions"][0]["name"]="NA"
                elif(version == "5.5"):
                        resolvetemplate["fields"]["fixVersions"][0]["name"]="N/A"
+               elif(version == "6.0"):
+                       resolvetemplate["fields"]["fixVersions"][0]["name"]="N/A"
                if(status=="Submitted"):
                        self.jira.transition_issue(new_issue, transition='Start Progress')
                        self.jira.transition_issue(new_issue, transition="Resolve Defect",fields=resolvetemplate["fields"])
index a17cfb8..16d4081 100755 (executable)
@@ -7,16 +7,18 @@ TCT_PATH_3="$SRC_DIR/GIT/GIT_3.0/api"
 TCT_PATH_4="$SRC_DIR/GIT/GIT_4.0/api"
 TCT_PATH_5="$SRC_DIR/GIT/GIT_5.0/api"
 TCT_PATH_5_5="$SRC_DIR/GIT/GIT_5.5/api"
+TCT_PATH_6="$SRC_DIR/GIT/GIT_6.0/api"
 
 TCT_VERSION_3="NativeTCT_3.0"
 TCT_VERSION_4="NativeTCT_4.0"
 TCT_VERSION_5="NativeTCT_5.0"
 TCT_VERSION_5_5="NativeTCT_5.5"
+TCT_VERSION_6="NativeTCT_6.0"
 
 TRIGGER="Auto_Build_binary "$(date +%Y%m%d)
 
 echo "\n########## trigger by $TRIGGER ##########\n"
-
+'
 echo "\n######### start to update TCT 3.0 tool #########\n"
 echo "\n########## pull the previous tools ##########\n"
 cd $TCT_PATH_3
@@ -134,13 +136,13 @@ git push origin HEAD:tizen_4.0
 git push origin HEAD:refs/for/tizen
 rm -rf $TCT_VERSION_4
 echo "\n######### 3. end to update TCT tool #########\n"
-
+'
 
 
 echo "\n######### start to update TCT 5.0 tool #########\n"
 echo "\n########## pull the previous tools ##########\n"
 cd $TCT_PATH_5
-rm -rf scripts_tpk/gentestsxml.pyc tool/NativeTCT_3.0.tar.gz tool/NativeTCT_4.0.tar.gz tpk-install tpkbuild tpksdk-install
+rm -rf scripts_tpk/gentestsxml.pyc tpk-install tpkbuild tpksdk-install
 
 git checkout tizen_5.0
 git reset origin/tizen_5.0
@@ -198,10 +200,10 @@ rm -rf $TCT_VERSION_5
 echo "\n######### start to update TCT 5.5 tool #########\n"
 echo "\n########## pull the previous tools ##########\n"
 cd $TCT_PATH_5_5
-rm -rf scripts_tpk/gentestsxml.pyc tool/NativeTCT_3.0.tar.gz tool/NativeTCT_4.0.tar.gz tool/NativeTCT_5.0.tar.gz tpk-install tpkbuild tpksdk-install
+rm -rf scripts_tpk/gentestsxml.pyc tool/NativeTCT_5.0.tar.gz tpk-install tpkbuild tpksdk-install
 
-git checkout tizen
-git reset origin/tizen
+git checkout tizen_5.5
+git reset origin/tizen_5.5
 git reset --hard
 git pull --force
 #rm -rf scripts_tpk/gentestsxml.pyc tool/NativeTCT_4.0.tar.gz tool/NativeTCT_3.0.tar.gz tpk-install tpkbuild tpksdk-install
@@ -249,9 +251,67 @@ cd $TCT_PATH_5_5/tool
 tar -zcf $TCT_VERSION_5_5.tar.gz $TCT_VERSION_5_5
 git add $TCT_VERSION_5_5.tar.gz
 git commit -s -m "[TCT][Tool][Non-ACR][Updating tool - $TRIGGER]"
-git push origin HEAD:tizen
+git push origin HEAD:tizen_5.5
 
 rm -rf $TCT_VERSION_5_5
 
+echo "\n######### start to update TCT 6.0 tool #########\n"
+echo "\n########## pull the previous tools ##########\n"
+cd $TCT_PATH_6
+rm -rf scripts_tpk/gentestsxml.pyc tool/NativeTCT_5.0.tar.gz  tool/NativeTCT_5.5.tar.gz tpk-install tpkbuild tpksdk-install
+
+git checkout tizen
+git reset origin/tizen
+git reset --hard
+git pull --force
+#rm -rf scripts_tpk/gentestsxml.pyc tool/NativeTCT_4.0.tar.gz tool/NativeTCT_3.0.tar.gz tpk-install tpkbuild tpksdk-install
+cd $TCT_PATH_6/tool
+if [ -d $TCT_VERSION_6 ]; then
+        rm -rf $TCT_VERSION_6
+fi
+tar xf $TCT_VERSION_6.tar.gz
+
+echo "\n########## set detail path ##########\n"
+cd $TCT_VERSION_6
+TCT_TOOLS_PATH=$TCT_PATH_6/tool/$TCT_VERSION_6/$(ls | grep tct-tools)
+TCT_NATIVE_TOOLS_PATH=$TCT_PATH_6/tool/$TCT_VERSION_6/$TCT_VERSION_6/TCT/native-tct
+
+echo "\n########## copy tct-tools ##########\n"
+cd  $TOOLKIT_PATH/tct-tools
+git checkout tct-mgr-3.0
+git reset origin/tct-mgr-3.0
+git reset --hard
+git pull --force
+
+rm -rf $TCT_TOOLS_PATH/*
+cp -rf * $TCT_TOOLS_PATH
+cp -rf ../dev_scripts/* $TCT_TOOLS_PATH/../
+
+echo "\n########## copy native-tct-tools ##########\n"
+cd  $TOOLS_PATH
+git checkout master
+git reset master
+git reset --hard
+git pull --force
+
+cd $TOOLS_PATH/tct_6.0
+
+rm -rf $TCT_NATIVE_TOOLS_PATH/tools/*
+cp -rf tools/* $TCT_NATIVE_TOOLS_PATH/tools/
+
+rm -rf $TCT_NATIVE_TOOLS_PATH/resource/*
+cp -rb resource/* $TCT_NATIVE_TOOLS_PATH/resource/
+
+echo "\n########## update folder name as tct-tools version ##########\n"
+mv $TCT_TOOLS_PATH $TCT_PATH_6/tool/$TCT_VERSION_6/$(cat $TCT_TOOLS_PATH/VERSION)
+echo "\n########## push the modification without gerrit review ##########\n"
+cd $TCT_PATH_6/tool
+tar -zcf $TCT_VERSION_6.tar.gz $TCT_VERSION_6
+git add $TCT_VERSION_6.tar.gz
+git commit -s -m "[TCT][Tool][Non-ACR][Updating tool - $TRIGGER]"
+git push origin HEAD:tizen
+
+rm -rf $TCT_VERSION_6
+
 
 echo "\n######### 3. end to update TCT tool #########\n"
index b8e5291..b6d348e 100755 (executable)
@@ -16,14 +16,16 @@ def get_cmd_result(command):
 def close_prev_issues(db,ver,prf):
        substring = "[SE][Native-TCT][Auto_Build]"
        key=" "
-       if(ver=="3.0"):
-               key="TSAM"
-       elif(ver=="4.0"):
-               key="TNEXT"
-       elif(ver=="5.0"):
+       #if(ver=="3.0"):
+       #       key="TSAM"
+       #elif(ver=="4.0"):
+       #       key="TNEXT"
+       if(ver=="5.0"):
                key="TFIVE"
        elif(ver=="5.5"):
                key="TFDF"
+       elif(ver=="6.0"):
+               key="TSIX"
        for records in db:
                if( substring in records.fields.summary and arch in records.fields.summary and key==Constants.JIRA_KEY):
                        x1,y1,z1,profileType,q1,tctType,pkg=(records.fields.summary).split("][")
@@ -46,10 +48,16 @@ def close_prev_issues(db,ver,prf):
 def close_prev_issues_tizeniot(db,ver,prf):
        substring = "[SE][Native-TCT][Auto_Build]"
        key=" "
+       #if(ver=="5.0"):
+       #       key="TFIVE"
+       #elif(ver=="5.5"):
+       #       key="TFDF"
        if(ver=="5.0"):
                key="TFIVE"
        elif(ver=="5.5"):
                key="TFDF"
+       elif(ver=="6.0"):
+               key="TSIX"
        for records in db:
                if( substring in records.fields.summary and arch in records.fields.summary and key==Constants.JIRA_KEY):
                        x1,y1,z1,profileType,q1,tctType,pkg=(records.fields.summary).split("][")
@@ -73,14 +81,16 @@ def close_prev_issues_tizeniot(db,ver,prf):
 def close_prev_common_issues(db,ver,prf):
         substring = "[SE][NativeTCT][Auto_Build]"
         key=" "
-        if(ver=="3.0"):
-                key="TSAM"
-        elif(ver=="4.0"):
-                key="TNEXT"
-        elif(ver=="5.0"):
-                key="TFIVE"
-        elif(ver=="5.5"):
-                key="TFDF"
+        #if(ver=="3.0"):
+        #       key="TSAM"
+        #elif(ver=="4.0"):
+        #        key="TNEXT"
+       if(ver=="5.0"):
+               key="TFIVE"
+       elif(ver=="5.5"):
+               key="TFDF"
+       elif(ver=="6.0"):
+               key="TSIX"
         for records in db:
        #       print records.fields.summary
                 if( substring in records.fields.summary and arch in records.fields.summary and prf in records.fields.summary and key==records.fields.project.key):
@@ -114,12 +124,14 @@ except:
        exit()
 
 # parse component xml
-if(sys.argv[3]=="3.0"):
-       tree = parse(sys.argv[6]+"/SCRIPTS/comp_3.0.xml")
-elif(sys.argv[3]=="4.0"):
-       tree = parse(sys.argv[6]+"/SCRIPTS/comp_4.0.xml")
-elif(sys.argv[3]=="5.0"):
+#if(sys.argv[3]=="3.0"):
+#      tree = parse(sys.argv[6]+"/SCRIPTS/comp_3.0.xml")
+#elif(sys.argv[3]=="4.0"):
+#      tree = parse(sys.argv[6]+"/SCRIPTS/comp_4.0.xml")
+if(sys.argv[3]=="5.0"):
        tree = parse(sys.argv[6]+"/SCRIPTS/comp_5.0.xml")
+elif(sys.argv[3]=="6.0"):
+       tree = parse(sys.argv[6]+"/SCRIPTS/comp_6.0.xml")
 else:
        tree = parse(sys.argv[6]+"/SCRIPTS/comp_5.5.xml")
 root = tree.getroot()
@@ -150,12 +162,14 @@ for f in fil:
        if "PASS" in f:
                profile=sys.argv[5]
                keyval=""
-               if(version=="3.0"):
-                       keyval="TSAM"
-               elif(version=="4.0"):
-                       keyval="TNEXT"
-               elif(version=="5.0"):
+               #if(version=="3.0"):
+               #       keyval="TSAM"
+               #elif(version=="4.0"):
+               #       keyval="TNEXT"
+               if(version=="5.0"):
                        keyval="TFIVE"
+               elif(version=="6.0"):
+                       keyval="TSIX"
                else:
                        keyval="TFDF"
                srch_db=jira_manager.find_reporter(version)
@@ -207,17 +221,19 @@ for f in fil:
                        print("["+ package +"]["+ profile +"]["+ arch +"]["+ suite +"]")
                        # make a list(database) of all the JIRA defects for project key TSAM
                        branch=""
-                       if(version == "4.0"):
-                               branch = "4.0-unified"
-                       elif(version == "5.0"):
+                       #if(version == "4.0"):
+                       #       branch = "4.0-unified"
+                       if(version == "5.0"):
                                branch = "5.0-unified"
                        elif(version == "5.5"):
+                               branch = "5.5-unified"
+                       elif(version == "6.0"):
                                branch = "unified"
-                       elif(version == "3.0"):
-                               if(profile == "mobile"):
-                                       branch = "3.0-mobile"
-                               else:
-                                       branch = "3.0-wearable"
+                       #elif(version == "3.0"):
+                       #       if(profile == "mobile"):
+                       #               branch = "3.0-mobile"
+                       #       else:
+                       #               branch = "3.0-wearable"
 
                        #database=jira_manager.search_issues()
                        database=jira_manager.find_reporter(version)
index f7ecf5f..9924855 100755 (executable)
@@ -51,17 +51,19 @@ fil=open(filename, 'r')
 #print("["+ package +"]["+ profile +"]["+ arch +"]["+ suite +"]")
 # make a list(database) of all the JIRA defects for project key TSAM
 branch=""
-if(version == "4.0"):
-       branch = "4.0-unified"
-elif(version == "5.0"):
+#if(version == "4.0"):
+#      branch = "4.0-unified"
+if(version == "5.0"):
        branch = "5.0-unified"
 elif(version == "5.5"):
+       branch = "5.5-unified"
+elif(version == "6.0"):
        branch = "unified"
-elif(version == "3.0"):
-       if(profile == "mobile"):
-               branch = "3.0-mobile"
-       else:
-               branch = "3.0-wearable"
+#elif(version == "3.0"):
+#      if(profile == "mobile"):
+#              branch = "3.0-mobile"
+#      else:
+#              branch = "3.0-wearable"
 
 database=jira_manager.find_reporter(version)#search_issues()
 print("Searching...........................")
index fc9d409..c2dbf13 100755 (executable)
@@ -3,12 +3,14 @@
 cur_date=$(date +%Y%m%d)
 SRC_DIR=$2
 log_dir="$SRC_DIR/LOG/LOG_${cur_date}"
-if [ $4 == "3" ]; then
-       SERVER_UPLOAD_ADDRESS="165.213.149.200:/srv/www/download/tct/tizen_3.0/NativeTCT/Auto_Binary"
-elif [ $4 == "4" ]; then
-       SERVER_UPLOAD_ADDRESS="165.213.149.200:/srv/www/download/tct/tizen_4.0/NativeTCT/Auto_Binary"
-elif [ $4 == "5" ]; then
+#if [ $4 == "3" ]; then
+#      SERVER_UPLOAD_ADDRESS="165.213.149.200:/srv/www/download/tct/tizen_3.0/NativeTCT/Auto_Binary"
+#elif [ $4 == "4" ]; then
+#      SERVER_UPLOAD_ADDRESS="165.213.149.200:/srv/www/download/tct/tizen_4.0/NativeTCT/Auto_Binary"
+if [ $4 == "5" ]; then
        SERVER_UPLOAD_ADDRESS="165.213.149.200:/srv/www/download/tct/tizen_5.0/NativeTCT/Auto_Binary"
+elif [ $4 == "6" ]; then
+       SERVER_UPLOAD_ADDRESS="165.213.149.200:/srv/www/download/tct/tizen_6.0/NativeTCT/Auto_Binary"
 else
        SERVER_UPLOAD_ADDRESS="165.213.149.200:/srv/www/download/tct/tizen_5.5/NativeTCT/Auto_Binary"
 fi
@@ -24,14 +26,14 @@ function server-copy
        sha1sum ./$src_dir.tar.gz > $src_dir.sha1sum
 
        scp -r ./$src_dir.tar.gz $SERVER_UPLOAD_ADDRESS ;
-    scp -r ./$src_dir.sha1sum $SERVER_UPLOAD_ADDRESS ;
+       scp -r ./$src_dir.sha1sum $SERVER_UPLOAD_ADDRESS ;
 
        if [ ! -f $SRC_DIR/LOG/LOG_${cur_date}/LOG_${3}/TPK/$src_dir.status ]; then
                echo "PASS" >> $SRC_DIR/LOG/LOG_${cur_date}/LOG_${3}/TPK/$src_dir.status
        fi
        cp -r $SRC_DIR/LOG/LOG_${cur_date}/LOG_${3}/TPK/$src_dir.status $result_dir/RESULT_${3}/ ;
        scp -r $result_dir/RESULT_${3}/$src_dir.status $SERVER_UPLOAD_ADDRESS ;
-       #scp -r ./$src_dir.status $SERVER_UPLOAD_ADDRESS ;
+       scp -r ./$src_dir.status $SERVER_UPLOAD_ADDRESS ;
        rm -rf $src_dir
 }
 
index dc67249..5fc06de 100755 (executable)
@@ -2,22 +2,26 @@
 
 cur_date=$(date +%Y%m%d)
 SRC_DIR=$4
-if [ "$6" == "3" ]; then
-       log_dir="$SRC_DIR/LOG/LOG_${cur_date}/LOG_3.0"
-       TBT_mobile=tizen_3.0_mobile
-       TBT_wearable=tizen_3.0_wearable
-elif [ "$6" == "4" ]; then
-       log_dir="$SRC_DIR/LOG/LOG_${cur_date}/LOG_4.0"
-       TBT_mobile=tizen_4.0_mobile
-       TBT_wearable=tizen_4.0_wearable
-elif [ "$6" == "5" ]; then
+#if [ "$6" == "3" ]; then
+#      log_dir="$SRC_DIR/LOG/LOG_${cur_date}/LOG_3.0"
+#      TBT_mobile=tizen_3.0_mobile
+#      TBT_wearable=tizen_3.0_wearable
+#elif [ "$6" == "4" ]; then
+#      log_dir="$SRC_DIR/LOG/LOG_${cur_date}/LOG_4.0"
+#      TBT_mobile=tizen_4.0_mobile
+#      TBT_wearable=tizen_4.0_wearable
+if [ "$6" == "5" ]; then
        log_dir="$SRC_DIR/LOG/LOG_${cur_date}/LOG_5.0"
        TBT_mobile=tizen_5.0_mobile
        TBT_wearable=tizen_5.0_wearable
-else
-       log_dir="$SRC_DIR/LOG/LOG_${cur_date}/LOG_5.5"
+elif [ "$6" == "6" ]; then
+       log_dir="$SRC_DIR/LOG/LOG_${cur_date}/LOG_6.0"
        TBT_mobile=tizen_mobile
        TBT_wearable=tizen_wearable
+else
+       log_dir="$SRC_DIR/LOG/LOG_${cur_date}/LOG_5.5"
+       TBT_mobile=tizen_5.5_mobile
+       TBT_wearable=tizen_5.5_wearable
 fi
 PASS="test123"
 function tbt-copy
index 43004ab..a3fab3e 100755 (executable)
@@ -8,16 +8,19 @@ SIGNING_PLATFORM_MODULES="${SIGNING_PLATFORM_MODULES} zigbee"
 
 cur_date=$(date +%Y%m%d)
 SRC_DIR=$6
-if [ $8 == "3" ]; then
-       log_dir="$SRC_DIR/LOG/LOG_${cur_date}/LOG_3.0"
-elif [ $8 == "4" ]; then
-       log_dir="$SRC_DIR/LOG/LOG_${cur_date}/LOG_4.0"
-elif [ $8 == "5" ]; then
+#if [ $8 == "3" ]; then
+#      log_dir="$SRC_DIR/LOG/LOG_${cur_date}/LOG_3.0"
+#elif [ $8 == "4" ]; then
+#      log_dir="$SRC_DIR/LOG/LOG_${cur_date}/LOG_4.0"
+if [ $8 == "5" ]; then
        log_dir="$SRC_DIR/LOG/LOG_${cur_date}/LOG_5.0"
        TCT_BRANCH="tizen_5.0"
+elif [ $8 == "6" ]; then
+       log_dir="$SRC_DIR/LOG/LOG_${cur_date}/LOG_6.0"
+       TCT_BRANCH="tizen"
 else
        log_dir="$SRC_DIR/LOG/LOG_${cur_date}/LOG_5.5"
-       TCT_BRANCH="tizen"
+       TCT_BRANCH="tizen_5.5"
 fi
 PASS="test123"
 
@@ -29,8 +32,10 @@ function install_modules_with_platform_profile
        build_arch=$4
        if [ $8 == "5" ]; then
                TCT_BRANCH="tizen_5.0"
-       else
+       elif [ $8 == "6" ]; then
                TCT_BRANCH="tizen"
+       else
+               TCT_BRANCH="tizen_5.5"
        fi
 
        if [ -d $SRC_DIR/GIT/GIT_$7/hash-signer ]; then
index bd679b5..af0b3b9 100755 (executable)
@@ -11,7 +11,7 @@ user = mahfuja.a
 passwdx = QlpoOTFBWSZTWQNxq/gAAAMNgCAAQAAhYBgAIAAhkMIQwIxtWS+LuSKcKEgBuNX8AA==
 
 [repo.public_5.5_mobile_tm1]
-url = http://10.113.136.32/download/public_mirror/tizen/unified/latest/repos/standard/packages/
+url = http://10.113.136.32/download/public_mirror/tizen/5.5-unified/latest/repos/standard/packages/
 user = mahfuja.a
 passwdx = QlpoOTFBWSZTWQNxq/gAAAMNgCAAQAAhYBgAIAAhkMIQwIxtWS+LuSKcKEgBuNX8AA==
 
@@ -25,6 +25,6 @@ user = mahfuja.a
 passwdx = QlpoOTFBWSZTWQNxq/gAAAMNgCAAQAAhYBgAIAAhkMIQwIxtWS+LuSKcKEgBuNX8AA==
 
 [repo.public_5.5_mobile_emul]
-url = http://10.113.136.32/download/public_mirror/tizen/unified/latest/repos/standard/packages/
+url = http://10.113.136.32/download/public_mirror/tizen/5.5-unified/latest/repos/standard/packages/
 user = mahfuja.a
 passwdx = QlpoOTFBWSZTWQNxq/gAAAMNgCAAQAAhYBgAIAAhkMIQwIxtWS+LuSKcKEgBuNX8AA==
index 207f8a1..569614b 100755 (executable)
@@ -11,7 +11,7 @@ user = mahfuja.a
 passwdx = QlpoOTFBWSZTWQNxq/gAAAMNgCAAQAAhYBgAIAAhkMIQwIxtWS+LuSKcKEgBuNX8AA==
 
 [repo.public_5.5_wearable_tw1]
-url = http://10.113.136.32/download/public_mirror/tizen/unified/latest/repos/standard/packages/
+url = http://10.113.136.32/download/public_mirror/tizen/5.5-unified/latest/repos/standard/packages/
 user = mahfuja.a
 passwdx = QlpoOTFBWSZTWQNxq/gAAAMNgCAAQAAhYBgAIAAhkMIQwIxtWS+LuSKcKEgBuNX8AA==
 
@@ -25,6 +25,6 @@ user = mahfuja.a
 passwdx = QlpoOTFBWSZTWQNxq/gAAAMNgCAAQAAhYBgAIAAhkMIQwIxtWS+LuSKcKEgBuNX8AA==
 
 [repo.public_5.5_wearable_emul]
-url = http://10.113.136.32/download/public_mirror/tizen/unified/latest/repos/standard/packages/
+url = http://10.113.136.32/download/public_mirror/tizen/5.5-unified/latest/repos/standard/packages/
 user = mahfuja.a
 passwdx = QlpoOTFBWSZTWQNxq/gAAAMNgCAAQAAhYBgAIAAhkMIQwIxtWS+LuSKcKEgBuNX8AA==
index d3f916b..4bfef48 100755 (executable)
@@ -23,7 +23,7 @@ user =
 passwd = 
 
 [repo.public_5.5_mobile_arm64]
-url = http://10.113.136.32/download/public_mirror/tizen/unified/latest/repos/standard/packages/
+url = http://10.113.136.32/download/public_mirror/tizen/5.5-unified/latest/repos/standard/packages/
 user = 
 passwd = 
 
@@ -33,6 +33,6 @@ user =
 passwd = 
 
 [repo.public_5.5_mobile_emulator64]
-url = http://10.113.136.32/download/public_mirror/tizen/unified/latest/repos/standard/packages/
+url = http://10.113.136.32/download/public_mirror/tizen/5.5-unified/latest/repos/standard/packages/
 user = 
 passwd = 
index 1d90186..b943f26 100755 (executable)
@@ -21,11 +21,11 @@ url = https://168.219.209.58/
 url = http://10.113.136.32/download/public_mirror/tizen/base/latest/repos/standard/packages/
 
 [repo.public_5.5_wearable_arm64]
-url = http://10.113.136.32/download/public_mirror/tizen/unified/latest/repos/standard/packages/
+url = http://10.113.136.32/download/public_mirror/tizen/5.5-unified/latest/repos/standard/packages/
 
 
 [repo.public_5.5_base_emulator64]
 url = http://10.113.136.32/download/public_mirror/tizen/base/latest/repos/standard/packages/
 
 [repo.public_5.5_wearable_emulator64]
-url = http://10.113.136.32/download/public_mirror/tizen/unified/latest/repos/emulator/packages/
+url = http://10.113.136.32/download/public_mirror/tizen/5.5-unified/latest/repos/emulator/packages/
diff --git a/SCRIPTS/tct_conf_6.0/tct/tct32_mobile.conf b/SCRIPTS/tct_conf_6.0/tct/tct32_mobile.conf
new file mode 100755 (executable)
index 0000000..ee6ee18
--- /dev/null
@@ -0,0 +1,30 @@
+[general]
+buildroot = ~/GBS-ROOT-TCT-MOBILE-EFL_6.0
+
+################ Profile for Device ################
+[profile.device] 
+repos = repo.public_6.0_base_arm,repo.public_6.0_mobile_tm1
+
+[repo.public_6.0_base_arm]
+url = http://10.113.136.32/download/public_mirror/tizen/base/latest/repos/standard/packages/
+user = mahfuja.a
+passwdx = QlpoOTFBWSZTWQNxq/gAAAMNgCAAQAAhYBgAIAAhkMIQwIxtWS+LuSKcKEgBuNX8AA==
+
+[repo.public_6.0_mobile_tm1]
+url = http://10.113.136.32/download/public_mirror/tizen/unified/latest/repos/standard/packages/
+user = mahfuja.a
+passwdx = QlpoOTFBWSZTWQNxq/gAAAMNgCAAQAAhYBgAIAAhkMIQwIxtWS+LuSKcKEgBuNX8AA==
+
+################ Profile for Emulator ################
+[profile.sdk]
+repos = repo.public_6.0_base_emul,repo.public_6.0_mobile_emul
+
+[repo.public_6.0_base_emul]
+url = http://10.113.136.32/download/public_mirror/tizen/base/latest/repos/standard/packages/
+user = mahfuja.a
+passwdx = QlpoOTFBWSZTWQNxq/gAAAMNgCAAQAAhYBgAIAAhkMIQwIxtWS+LuSKcKEgBuNX8AA==
+
+[repo.public_6.0_mobile_emul]
+url = http://10.113.136.32/download/public_mirror/tizen/unified/latest/repos/standard/packages/
+user = mahfuja.a
+passwdx = QlpoOTFBWSZTWQNxq/gAAAMNgCAAQAAhYBgAIAAhkMIQwIxtWS+LuSKcKEgBuNX8AA==
diff --git a/SCRIPTS/tct_conf_6.0/tct/tct32_wearable.conf b/SCRIPTS/tct_conf_6.0/tct/tct32_wearable.conf
new file mode 100755 (executable)
index 0000000..427f791
--- /dev/null
@@ -0,0 +1,30 @@
+[general]
+buildroot = ~/GBS-ROOT-TCT-WEARABLE-EFL_6.0
+
+################ Profile for Device ################
+[profile.device] 
+repos = repo.public_6.0_base_arm,repo.public_6.0_wearable_tw1
+
+[repo.public_6.0_base_arm]
+url = http://10.113.136.32/download/public_mirror/tizen/base/latest/repos/standard/packages/
+user = mahfuja.a
+passwdx = QlpoOTFBWSZTWQNxq/gAAAMNgCAAQAAhYBgAIAAhkMIQwIxtWS+LuSKcKEgBuNX8AA==
+
+[repo.public_6.0_wearable_tw1]
+url = http://10.113.136.32/download/public_mirror/tizen/unified/latest/repos/standard/packages/
+user = mahfuja.a
+passwdx = QlpoOTFBWSZTWQNxq/gAAAMNgCAAQAAhYBgAIAAhkMIQwIxtWS+LuSKcKEgBuNX8AA==
+
+################ Profile for Emulator ################
+[profile.sdk]
+repos = repo.public_6.0_base_emul,repo.public_6.0_wearable_emul
+
+[repo.public_6.0_base_emul]
+url = http://10.113.136.32/download/public_mirror/tizen/base/latest/repos/standard/packages/
+user = mahfuja.a
+passwdx = QlpoOTFBWSZTWQNxq/gAAAMNgCAAQAAhYBgAIAAhkMIQwIxtWS+LuSKcKEgBuNX8AA==
+
+[repo.public_6.0_wearable_emul]
+url = http://10.113.136.32/download/public_mirror/tizen/unified/latest/repos/standard/packages/
+user = mahfuja.a
+passwdx = QlpoOTFBWSZTWQNxq/gAAAMNgCAAQAAhYBgAIAAhkMIQwIxtWS+LuSKcKEgBuNX8AA==
diff --git a/SCRIPTS/tct_conf_6.0/tct/tct64_mobile.conf b/SCRIPTS/tct_conf_6.0/tct/tct64_mobile.conf
new file mode 100755 (executable)
index 0000000..586ee42
--- /dev/null
@@ -0,0 +1,38 @@
+[general]
+buildroot = ~/GBS-ROOT-TCT-MOBILE
+
+[profile.device] # Profile for Device
+obs = obs.device
+repos = repo.public_6.0_base_arm64,repo.public_6.0_mobile_arm64
+
+[profile.sdk]   # Profile for SDK
+obs = obs.sdk
+repos = repo.public_6.0_base_emul,repo.public_6.0_mobile_emulator64
+
+[obs.device]   # obs for SDK.Ref_Target
+#OBS API URL pointing to a remote OBS.
+url = https://168.219.209.58/
+
+[obs.sdk]              # obs for SDK.Emulator
+#OBS API URL pointing to a remote OBS.
+url = https://168.219.209.58/
+
+[repo.public_6.0_base_arm64]
+url = http://10.113.136.32/download/public_mirror/tizen/base/latest/repos/standard/packages/
+user = 
+passwd = 
+
+[repo.public_6.0_mobile_arm64]
+url = http://10.113.136.32/download/public_mirror/tizen/unified/latest/repos/standard/packages/
+user = 
+passwd = 
+
+[repo.public_6.0_base_emul]
+url = http://10.113.136.32/download/public_mirror/tizen/base/latest/repos/standard/packages/
+user = 
+passwd = 
+
+[repo.public_6.0_mobile_emulator64]
+url = http://10.113.136.32/download/public_mirror/tizen/unified/latest/repos/standard/packages/
+user = 
+passwd = 
diff --git a/SCRIPTS/tct_conf_6.0/tct/tct64_wearable.conf b/SCRIPTS/tct_conf_6.0/tct/tct64_wearable.conf
new file mode 100755 (executable)
index 0000000..eb2290a
--- /dev/null
@@ -0,0 +1,31 @@
+[general]
+buildroot = ~/GBS-ROOT-TCT-WEARABLE
+
+[profile.device] # Profile for Device
+obs = obs.device
+repos = repo.public_6.0_base_arm64,repo.public_6.0_wearable_arm64
+
+[profile.sdk]   # Profile for SDK
+obs = obs.sdk
+repos = repo.public_6.0_base_emulator64,repo.public_6.0_wearable_emulator64
+
+[obs.device]   # obs for SDK.Ref_Target
+#OBS API URL pointing to a remote OBS.
+url = https://168.219.209.58/
+
+[obs.sdk]              # obs for SDK.Emulator
+#OBS API URL pointing to a remote OBS.
+url = https://168.219.209.58/
+
+[repo.public_6.0_base_arm64]
+url = http://10.113.136.32/download/public_mirror/tizen/base/latest/repos/standard/packages/
+
+[repo.public_6.0_wearable_arm64]
+url = http://10.113.136.32/download/public_mirror/tizen/unified/latest/repos/standard/packages/
+
+
+[repo.public_6.0_base_emulator64]
+url = http://10.113.136.32/download/public_mirror/tizen/base/latest/repos/standard/packages/
+
+[repo.public_6.0_wearable_emulator64]
+url = http://10.113.136.32/download/public_mirror/tizen/unified/latest/repos/emulator/packages/
index 00d3e42..e01db76 100755 (executable)
@@ -6,6 +6,7 @@ log_dir_3="$SRC_DIR/LOG/LOG_${cur_date}/LOG_3.0"
 log_dir_4="$SRC_DIR/LOG/LOG_${cur_date}/LOG_4.0"
 log_dir_5="$SRC_DIR/LOG/LOG_${cur_date}/LOG_5.0"
 log_dir_5_5="$SRC_DIR/LOG/LOG_${cur_date}/LOG_5.5"
+log_dir_6="$SRC_DIR/LOG/LOG_${cur_date}/LOG_6.0"
 SDK_BUILD_PROJECT="ssh://jihun87park@review.tizen.org:29418/sdk/tools/sdk-build"
 SDK_BUILD_PROJECT_BRANCH="tizen"
 
@@ -14,7 +15,8 @@ MOBILE_PUBLIC_ROOTSTRAP_DOWNLOAD_LOCATION_3="http://10.113.136.32/download/publi
 WEARABLE_PUBLIC_ROOTSTRAP_DOWNLOAD_LOCATION_3="http://10.113.136.32/download/public_mirror/tizen/3.0-wearable/latest/builddata/public-sdk-rootstrap/"
 MW_PUBLIC_ROOTSTRAP_DOWNLOAD_LOCATION_4="http://10.113.136.32/download/public_mirror/tizen/4.0-unified/latest/builddata/public-sdk-rootstrap/"
 MW_PUBLIC_ROOTSTRAP_DOWNLOAD_LOCATION_5="http://10.113.136.32/download/public_mirror/tizen/5.0-unified/latest/builddata/public-sdk-rootstrap/"
-MW_PUBLIC_ROOTSTRAP_DOWNLOAD_LOCATION_5_5="http://10.113.136.32/download/public_mirror/tizen/unified/latest/builddata/public-sdk-rootstrap/"
+MW_PUBLIC_ROOTSTRAP_DOWNLOAD_LOCATION_5_5="http://10.113.136.32/download/public_mirror/tizen/5.5-unified/latest/builddata/public-sdk-rootstrap/"
+MW_PUBLIC_ROOTSTRAP_DOWNLOAD_LOCATION_6="http://10.113.136.32/download/public_mirror/tizen/unified/latest/builddata/public-sdk-rootstrap/"
 
 ROOTSTRAP_USER_NAME="mahfuja.a"
 ROOTSTRAP_PASS="rshafi@1"
@@ -22,7 +24,8 @@ TCT_PROJECT="ssh://jihun87park@review.tizen.org:29418/test/tct/native/api"
 TCT_BRANCH_3="tizen_3.0"
 TCT_BRANCH_4="tizen_4.0"
 TCT_BRANCH_5="tizen_5.0"
-TCT_BRANCH_5_5="tizen"
+TCT_BRANCH_5_5="tizen_5.5"
+TCT_BRANCH_6="tizen"
 TCT_USER_NAME="mahfuja.a"
 TCT_USER_ESCAPED_ENCRYPTED_PASS="QlpoOTFBWSZTWQNxq\/gAAAMNgCAAQAAhYBgAIAAhkMIQwIxtWS+LuSKcKEgBuNX8AA=="
 
@@ -39,16 +42,20 @@ EFL_BRANCH_4="tizen_4.0"
 EFL_PROJECT_5="ssh://jihun87park@review.tizen.org:29418/test/tct/native/efl-test-suite/"
 EFL_BRANCH_5="tizen_5.0"
 EFL_PROJECT_5_5="ssh://jihun87park@review.tizen.org:29418/test/tct/native/efl-test-suite/"
-EFL_BRANCH_5_5="tizen"
+EFL_BRANCH_5_5="tizen_5.5"
+EFL_PROJECT_6="ssh://jihun87park@review.tizen.org:29418/test/tct/native/efl-test-suite/"
+EFL_BRANCH_6="tizen"
 TBT_PROJECT="ssh://jihun87park@review.tizen.org:29418/test/tct/native/behavior"
 TBT_BRANCH_MOBILE_3="tizen_3.0_mobile"
 TBT_BRANCH_MOBILE_4="tizen_4.0_mobile"
 TBT_BRANCH_MOBILE_5="tizen_5.0_mobile"
-TBT_BRANCH_MOBILE_5_5="tizen_mobile"
+TBT_BRANCH_MOBILE_5_5="tizen_5.5_mobile"
+TBT_BRANCH_MOBILE_6="tizen_mobile"
 TBT_BRANCH_WEARABLE_3="tizen_3.0_wearable"
 TBT_BRANCH_WEARABLE_4="tizen_4.0_wearable"
 TBT_BRANCH_WEARABLE_5="tizen_5.0_wearable"
-TBT_BRANCH_WEARABLE_5_5="tizen_wearable"
+TBT_BRANCH_WEARABLE_5_5="tizen_5.5_wearable"
+TBT_BRANCH_WEARABLE_6="tizen_wearable"
 PASS="test123"
 
 filePathTizenIot=``
@@ -753,20 +760,184 @@ function update-git-repo_5_5
 
 }
 
+function update-rootstrap_6
+{
+        $HOME/tizen-studio/package-manager/package-manager-cli.bin update -p $PASS ;
+
+        if [ -d $SRC_DIR/GIT/GIT_6.0/sdk-build ]; then
+                cd  $SRC_DIR/GIT/GIT_6.0/sdk-build
+                rm -rf *.zip
+                echo "$PASS" | sudo -S chmod 777 -R .git/objects ;
+                git pull --force;
+        else
+                mkdir -p $SRC_DIR/GIT/GIT_6.0
+                cd $SRC_DIR/GIT/GIT_6.0
+                git clone -b "$SDK_BUILD_PROJECT_BRANCH" "$SDK_BUILD_PROJECT" ;
+        fi
+        cd  $SRC_DIR/GIT/GIT_6.0/sdk-build
+        rm -rf *.zip
+
+       if wget --spider --user=$ROOTSTRAP_USER_NAME  --password=$ROOTSTRAP_PASS $MW_PUBLIC_ROOTSTRAP_DOWNLOAD_LOCATION_6; then
+               wget -r -np -nd -l 1 -A zip --user=$ROOTSTRAP_USER_NAME  --password=$ROOTSTRAP_PASS $MW_PUBLIC_ROOTSTRAP_DOWNLOAD_LOCATION_6
+               countMobDeviceZip=`ls | grep "mobile-6.0-rs-device.*" | wc -l`
+               countMobEmulZip=`ls | grep "mobile-6.0-rs-emulator.*" | wc -l`
+               if [ $countMobDeviceZip -eq 1 ] || [ $countMobEmulZip -eq 1 ]; then
+                       if [ $countMobEmulZip -eq 1 ]; then
+                               rm -rf $HOME/tizen-studio/tools/smart-build-interface/plugins/mobile-6.0-emulator.*.xml
+                               rm -rf $HOME/tizen-studio/platforms/tizen-6.0/mobile/rootstraps/info/mobile-6.0-emulator.*.xml
+                               rm -rf $HOME/tizen-studio/platforms/tizen-6.0/mobile/rootstraps/mobile-6.0-emulator.*
+                               echo "Rootstrap is updated for 6.0 Mobile Emulator profile" >> $log_dir_6/GIT/git_log_rootstrap.txt
+                       fi
+                       if [ $countMobDeviceZip -eq 1 ]; then
+                               rm -rf $HOME/tizen-studio/tools/smart-build-interface/plugins/mobile-6.0-device.*.xml
+                               rm -rf $HOME/tizen-studio/platforms/tizen-6.0/mobile/rootstraps/info/mobile-6.0-device.*.xml
+                               rm -rf $HOME/tizen-studio/platforms/tizen-6.0/mobile/rootstraps/mobile-6.0-device.*
+                               echo "Rootstrap is updated for 6.0 Mobile Device profile" >> $log_dir_6/GIT/git_log_rootstrap.txt
+                       fi
+                       for file in $(ls mobile-5.5-rs-*.zip); do
+                               ./pkg-cli install-file -P ./$file -l $HOME/tizen-studio --force
+                       done
+               else
+                       echo "Rootstrap is not updated for any 6.0 mobile profile.So the existing rootstrap will be used." >> $log_dir_6/GIT/git_log_rootstrap.txt
+               fi
+               countWearDeviceZip=`ls | grep "wearable-6.0-rs-device.*" | wc -l`
+               countWearEmulZip=`ls | grep "wearable-6.0-rs-emulator.*" | wc -l`
+               if [ $countWearEmulZip -eq 1 ] || [ $countWearDeviceZip -eq 1 ]; then
+                       if [ $countWearEmulZip -eq 1 ]; then
+                               rm -rf $HOME/tizen-studio/tools/smart-build-interface/plugins/wearable-6.0-emulator.*.xml
+                               rm -rf $HOME/tizen-studio/platforms/tizen-6.0/wearable/rootstraps/info/wearable-6.0-emulator.*.xml
+                               rm -rf $HOME/tizen-studio/platforms/tizen-6.0/wearable/rootstraps/wearable-6.0-emulator.*
+                               echo "Rootstrap is updated for 6.0 Wearable Emulator profile" >> $log_dir_6/GIT/git_log_rootstrap.txt
+                       fi
+                       if [ $countWearDeviceZip -eq 1 ]; then
+                               rm -rf $HOME/tizen-studio/tools/smart-build-interface/plugins/wearable-6.0-device.*.xml
+                               rm -rf $HOME/tizen-studio/platforms/tizen-6.0/wearable/rootstraps/info/wearable-6.0-device.*.xml
+                               rm -rf $HOME/tizen-studio/platforms/tizen-6.0/wearable/rootstraps/wearable-6.0-device.*
+                               echo "Rootstrap is updated for 6.0 Wearable Device profile" >> $log_dir_6/GIT/git_log_rootstrap.txt
+                       fi
+                       for file in $(ls wearable-6.0-rs*.zip); do
+                               ./pkg-cli install-file -P ./$file -l $HOME/tizen-studio --force
+                       done
+               else
+                       echo "Rootstrap is not updated for any 6.0 wearable profile.So the existing rootstrap will be used." >> $log_dir_6/GIT/git_log_rootstrap.txt
+               fi
+               countTizenIotDeviceZip=`ls | grep "tizeniot-6.0-rs-device.*" | wc -l`
+               if [ $countTizenIotDeviceZip -eq 1 ]; then
+                       rm -rf $HOME/tizen-studio/tools/smart-build-interface/plugins/tizeniot-6.0-device.*.xml
+                       rm -rf $HOME/tizen-studio/platforms/tizen-6.0/tizeniot/rootstraps/info/tizeniot-6.0-device.*.xml
+                       rm -rf $HOME/tizen-studio/platforms/tizen-6.0/tizeniot/rootstraps/tizeniot-6.0-device.*
+                       echo "Rootstrap is updated for 6.0 TizenIot Device profile" >> $log_dir_6/GIT/git_log_rootstrap.txt
+
+                       for file in $(ls tizeniot-6.0-rs-*.zip); do
+                               ./pkg-cli install-file -P ./$file -l $HOME/tizen-studio --force
+                       done
+               else
+                       echo "Rootstrap is not updated for any 6.0 tizeniot profile.So the existing rootstrap will be used." >> $log_dir_6/GIT/git_log_rootstrap.txt
+               fi
+       fi
+}
+
+
+function update-git-repo_6
+{
+        if [ ! -d $log_dir_6/GIT ]; then
+                mkdir -p $log_dir_6/GIT
+        fi
+
+        cd $SRC_DIR
+
+        if [ -d $SRC_DIR/GIT/GIT_6.0/api ]; then
+                cd  GIT/GIT_6.0/api/
+                echo "$PASS" | sudo -S chmod 777 -R .git/objects ;
+                git checkout $TCT_BRANCH_6;
+                git pull --force;
+        else
+                mkdir -p $SRC_DIR/GIT/GIT_6.0
+                cd GIT/GIT_6.0
+                git clone -b "$TCT_BRANCH_6" "$TCT_PROJECT" ;
+        fi
+
+        cd $SRC_DIR/GIT/GIT_6.0/api ;
+        git log --pretty=oneline >> $log_dir_6/GIT/git_log_api.txt
+
+
+        cd $SRC_DIR
+
+        if [ -d $SRC_DIR/GIT/GIT_6.0/platform ]; then
+                cd GIT/GIT_6.0/platform/
+                echo "$PASS" | sudo -S chmod 777 -R .git/objects ;
+                git checkout $PTC_BRANCH_5;
+                git pull --force;
+        else
+                cd GIT/GIT_6.0
+                git clone -b "$PTC_BRANCH_5" "$PTC_PROJECT" ;
+        fi
+
+        cd $SRC_DIR/GIT/GIT_6.0/platform ;
+        git log --pretty=oneline >> $log_dir_6/GIT/git_log_platform.txt
+
+
+        cd $SRC_DIR
+        if [ -d $SRC_DIR/GIT/GIT_6.0/efl-test-suite ]; then
+                cd  GIT/GIT_6.0/efl-test-suite/
+                echo "$PASS" | sudo -S chmod 777 -R .git/objects ;
+                git checkout $EFL_BRANCH_6;
+                git pull --force;
+        else
+                cd GIT/GIT_6.0
+                git clone -b "$EFL_BRANCH_6" "$EFL_PROJECT_6" ;
+        fi
+
+        cd $SRC_DIR/GIT/GIT_6.0/efl-test-suite ;
+        git log --pretty=oneline >> $log_dir_6/GIT/git_log_efl.txt
+
+       cd $SRC_DIR ;
+        if [ -d $SRC_DIR/GIT/GIT_6.0/behavior ]; then
+                cd  GIT/GIT_6.0/behavior/
+                git checkout $TBT_BRANCH_MOBILE_6;
+                echo "$PASS" | sudo -S chmod 777 -R .git/objects ;
+                git pull --force;
+        else
+                cd GIT/GIT_6.0
+                git clone "$TBT_PROJECT" ;
+        fi
+
+        cd $SRC_DIR/GIT/GIT_6.0/behavior ;
+        git log --pretty=oneline >> $log_dir_6/GIT/git_log_tbt_mobile.txt
+
+        cd $SRC_DIR ;
+        if [ -d $SRC_DIR/GIT/GIT_6.0/behavior ]; then
+                cd  GIT/GIT_6.0/behavior/
+                git checkout $TBT_BRANCH_WEARABLE_6;
+                echo "$PASS" | sudo -S chmod 777 -R .git/objects ;
+                git pull --force;
+        else
+                cd GIT/GIT_6.0
+                git clone "$TBT_PROJECT" ;
+        fi
+
+        cd $SRC_DIR/GIT/GIT_6.0/behavior ;
+        git log --pretty=oneline >> $log_dir_6/GIT/git_log_tbt_wearable.txt
+
+}
+
 function clear-gbs-root
 {
+        if [ -d $HOME/GBS-ROOT-TCT-MOBILE-EFL_6 ]; then
+                echo "$PASS" | sudo -S rm -rf $HOME/GBS-ROOT-TCT-MOBILE-EFL_6
+        fi
         if [ -d $HOME/GBS-ROOT-TCT-MOBILE-EFL_5.5 ]; then
                 echo "$PASS" | sudo -S rm -rf $HOME/GBS-ROOT-TCT-MOBILE-EFL_5.5
         fi
         if [ -d $HOME/GBS-ROOT-TCT-MOBILE-EFL_5.0 ]; then
                 echo "$PASS" | sudo -S rm -rf $HOME/GBS-ROOT-TCT-MOBILE-EFL_5.0
         fi
-        if [ -d $HOME/GBS-ROOT-TCT-MOBILE-EFL_4.0 ]; then
-                echo "$PASS" | sudo -S rm -rf $HOME/GBS-ROOT-TCT-MOBILE-EFL_4.0
-        fi
-        if [ -d $HOME/GBS-ROOT-TCT-MOBILE-EFL_3.0 ]; then
-                echo "$PASS" | sudo -S rm -rf $HOME/GBS-ROOT-TCT-MOBILE-EFL_3.0
-        fi
+        #if [ -d $HOME/GBS-ROOT-TCT-MOBILE-EFL_4.0 ]; then
+        #        echo "$PASS" | sudo -S rm -rf $HOME/GBS-ROOT-TCT-MOBILE-EFL_4.0
+        #fi
+        #if [ -d $HOME/GBS-ROOT-TCT-MOBILE-EFL_3.0 ]; then
+        #        echo "$PASS" | sudo -S rm -rf $HOME/GBS-ROOT-TCT-MOBILE-EFL_3.0
+        #fi
         if [ -d $HOME/GBS-ROOT-TCT-TV ]; then
                 echo "$PASS" | sudo -S rm -rf $HOME/GBS-ROOT-TCT-TV
         fi
@@ -775,13 +946,15 @@ function clear-gbs-root
         fi
 }
 
-update-git-repo_3
-update-rootstrap_3
-update-git-repo_4
-update-rootstrap_4
+#update-git-repo_3
+#update-rootstrap_3
+#update-git-repo_4
+#update-rootstrap_4
 update-git-repo_5
 update-rootstrap_5
 update-git-repo_5_5
 update-rootstrap_5_5
+update-git-repo_6
+update-rootstrap_6
 clear-gbs-root
 echo "UPDATE GIT Repo Done"
index fe0990c..aa1a0d1 100755 (executable)
--- a/build.sh
+++ b/build.sh
@@ -31,14 +31,16 @@ TOOLS_BRANCH="master"
 cur_date=$(date +%Y%m%d)
 log_dir="$SRC_DIR/LOG/LOG_${cur_date}"
 result_dir="$SRC_DIR/RESULT/RESULT_${cur_date}"
-log_dir_3="$SRC_DIR/LOG/LOG_${cur_date}/LOG_3.0"
-log_dir_4="$SRC_DIR/LOG/LOG_${cur_date}/LOG_4.0"
+#log_dir_3="$SRC_DIR/LOG/LOG_${cur_date}/LOG_3.0"
+#log_dir_4="$SRC_DIR/LOG/LOG_${cur_date}/LOG_4.0"
 log_dir_5="$SRC_DIR/LOG/LOG_${cur_date}/LOG_5.0"
 log_dir_5_5="$SRC_DIR/LOG/LOG_${cur_date}/LOG_5.5"
-result_dir_3="$SRC_DIR/RESULT/RESULT_${cur_date}/RESULT_3.0"
-result_dir_4="$SRC_DIR/RESULT/RESULT_${cur_date}/RESULT_4.0"
+log_dir_6="$SRC_DIR/LOG/LOG_${cur_date}/LOG_6.0"
+#result_dir_3="$SRC_DIR/RESULT/RESULT_${cur_date}/RESULT_3.0"
+#result_dir_4="$SRC_DIR/RESULT/RESULT_${cur_date}/RESULT_4.0"
 result_dir_5="$SRC_DIR/RESULT/RESULT_${cur_date}/RESULT_5.0"
 result_dir_5_5="$SRC_DIR/RESULT/RESULT_${cur_date}/RESULT_5.5"
+result_dir_6="$SRC_DIR/RESULT/RESULT_${cur_date}/RESULT_6.0"
 cron_log_dir="$SRC_DIR/crontab.log"
 
 PROFILES=""
@@ -60,14 +62,16 @@ PROFILES_IOT="${PROFILES_IOT} tizeniot"
 
 mkdir -p $log_dir
 mkdir -p $result_dir
-mkdir -p $result_dir_3
-mkdir -p $result_dir_4
+#mkdir -p $result_dir_3
+#mkdir -p $result_dir_4
 mkdir -p $result_dir_5
 mkdir -p $result_dir_5_5
-mkdir -p $log_dir_3
-mkdir -p $log_dir_4
+mkdir -p $result_dir_6
+#mkdir -p $log_dir_3
+#mkdir -p $log_dir_4
 mkdir -p $log_dir_5
 mkdir -p $log_dir_5_5
+mkdir -p $log_dir_6
 
 function push_nativetct_tools
 {
@@ -120,356 +124,8 @@ else
         echo "####### Native TCT tools already up-to-date. #######" >> $log_dir/push_nativetct_tools.log 2>&1
 fi
 
-#updating GIT/api/rootstrap.txt file
-rm $SRC_DIR/GIT/GIT_3.0/api/rootstrap.txt
-bash $SRC_DIR/SCRIPTS/update_rootstrap.sh "$SRC_DIR/GIT/GIT_3.0/api" "public" "3.0,"
-#updating GIT/platform/rootstrap.txt file
-rm $SRC_DIR/GIT/GIT_3.0/platform/rootstrap.txt
-bash $SRC_DIR/SCRIPTS/update_rootstrap.sh "$SRC_DIR/GIT/GIT_3.0/platform" "private" "3.0,"
-
-
-echo "[$(date +%H:%M:%S)][$(echo $0)][common][push_nativetct_tools] finished" >> $cron_log_dir 2>&1
-
-for arch in ${ARCH}; do
-       RESULT=""
-       if [ "$arch" == "armv7l" ]; then
-               RESULT="NativeTCT_3.0_${cur_date}_arm"
-       elif [ "$arch" == "x86_64" ]; then
-               RESULT="NativeTCT_3.0_${cur_date}_x64"
-       elif [ "$arch" == "x86" ]; then
-               RESULT="NativeTCT_3.0_${cur_date}_x86"
-       else
-               RESULT="NativeTCT_3.0_${cur_date}_aarch64"
-       fi
 
-       rm -rf $SRC_DIR/GIT/GIT_3.0/api/tool/NativeTCT_3.0 ;
-       cd $SRC_DIR/GIT/GIT_3.0/api/tool
-       tar xf NativeTCT_3.0.tar.gz ;
-
-       echo "$PASS" | sudo -S  rm -rf $SRC_DIR/$RESULT
-       cp -r $SRC_DIR/GIT/GIT_3.0/api/tool/NativeTCT_3.0 $SRC_DIR/$RESULT ;
-
-       cd $SRC_DIR/$RESULT ;
-       echo "$PASS" | sudo -S python tct-setup.py;
-
-       gvfs-move $SRC_DIR/$RESULT/NativeTCT_3.0 $SRC_DIR/$RESULT/$RESULT;
-       for profile in ${PROFILES}; do
-               CONF=""
-               TYPE=""
-               if [ "$arch" = "x86_64"  ] || [ "$arch" = "aarch64" ]; then
-                       CONF="tct64_${profile}.conf"
-               else
-                       CONF="tct32_${profile}.conf"
-               fi
-               if [ "$arch" = "x86_64"  ] || [ "$arch" = "x86" ]; then
-                       TYPE="sdk"
-               else
-                       TYPE="device"
-               fi
-
-               ##########################################TPK Build#############################################
-               IS_TPK_REQ=`cat $SRC_DIR/SCRIPTS/config.txt | grep TPK | grep -w $arch | grep $profile | cut -f 2- -d '='`
-               if [ "$IS_TPK_REQ" == "YES" ]; then
-                       if [ -d $SRC_DIR/GIT/GIT_3.0/api/tmp ]; then
-                               rm -rf $SRC_DIR/GIT/GIT_3.0/api/tmp
-                               rm -rf $SRC_DIR/GIT/GIT_3.0/api/tcbuild
-                               rm -rf $SRC_DIR/GIT/GIT_3.0/api/tcbuildsdk
-                               rm -rf $SRC_DIR/GIT/GIT_3.0/tpkbuild
-                               rm -rf $SRC_DIR/GIT/GIT_3.0/api/tpk-install
-                       fi
-
-                       cd $SRC_DIR/GIT/GIT_3.0/api/scripts_tpk
-                       echo "$PASS" | sudo -S ./init.sh
-
-                       if [ "$arch" = "x86_64"  ] || [ "$arch" = "x86" ]; then
-                               truncate -s 0 $SRC_DIR/GIT/GIT_3.0/api/exclude.list;
-                               cat $SRC_DIR/GIT/GIT_3.0/api/custom_tclist/Emulator.tclist_$profile > $SRC_DIR/GIT/GIT_3.0/api/exclude.list;
-                       fi
-
-                       mkdir -p $log_dir_3/TPK
-                       #if [ "$arch" == "x86" ]; then
-                       #       bash $SRC_DIR/SCRIPTS/tct_build_tpk.sh "$SRC_DIR/GIT/GIT_3.0/api/tct_conf/tct/$CONF" "$TCT_USER_NAME" "$TCT_USER_ESCAPED_ENCRYPTED_PASS" "i586" "$profile" "$SRC_DIR" "3.0" "3" > $log_dir_3/TPK/build_latest_$arch-$profile.log 2>&1
-                       #else
-                       #       bash $SRC_DIR/SCRIPTS/tct_build_tpk.sh "$SRC_DIR/GIT/GIT_3.0/api/tct_conf/tct/$CONF" "$TCT_USER_NAME" "$TCT_USER_ESCAPED_ENCRYPTED_PASS" "$arch" "$profile" "$SRC_DIR" "3.0" "3" > $log_dir_3/TPK/build_latest_$arch-$profile.log 2>&1
-                       #fi
-                       bash $SRC_DIR/SCRIPTS/tct_build_tpk.sh "$SRC_DIR/SCRIPTS/tct_conf_3.0/tct/$CONF" "$TCT_USER_NAME" "$TCT_USER_ESCAPED_ENCRYPTED_PASS" "$arch" "$profile" "$SRC_DIR" "3.0" "3" > $log_dir_3/TPK/build_latest_$arch-$profile.log 2>&1
-
-                       echo "$PASS" | sudo -S  rm -rf $SRC_DIR/$RESULT/$RESULT/TCT/native-tct/package/$profile/* ;
-                       echo "$PASS" | sudo -S  cp -r /opt/tct/tizen_native_3.0/packages/$profile/* $SRC_DIR/$RESULT/$RESULT/TCT/native-tct/package/$profile/ ;
-                       echo "$PASS" | sudo -S  cp -r /opt/tct/tizen_native_3.0/packages/pkg_infos/${profile}_pkg_info.xml $SRC_DIR/$RESULT/$RESULT/TCT/native-tct/package/pkg_infos/ ;
-
-                       if [ -d $SRC_DIR/GIT/GIT_3.0/api/tmp ]; then
-                               rm -rf $SRC_DIR/GIT/GIT_3.0/api/tmp
-                               rm -rf $SRC_DIR/GIT/GIT_3.0/api/tcbuild
-                               rm -rf $SRC_DIR/GIT/GIT_3.0/api/tcbuildsdk
-                               rm -rf $SRC_DIR/GIT/GIT_3.0/api/tpkbuild
-                               rm -rf $SRC_DIR/GIT/GIT_3.0/api/tpk-install
-                       fi
-
-                       rm -rf $SRC_DIR/GIT/GIT_3.0/api/tool/NativeTCT_3.0 ;
-
-                       echo "[$(date +%H:%M:%S)][$(echo $0)][$arch/tct][build] finished" >> $cron_log_dir 2>&1
-               fi
-               ##########################################TPK Build Finish######################################
-
-               ##########################################EFL Build#############################################
-               IS_EFL_REQ=`cat $SRC_DIR/SCRIPTS/config.txt | grep EFL | grep -w $arch | grep $profile | cut -f 2- -d '='`
-               if [ "$IS_EFL_REQ" == "YES" ]; then
-                       mkdir -p $SRC_DIR/$RESULT/$RESULT/EFL/Mobile
-                       mkdir -p $SRC_DIR/$RESULT/$RESULT/EFL/Wearable
-                       #mkdir -p $SRC_DIR/$RESULT/$RESULT/EFL/TV
-                       #mkdir -p $SRC_DIR/$RESULT/$RESULT/EFL/Common_iot
-                       mkdir -p $log_dir_3/EFL
-                       if [ "$arch" == "x86" ]; then
-                               bash $SRC_DIR/SCRIPTS/efl_build.sh "$SRC_DIR/SCRIPTS/tct_conf_3.0/tct/$CONF" "i586" "$profile" "$TYPE" "$SRC_DIR/$RESULT/$RESULT/EFL" "$SRC_DIR" "3.0" "3" > $log_dir_3/EFL/build_latest_$arch-$profile.log 2>&1
-                       else
-                               bash $SRC_DIR/SCRIPTS/efl_build.sh "$SRC_DIR/SCRIPTS/tct_conf_3.0/tct/$CONF" "$arch" "$profile" "$TYPE" "$SRC_DIR/$RESULT/$RESULT/EFL" "$SRC_DIR" "3.0" "3" > $log_dir_3/EFL/build_latest_$arch-$profile.log 2>&1
-                       fi
-                       
-                       echo "[$(date +%H:%M:%S)][$(echo $0)][$arch/efl][build] finished" >> $cron_log_dir 2>&1
-               fi
-               ##########################################EFL Build Finish######################################
-
-               ##########################################TBT Copy##############################################
-               IS_TBT_REQ=`cat $SRC_DIR/SCRIPTS/config.txt | grep TBT | grep -w $arch | grep $profile | cut -f 2- -d '='`
-               if [ "$IS_TBT_REQ" == "YES" ]; then
-                       mkdir -p $SRC_DIR/$RESULT/$RESULT/TBT/Mobile
-                       mkdir -p $SRC_DIR/$RESULT/$RESULT/TBT/Wearable
-                       mkdir -p $log_dir_3/TBT
-                       if [ "$arch" = "x86_64"  ] || [ "$arch" = "aarch64" ]; then
-                               bash $SRC_DIR/SCRIPTS/tbt_copy.sh "mobile_only" "$arch" "$SRC_DIR/$RESULT/$RESULT/TBT" "$SRC_DIR" "3.0" "3" > $log_dir_3/TBT/build_latest_$arch-$profile.log 2>&1
-                       else
-                               bash $SRC_DIR/SCRIPTS/tbt_copy.sh "all" "$arch" "$SRC_DIR/$RESULT/$RESULT/TBT" "$SRC_DIR" "3.0" "3"  > $log_dir_3/TBT/build_latest_$arch-$profile.log 2>&1
-                       fi
-
-                       echo "[$(date +%H:%M:%S)][$(echo $0)][$arch/tbt][build] finished" >> $cron_log_dir 2>&1
-               fi
-               ##########################################TBT Copy Finish#######################################
-       done
-               if [ $(find $SRC_DIR/$RESULT/$RESULT/TCT/native-tct/package/ -name *.zip | wc -l) -gt 0 ]; then
-                       bash $SRC_DIR/SCRIPTS/server_copy.sh $RESULT "$SRC_DIR" "3.0" "3"
-               fi
-               mv $SRC_DIR/$RESULT* $result_dir_3
-               echo "[$(date +%H:%M:%S)][$(echo $0)][$arch][upload] finished" >> $cron_log_dir 2>&1
-done
-:
-'                ###########################  NativeInternalTC ###################################################
-for arch in ${ARCH}; do
-        RESULT=""
-        if [ "$arch" == "armv7l" ]; then
-                RESULT="NativeInternalTC_3.0_${cur_date}_arm"
-        elif [ "$arch" == "x86_64" ]; then
-                RESULT="NativeInternalTC_3.0_${cur_date}_x64"
-        elif [ "$arch" == "x86" ]; then
-                RESULT="NativeInternalTC_3.0_${cur_date}_x86"
-        else
-                RESULT="NativeInternalTC_3.0_${cur_date}_aarch64"
-        fi
-
-        rm -rf $SRC_DIR/GIT/GIT_3.0/platform/tool/NativeTCT_3.0 ;
-        cd $SRC_DIR/GIT/GIT_3.0/platform/tool
-        tar xf NativeTCT_3.0.tar.gz ;
-
-        echo "$PASS" | sudo -S  rm -rf $SRC_DIR/$RESULT
-        cp -r $SRC_DIR/GIT_3.0/GIT/platform/tool/NativeTCT_3.0 $SRC_DIR/$RESULT ;
-
-        cd $SRC_DIR/$RESULT ;
-        echo "$PASS" | sudo -S python tct-setup.py;
-
-        gvfs-move $SRC_DIR/$RESULT/NativeTCT_3.0 $SRC_DIR/$RESULT/$RESULT;
-        for profile in ${PROFILES}; do
-                CONF=""
-                TYPE=""
-                if [ "$arch" = "x86_64"  ] || [ "$arch" = "aarch64" ]; then
-                        CONF="tct64_${profile}.conf"
-                else
-                        CONF="tct32_${profile}.conf"
-                fi
-                if [ "$arch" = "x86_64"  ] || [ "$arch" = "x86" ]; then
-                        TYPE="sdk"
-                else
-                        TYPE="device"
-                fi
-
-                IS_TPK_REQ=`cat $SRC_DIR/SCRIPTS/config.txt | grep InternalTC | grep -w $arch | grep $profile | cut -f 2- -d '='`
-                if [ "$IS_TPK_REQ" == "YES" ]; then
-                        if [ -d $SRC_DIR/GIT/GIT_3.0/platform/tmp ]; then
-                                rm -rf $SRC_DIR/GIT/GIT_3.0/platform/tmp
-                                rm -rf $SRC_DIR/GIT/GIT_3.0/platform/tcbuild
-                                rm -rf $SRC_DIR/GIT/GIT_3.0/platform/tcbuildsdk
-                                rm -rf $SRC_DIR/GIT/GIT_3.0/platform/tpkbuild
-                                rm -rf $SRC_DIR/GIT/GIT_3.0/platform/tpk-install
-                        fi
-
-                        cd $SRC_DIR/GIT/GIT_3.0/platform/scripts_tpk
-                        echo "$PASS" | sudo -S ./init.sh
-
-                        if [ "$arch" = "x86_64"  ] || [ "$arch" = "x86" ]; then
-                                truncate -s 0 $SRC_DIR/GIT/GIT_3.0/platform/exclude.list;
-                                cat $SRC_DIR/GIT/GIT_3.0/platform/custom_tclist/Emulator.tclist_$profile > $SRC_DIR/GIT/GIT_3.0/platform/exclude.list;
-                        fi
-
-                        mkdir -p $log_dir_3/InternalTC
-                        if [ "$arch" == "x86" ]; then
-                                                               bash $SRC_DIR/SCRIPTS/internaltc_build_tpk.sh "$SRC_DIR/GIT/GIT_3.0/platform/tct_conf/tct/$CONF" "$TCT_USER_NAME" "$TCT_USER_ESCAPED_ENCRYPTED_PASS" "i586" "$profile" "$SRC_DIR" "3.0" "3" > $log_dir_3/InternalTC/build_latest_$arch-$profile.log 2>&1
-                        else
-                                                               bash $SRC_DIR/SCRIPTS/internaltc_build_tpk.sh "$SRC_DIR/GIT/GIT_3.0/platform/tct_conf/tct/$CONF" "$TCT_USER_NAME" "$TCT_USER_ESCAPED_ENCRYPTED_PASS" "$arch" "$profile" "$SRC_DIR" "3.0" "3" > $log_dir_3/InternalTC/build_latest_$arch-$profile.log 2>&1
-                        fi
-                       #bash $SRC_DIR/SCRIPTS/internaltc_build_tpk.sh "$SRC_DIR/GIT/GIT_3.0/platform/tct_conf/tct/$CONF" "$TCT_USER_NAME" "$TCT_USER_ESCAPED_ENCRYPTED_PASS" "$arch" "$profile" "$SRC_DIR" "3.0" "3" > $log_dir_3/InternalTC/build_latest_$arch-$profile.log 2>&1
-
-                        echo "$PASS" | sudo -S  rm -rf $SRC_DIR/$RESULT/$RESULT/TCT/native-tct/package/$profile/* ;
-                        echo "$PASS" | sudo -S  cp -r /opt/tct/tizen_native_3.0/packages/$profile/* $SRC_DIR/$RESULT/$RESULT/TCT/native-tct/package/$profile/ ;
-                        echo "$PASS" | sudo -S  cp -r /opt/tct/tizen_native_3.0/packages/pkg_infos/${profile}_pkg_info.xml $SRC_DIR/$RESULT/$RESULT/TCT/native-tct/package/pkg_infos/ ;
-
-                        if [ -d $SRC_DIR/GIT/GIT_3.0/platform/tmp ]; then
-                                rm -rf $SRC_DIR/GIT/GIT_3.0/platform/tmp
-                                rm -rf $SRC_DIR/GIT/GIT_3.0/platform/tcbuild
-                                rm -rf $SRC_DIR/GIT/GIT_3.0/platform/tcbuildsdk
-                                rm -rf $SRC_DIR/GIT/GIT_3.0/platform/tpkbuild
-                                rm -rf $SRC_DIR/GIT/GIT_3.0/platform/tpk-install
-                        fi
-
-                        rm -rf $SRC_DIR/GIT/GIT_3.0/platform/tool/NativeTCT_3.0 ;
-
-                        echo "[$(date +%H:%M:%S)][$(echo $0)][$arch/tct][build] finished" >> $cron_log_dir 2>&1
-                fi
-        done
-        if [ $(find $SRC_DIR/$RESULT/$RESULT/TCT/native-tct/package/ -name *.zip | wc -l) -gt 0 ]; then
-               bash $SRC_DIR/SCRIPTS/server_copy.sh $RESULT "$SRC_DIR" "3.0" "3"
-        fi
-        mv $SRC_DIR/$RESULT* $result_dir_3
-        echo "[$(date +%H:%M:%S)][$(echo $0)][$arch][upload] finished" >> $cron_log_dir 2>&1
-
-done
-'
-###################################  4.0    ##############################################################3
-#updating GIT/api/rootstrap.txt file
-        rm $SRC_DIR/GIT/GIT_4.0/api/rootstrap.txt
-        bash $SRC_DIR/SCRIPTS/update_rootstrap.sh "$SRC_DIR/GIT/GIT_4.0/api" "public" "4.0,"
-
-for arch in ${ARCH}; do
-       RESULT=""
-       if [ "$arch" == "armv7l" ]; then
-               RESULT="NativeTCT_4.0_${cur_date}_arm"
-       elif [ "$arch" == "x86_64" ]; then
-               RESULT="NativeTCT_4.0_${cur_date}_x64"
-       elif [ "$arch" == "x86" ]; then
-               RESULT="NativeTCT_4.0_${cur_date}_x86"
-       else
-               RESULT="NativeTCT_4.0_${cur_date}_aarch64"
-       fi
-
-       rm -rf $SRC_DIR/GIT/GIT_4.0/api/tool/NativeTCT_4.0 ;
-       cd $SRC_DIR/GIT/GIT_4.0/api/tool
-       tar xf NativeTCT_4.0.tar.gz ;
-
-       echo "$PASS" | sudo -S  rm -rf $SRC_DIR/$RESULT
-       cp -r $SRC_DIR/GIT/GIT_4.0/api/tool/NativeTCT_4.0 $SRC_DIR/$RESULT ;
-
-       cd $SRC_DIR/$RESULT ;
-       echo "$PASS" | sudo -S python tct-setup.py;
-
-       gvfs-move $SRC_DIR/$RESULT/NativeTCT_4.0 $SRC_DIR/$RESULT/$RESULT;
-       for profile in ${PROFILES}; do
-               CONF=""
-               TYPE=""
-               if [ "$arch" = "x86_64"  ] || [ "$arch" = "aarch64" ]; then
-                       CONF="tct64_${profile}.conf"
-               else
-                       CONF="tct32_${profile}.conf"
-               fi
-               if [ "$arch" = "x86_64"  ] || [ "$arch" = "x86" ]; then
-                       TYPE="sdk"
-               else
-                       TYPE="device"
-               fi
-
-               ##########################################TPK Build#############################################
-               IS_TPK_REQ=`cat $SRC_DIR/SCRIPTS/config.txt | grep TPK | grep -w $arch | grep $profile | cut -f 2- -d '='`
-               if [ "$IS_TPK_REQ" == "YES" ]; then
-                       if [ -d $SRC_DIR/GIT/GIT_4.0/api/tmp ]; then
-                               rm -rf $SRC_DIR/GIT/GIT_4.0/api/tmp
-                               rm -rf $SRC_DIR/GIT/GIT_4.0/api/tcbuild
-                               rm -rf $SRC_DIR/GIT/GIT_4.0/api/tcbuildsdk
-                               rm -rf $SRC_DIR/GIT/GIT_4.0/tpkbuild
-                               rm -rf $SRC_DIR/GIT/GIT_4.0/api/tpk-install
-                       fi
-
-                       cd $SRC_DIR/GIT/GIT_4.0/api/scripts_tpk
-                       echo "$PASS" | sudo -S ./init.sh
-
-                       if [ "$arch" = "x86_64"  ] || [ "$arch" = "x86" ]; then
-                               truncate -s 0 $SRC_DIR/GIT/GIT_4.0/api/exclude.list;
-                               cat $SRC_DIR/GIT/GIT_4.0/api/custom_tclist/Emulator.tclist_$profile > $SRC_DIR/GIT/GIT_4.0/api/exclude.list;
-                       fi
-
-                       mkdir -p $log_dir_4/TPK
-                       #if [ "$arch" == "x86" ]; then
-                       #       bash $SRC_DIR/SCRIPTS/tct_build_tpk.sh "$SRC_DIR/GIT/GIT_4.0/api/tct_conf/tct/$CONF" "$TCT_USER_NAME" "$TCT_USER_ESCAPED_ENCRYPTED_PASS" "i586" "$profile" "$SRC_DIR" "4.0" "4" > $log_dir_4/TPK/build_latest_$arch-$profile.log 2>&1
-                       #else
-                       #       bash $SRC_DIR/SCRIPTS/tct_build_tpk.sh "$SRC_DIR/GIT/GIT_4.0/api/tct_conf/tct/$CONF" "$TCT_USER_NAME" "$TCT_USER_ESCAPED_ENCRYPTED_PASS" "$arch" "$profile" "$SRC_DIR" "4.0" "4" > $log_dir_4/TPK/build_latest_$arch-$profile.log 2>&1
-                       #fi
-                       bash $SRC_DIR/SCRIPTS/tct_build_tpk.sh "$SRC_DIR/SCRIPTS/tct_conf_4.0/tct/$CONF" "$TCT_USER_NAME" "$TCT_USER_ESCAPED_ENCRYPTED_PASS" "$arch" "$profile" "$SRC_DIR" "4.0" "4" > $log_dir_4/TPK/build_latest_$arch-$profile.log 2>&1
-
-                       echo "$PASS" | sudo -S  rm -rf $SRC_DIR/$RESULT/$RESULT/TCT/native-tct/package/$profile/* ;
-                       echo "$PASS" | sudo -S  cp -r /opt/tct/tizen_native_4.0/packages/$profile/* $SRC_DIR/$RESULT/$RESULT/TCT/native-tct/package/$profile/ ;
-                       echo "$PASS" | sudo -S  cp -r /opt/tct/tizen_native_4.0/packages/pkg_infos/${profile}_pkg_info.xml $SRC_DIR/$RESULT/$RESULT/TCT/native-tct/package/pkg_infos/ ;
-
-                       if [ -d $SRC_DIR/GIT/GIT_4.0/api/tmp ]; then
-                               rm -rf $SRC_DIR/GIT/GIT_4.0/api/tmp
-                               rm -rf $SRC_DIR/GIT/GIT_4.0/api/tcbuild
-                               rm -rf $SRC_DIR/GIT/GIT_4.0/api/tcbuildsdk
-                               rm -rf $SRC_DIR/GIT/GIT_4.0/api/tpkbuild
-                               rm -rf $SRC_DIR/GIT/GIT_4.0/api/tpk-install
-                       fi
-
-                       rm -rf $SRC_DIR/GIT/GIT_4.0/api/tool/NativeTCT_4.0 ;
-
-                       echo "[$(date +%H:%M:%S)][$(echo $0)][$arch/tct][build] finished" >> $cron_log_dir 2>&1
-               fi
-               ##########################################TPK Build Finish######################################
-
-               ##########################################EFL Build#############################################
-               IS_EFL_REQ=`cat $SRC_DIR/SCRIPTS/config.txt | grep EFL | grep -w $arch | grep $profile | cut -f 2- -d '='`
-               if [ "$IS_EFL_REQ" == "YES" ]; then
-                       mkdir -p $SRC_DIR/$RESULT/$RESULT/EFL/Mobile
-                       mkdir -p $SRC_DIR/$RESULT/$RESULT/EFL/Wearable
-                       #mkdir -p $SRC_DIR/$RESULT/$RESULT/EFL/TV
-                       #mkdir -p $SRC_DIR/$RESULT/$RESULT/EFL/Common_iot
-                       mkdir -p $log_dir_4/EFL
-                       if [ "$arch" == "x86" ]; then
-                               bash $SRC_DIR/SCRIPTS/efl_build.sh "$SRC_DIR/SCRIPTS/tct_conf_4.0/tct/$CONF" "i586" "$profile" "$TYPE" "$SRC_DIR/$RESULT/$RESULT/EFL" "$SRC_DIR" "4.0" "4" > $log_dir_4/EFL/build_latest_$arch-$profile.log 2>&1
-                       else
-                               bash $SRC_DIR/SCRIPTS/efl_build.sh "$SRC_DIR/SCRIPTS/tct_conf_4.0/tct/$CONF" "$arch" "$profile" "$TYPE" "$SRC_DIR/$RESULT/$RESULT/EFL" "$SRC_DIR" "4.0" "4" > $log_dir_4/EFL/build_latest_$arch-$profile.log 2>&1
-                       fi
-                       echo "[$(date +%H:%M:%S)][$(echo $0)][$arch/efl][build] finished" >> $cron_log_dir 2>&1
-               fi
-               ##########################################EFL Build Finish######################################
-
-               ##########################################TBT Copy##############################################
-               IS_TBT_REQ=`cat $SRC_DIR/SCRIPTS/config.txt | grep TBT | grep -w $arch | grep $profile | cut -f 2- -d '='`
-               if [ "$IS_TBT_REQ" == "YES" ]; then
-                       mkdir -p $SRC_DIR/$RESULT/$RESULT/TBT/Mobile
-                       mkdir -p $SRC_DIR/$RESULT/$RESULT/TBT/Wearable
-                       mkdir -p $log_dir_4/TBT
-                       if [ "$arch" = "x86_64"  ] || [ "$arch" = "aarch64" ]; then
-                               bash $SRC_DIR/SCRIPTS/tbt_copy.sh "mobile_only" "$arch" "$SRC_DIR/$RESULT/$RESULT/TBT" "$SRC_DIR" "4.0" "4"  > $log_dir_4/TBT/build_latest_$arch-$profile.log 2>&1
-                       else
-                               bash $SRC_DIR/SCRIPTS/tbt_copy.sh "all" "$arch" "$SRC_DIR/$RESULT/$RESULT/TBT" "$SRC_DIR" "4.0" "4"  > $log_dir_4/TBT/build_latest_$arch-$profile.log 2>&1
-                       fi
-
-                       echo "[$(date +%H:%M:%S)][$(echo $0)][$arch/tbt][build] finished" >> $cron_log_dir 2>&1
-               fi
-               ##########################################TBT Copy Finish#######################################
-       done
-               if [ $(find $SRC_DIR/$RESULT/$RESULT/TCT/native-tct/package/ -name *.zip | wc -l) -gt 0 ]; then
-                       bash $SRC_DIR/SCRIPTS/server_copy.sh $RESULT "$SRC_DIR" "4.0" "4"
-               fi
-               mv $SRC_DIR/$RESULT* $result_dir_4
-               echo "[$(date +%H:%M:%S)][$(echo $0)][$arch][upload] finished" >> $cron_log_dir 2>&1
-done
-
-###################################  5.0    ##############################################################3
+###################################  5.0    ##############################################################
 #updating GIT/api/rootstrap.txt file
         rm $SRC_DIR/GIT/GIT_5.0/api/rootstrap.txt
         bash $SRC_DIR/SCRIPTS/update_rootstrap.sh "$SRC_DIR/GIT/GIT_5.0/api" "public" "5.0,"
@@ -855,12 +511,206 @@ for arch in ${ARCH_IOT}; do
                 echo "[$(date +%H:%M:%S)][$(echo $0)][$arch][upload] finished" >> $cron_log_dir 2>&1
 done
 
+###################################  6.0    ##############################################################3
+#updating GIT/api/rootstrap.txt file
+        rm $SRC_DIR/GIT/GIT_6.0/api/rootstrap.txt
+        bash $SRC_DIR/SCRIPTS/update_rootstrap.sh "$SRC_DIR/GIT/GIT_6.0/api" "public" "6.0,"
+
+for arch in ${ARCH}; do
+        RESULT=""
+        if [ "$arch" == "armv7l" ]; then
+                RESULT="NativeTCT_6.0_${cur_date}_arm"
+        elif [ "$arch" == "x86_64" ]; then
+                RESULT="NativeTCT_6.0_${cur_date}_x64"
+        elif [ "$arch" == "x86" ]; then
+                RESULT="NativeTCT_6.0_${cur_date}_x86"
+        else
+                RESULT="NativeTCT_6.0_${cur_date}_aarch64"
+        fi
+
+        rm -rf $SRC_DIR/GIT/GIT_6.0/api/tool/NativeTCT_6.0 ;
+        cd $SRC_DIR/GIT/GIT_6.0/api/tool
+        tar xf NativeTCT_6.0.tar.gz ;
+
+        echo "$PASS" | sudo -S  rm -rf $SRC_DIR/$RESULT
+        cp -r $SRC_DIR/GIT/GIT_6.0/api/tool/NativeTCT_6.0 $SRC_DIR/$RESULT ;
+
+        cd $SRC_DIR/$RESULT ;
+        echo "$PASS" | sudo -S python tct-setup.py;
+
+        gvfs-move $SRC_DIR/$RESULT/NativeTCT_6.0 $SRC_DIR/$RESULT/$RESULT;
+        for profile in ${PROFILES}; do
+                CONF=""
+                TYPE=""
+                if [ "$arch" = "x86_64"  ] || [ "$arch" = "aarch64" ]; then
+                        CONF="tct64_${profile}.conf"
+                else
+                        CONF="tct32_${profile}.conf"
+                fi
+                if [ "$arch" = "x86_64"  ] || [ "$arch" = "x86" ]; then
+                        TYPE="sdk"
+                else
+                        TYPE="device"
+                fi
+
+                ##########################################TPK Build#############################################
+                IS_TPK_REQ=`cat $SRC_DIR/SCRIPTS/config.txt | grep TPK | grep -w $arch | grep $profile | cut -f 2- -d '='`
+                if [ "$IS_TPK_REQ" == "YES" ]; then
+                        if [ -d $SRC_DIR/GIT/GIT_6.0/api/tmp ]; then
+                                rm -rf $SRC_DIR/GIT/GIT_6.0/api/tmp
+                                rm -rf $SRC_DIR/GIT/GIT_6.0/api/tcbuild
+                                rm -rf $SRC_DIR/GIT/GIT_6.0/api/tcbuildsdk
+                                rm -rf $SRC_DIR/GIT/GIT_6.0/api/tpkbuild
+                                rm -rf $SRC_DIR/GIT/GIT_6.0/api/tpk-install
+                        fi
+
+                        cd $SRC_DIR/GIT/GIT_6.0/api/scripts_tpk
+                        echo "$PASS" | sudo -S ./init.sh
+
+                        if [ "$arch" = "x86_64"  ] || [ "$arch" = "x86" ]; then
+                                truncate -s 0 $SRC_DIR/GIT/GIT_6.0/api/exclude.list;
+                                cat $SRC_DIR/GIT/GIT_6.0/api/custom_tclist/Emulator.tclist_$profile > $SRC_DIR/GIT/GIT_6.0/api/exclude.list;
+                        fi
+
+                        mkdir -p $log_dir_6/TPK
+                        bash $SRC_DIR/SCRIPTS/tct_build_tpk.sh "$SRC_DIR/SCRIPTS/tct_conf_6.0/tct/$CONF" "$TCT_USER_NAME" "$TCT_USER_ESCAPED_ENCRYPTED_PASS" "$arch" "$profile" "$SRC_DIR" "6.0" "6" > $log_dir_6/TPK/build_latest_$arch-$profile.log 2>&1
+
+                        echo "$PASS" | sudo -S  rm -rf $SRC_DIR/$RESULT/$RESULT/TCT/native-tct/package/$profile/* ;
+                        echo "$PASS" | sudo -S  cp -r /opt/tct/tizen_native_6.0/packages/$profile/* $SRC_DIR/$RESULT/$RESULT/TCT/native-tct/package/$profile/ ;
+                        echo "$PASS" | sudo -S  cp -r /opt/tct/tizen_native_6.0/packages/pkg_infos/${profile}_pkg_info.xml $SRC_DIR/$RESULT/$RESULT/TCT/native-tct/package/pkg_infos/ ;
+
+                        if [ -d $SRC_DIR/GIT/GIT_6.0/api/tmp ]; then
+                                rm -rf $SRC_DIR/GIT/GIT_6.0/api/tmp
+                                rm -rf $SRC_DIR/GIT/GIT_6.0/api/tcbuild
+                                rm -rf $SRC_DIR/GIT/GIT_6.0/api/tcbuildsdk
+                                rm -rf $SRC_DIR/GIT/GIT_6.0/api/tpkbuild
+                                rm -rf $SRC_DIR/GIT/GIT_6.0/api/tpk-install
+                        fi
+
+                        rm -rf $SRC_DIR/GIT/GIT_6.0/api/tool/NativeTCT_6.0 ;
+
+                        echo "[$(date +%H:%M:%S)][$(echo $0)][$arch/tct][build] finished" >> $cron_log_dir 2>&1
+                fi
+                ##########################################TPK Build Finish######################################
+
+                ##########################################EFL Build#############################################
+                IS_EFL_REQ=`cat $SRC_DIR/SCRIPTS/config.txt | grep EFL | grep -w $arch | grep $profile | cut -f 2- -d '='`
+                if [ "$IS_EFL_REQ" == "YES" ]; then
+                        mkdir -p $SRC_DIR/$RESULT/$RESULT/EFL/Mobile
+                        mkdir -p $SRC_DIR/$RESULT/$RESULT/EFL/Wearable
+                        #mkdir -p $SRC_DIR/$RESULT/$RESULT/EFL/TV
+                        #mkdir -p $SRC_DIR/$RESULT/$RESULT/EFL/Common_iot
+                        mkdir -p $log_dir_6/EFL
+                        if [ "$arch" == "x86" ]; then
+                                bash $SRC_DIR/SCRIPTS/efl_build.sh "$SRC_DIR/SCRIPTS/tct_conf_6.0/tct/$CONF" "i586" "$profile" "$TYPE" "$SRC_DIR/$RESULT/$RESULT/EFL" "$SRC_DIR" "6.0" "6" > $log_dir_6/EFL/build_latest_$arch-$profile.log 2>&1
+                        else
+                                bash $SRC_DIR/SCRIPTS/efl_build.sh "$SRC_DIR/SCRIPTS/tct_conf_6.0/tct/$CONF" "$arch" "$profile" "$TYPE" "$SRC_DIR/$RESULT/$RESULT/EFL" "$SRC_DIR" "6.0" "6" > $log_dir_6/EFL/build_latest_$arch-$profile.log 2>&1
+                        fi
+                        echo "[$(date +%H:%M:%S)][$(echo $0)][$arch/efl][build] finished" >> $cron_log_dir 2>&1
+                fi
+                ##########################################EFL Build Finish######################################
+
+                ##########################################TBT Copy##############################################
+                IS_TBT_REQ=`cat $SRC_DIR/SCRIPTS/config.txt | grep TBT | grep -w $arch | grep $profile | cut -f 2- -d '='`
+                if [ "$IS_TBT_REQ" == "YES" ]; then
+                        mkdir -p $SRC_DIR/$RESULT/$RESULT/TBT/Mobile
+                        mkdir -p $SRC_DIR/$RESULT/$RESULT/TBT/Wearable
+                        mkdir -p $log_dir_6/TBT
+                        if [ "$arch" = "x86_64"  ] || [ "$arch" = "aarch64" ]; then
+                                bash $SRC_DIR/SCRIPTS/tbt_copy.sh "mobile_only" "$arch" "$SRC_DIR/$RESULT/$RESULT/TBT" "$SRC_DIR" "6.0" "6"  > $log_dir_6/TBT/build_latest_$arch-$profile.log 2>&1
+                        else
+                                bash $SRC_DIR/SCRIPTS/tbt_copy.sh "all" "$arch" "$SRC_DIR/$RESULT/$RESULT/TBT" "$SRC_DIR" "6.0" "6"  > $log_dir_6/TBT/build_latest_$arch-$profile.log 2>&1
+                        fi
+
+                        echo "[$(date +%H:%M:%S)][$(echo $0)][$arch/tbt][build] finished" >> $cron_log_dir 2>&1
+                fi
+                ##########################################TBT Copy Finish#######################################
+        done
+                if [ $(find $SRC_DIR/$RESULT/$RESULT/TCT/native-tct/package/ -name *.zip | wc -l) -gt 0 ]; then
+                        bash $SRC_DIR/SCRIPTS/server_copy.sh $RESULT "$SRC_DIR" "6.0" "6"
+                fi
+                mv $SRC_DIR/$RESULT* $result_dir_6
+                echo "[$(date +%H:%M:%S)][$(echo $0)][$arch][upload] finished" >> $cron_log_dir 2>&1
+done
+
+#####################################TIZENIOT_6###i############################
+
+###################################  6.0    ##############################################################3
+#updating GIT/api/rootstrap.txt file
+        rm $SRC_DIR/GIT/GIT_6.0/api/rootstrap.txt
+        bash $SRC_DIR/SCRIPTS/update_rootstrap.sh "$SRC_DIR/GIT/GIT_6.0/api" "tizeniot" "6.0,"
+
+for arch in ${ARCH_IOT}; do
+        RESULT=""
+        if [ "$arch" == "armv7l" ]; then
+                RESULT="NativeTCT_6.0_${cur_date}_arm_tizeniot"
+        fi
+
+        rm -rf $SRC_DIR/GIT/GIT_6.0/api/tool/NativeTCT_6.0_tizeniot ;
+        cd $SRC_DIR/GIT/GIT_6.0/api/tool
+        tar xf NativeTCT_6.0_tizeniot.tar.gz ;
+
+        echo "$PASS" | sudo -S  rm -rf $SRC_DIR/$RESULT
+        cp -r $SRC_DIR/GIT/GIT_6.0/api/tool/NativeTCT_6.0_tizeniot $SRC_DIR/$RESULT ;
+
+        cd $SRC_DIR/$RESULT ;
+        echo "$PASS" | sudo -S rm -rf /opt/tools/
+        echo "$PASS" | sudo -S rm -rf /opt/tct/
+        echo "$PASS" | sudo -S rm -rf /opt/testkit/
+        echo "$PASS" | sudo -S python tct-setup.py;
+
+        gvfs-move $SRC_DIR/$RESULT/NativeTCT_6.0 $SRC_DIR/$RESULT/$RESULT;
+        for profile in ${PROFILES_IOT}; do
+
+                ##########################################TPK Build#############################################
+                IS_TPK_REQ=`cat $SRC_DIR/SCRIPTS/config.txt | grep TPK | grep -w $arch | grep $profile | cut -f 2- -d '='`
+                if [ "$IS_TPK_REQ" == "YES" ]; then
+                        if [ -d $SRC_DIR/GIT/GIT_6.0/api/tmp ]; then
+                                rm -rf $SRC_DIR/GIT/GIT_6.0/api/tmp
+                                rm -rf $SRC_DIR/GIT/GIT_6.0/api/tcbuild
+                                rm -rf $SRC_DIR/GIT/GIT_6.0/api/tcbuildsdk
+                                rm -rf $SRC_DIR/GIT/GIT_6.0/api/tpkbuild
+                                rm -rf $SRC_DIR/GIT/GIT_6.0/api/tpk-install
+                        fi
+
+                        cd $SRC_DIR/GIT/GIT_6.0/api/scripts_tpk
+                        echo "$PASS" | sudo -S ./init.sh
+
+                        mkdir -p $log_dir_6/TPK
+                        bash $SRC_DIR/SCRIPTS/tct_build_tpk.sh "$SRC_DIR/SCRIPTS/tct_conf_6.0/tct/$CONF" "$TCT_USER_NAME" "$TCT_USER_ESCAPED_ENCRYPTED_PASS" "$arch" "$profile" "$SRC_DIR" "6.0" "6" > $log_dir_6/TPK/build_latest_$arch-$profile.log 2>&1
+
+                        echo "$PASS" | sudo -S  rm -rf $SRC_DIR/$RESULT/$RESULT/TCT/native-tct/package/$profile/* ;
+                        echo "$PASS" | sudo -S  cp -r /opt/tct/tizen_native_6.0/packages/$profile/* $SRC_DIR/$RESULT/$RESULT/TCT/native-tct/package/$profile/ ;
+                        echo "$PASS" | sudo -S  cp -r /opt/tct/tizen_native_6.0/packages/pkg_infos/${profile}_pkg_info.xml $SRC_DIR/$RESULT/$RESULT/TCT/native-tct/package/pkg_infos/ ;
+
+                        if [ -d $SRC_DIR/GIT/GIT_6.0/api/tmp ]; then
+                                rm -rf $SRC_DIR/GIT/GIT_6.0/api/tmp
+                                rm -rf $SRC_DIR/GIT/GIT_6.0/api/tcbuild
+                                rm -rf $SRC_DIR/GIT/GIT_6.0/api/tcbuildsdk
+                                rm -rf $SRC_DIR/GIT/GIT_6.0/api/tpkbuild
+                                rm -rf $SRC_DIR/GIT/GIT_6.0/api/tpk-install
+                        fi
+
+                        rm -rf $SRC_DIR/GIT/GIT_6.0/api/tool/NativeTCT_6.0_tizeniot ;
+
+                        echo "[$(date +%H:%M:%S)][$(echo $0)][$arch/tct][build] finished" >> $cron_log_dir 2>&1
+                fi
+                ##########################################TPK Build Finish######################################
+        done
+                if [ $(find $SRC_DIR/$RESULT/$RESULT/TCT/native-tct/package/ -name *.zip | wc -l) -gt 0 ]; then
+                        bash $SRC_DIR/SCRIPTS/server_copy.sh $RESULT "$SRC_DIR" "6.0" "6"
+                fi
+                mv $SRC_DIR/$RESULT* $result_dir_6
+                echo "[$(date +%H:%M:%S)][$(echo $0)][$arch][upload] finished" >> $cron_log_dir 2>&1
+done
+
 #########################Create Auto JIRA#################################3333
 VER=""
-VER="${VER} 3.0"
-VER="${VER} 4.0"
+#VER="${VER} 3.0"
+#VER="${VER} 4.0"
 VER="${VER} 5.0"
 VER="${VER} 5.5"
+VER="${VER} 6.0"
 for ver in ${VER}; do
         for arch in ${ARCH}; do
                 RESULT=""
@@ -874,30 +724,34 @@ for ver in ${VER}; do
                         RESULT="NativeTCT_${ver}_${cur_date}_aarch64"
                 fi
                 for prof in ${PROFILES}; do
-                        if [ "$ver" == "4.0" ]; then
-                                branch="4.0-unified"
-                        elif [ "$ver" == "5.0" ]; then
+                        #if [ "$ver" == "4.0" ]; then
+                        #       branch="4.0-unified"
+                        if [ "$ver" == "5.0" ]; then
                                 branch="5.0-unified"
-                        elif [ "$ver" == "5.5" ]; then
+                       elif [ "$ver" == "5.5" ]; then
+                                branch="5.5-unified"
+                        elif [ "$ver" == "6.0" ]; then
                                 branch="unified"
-                        elif [ "$ver" == "3.0" ]; then
-                                if [ "$prof" == "mobile" ]; then
-                                        branch="3.0-mobile"
-                                else
-                                        branch="3.0-wearable"
-                                fi
+                        #elif [ "$ver" == "3.0" ]; then
+                        #       if [ "$prof" == "mobile" ]; then
+                        #              branch="3.0-mobile"
+                        #     else
+                        #            branch="3.0-wearable"
+                        #   fi
                         fi
                         cp $SRC_DIR/LOG/LOG_${cur_date}/LOG_${ver}/TPK/$RESULT.status $SRC_DIR/SCRIPTS/
                         bash $SRC_DIR/SCRIPTS/jira_create.sh $SRC_DIR/SCRIPTS/$RESULT".status" $arch $ver "tizen-"${branch}"-"${cur_date} $prof $SRC_DIR $SRC_DIR/LOG/LOG_${cur_date}/LOG_${ver}/TPK
                         rm $SRC_DIR/SCRIPTS/$RESULT.status
                 done
                # Creating Auto Jira for tizeniot profile ( only for version 5.0 or 5.5 for profile armv7l)
-               if { [ "$ver" == "5.0" ] || [ "$ver" == "5.5" ]; } && [ "$arch" == "armv7l" ]; then
+               if { [ "$ver" == "5.0" ] || [ "$ver" == "5.5" ] || [ "$ver" == "6.0" ]; } && [ "$arch" == "armv7l" ]; then
                         RESULT=${RESULT}"_tizeniot"
                         if [ "$ver" == "5.0" ]; then
                                 branch="5.0-unified"
-                        else
-                                branch="unified"
+                        elif [ "$ver" == "5.5" ]; then
+                                branch="5.5-unified"
+                       elif [ "$ver" == "6.0" ]; then
+                               branch="unified"
                         fi
                         cp $SRC_DIR/LOG/LOG_${cur_date}/LOG_${ver}/TPK/$RESULT.status $SRC_DIR/SCRIPTS/
                         bash $SRC_DIR/SCRIPTS/jira_create.sh $SRC_DIR/SCRIPTS/$RESULT".status" $arch $ver "tizen-"${branch}"-"${cur_date} tizeniot $SRC_DIR $SRC_DIR/LOG/LOG_${cur_date}/LOG_${ver}/TPK