Index: build/build.sh =================================================================== diff -u -r1d2ac67783150b990f0ad235d92a2c003501df82 -redecf77d9b1f05a460811ed954713d536a16ad47 --- build/build.sh (.../build.sh) (revision 1d2ac67783150b990f0ad235d92a2c003501df82) +++ build/build.sh (.../build.sh) (revision edecf77d9b1f05a460811ed954713d536a16ad47) @@ -9,10 +9,12 @@ POKY_VER=$3 fi +REMOTE_REPO_BASE_ADDRESS="ssh://git@devapps.diality.us:7999/" + # If the support scripts repository does not exist, clone it if [[ ! -d "supportscript" ]] then - git clone ssh://git@devapps.diality.us:7999/bl/supportscript.git + git clone "$REMOTE_REPO_BASE_ADDRESS"bl/supportscript.git fi source ./supportscript/supportscript.sh @@ -107,7 +109,7 @@ cd $manualCasesFolder # Clone the application just for checking the manual cases - git clone ssh://git@devapps.diality.us:7999/ui/application.git + git clone "$REMOTE_REPO_BASE_ADDRESS"ui/application.git cd application # Declare and associatvie array @@ -204,9 +206,9 @@ fi echo " ------------------------------Setting up the project" -git clone ssh://git@devapps.diality.us:7999/bl/setupscript.git -./setupscript/projectsetup.sh ${buildSpecs[$PROJECT_NAME_INDEX]} ${buildSpecs[$PROJECT_CHECKOUT_INDEX]} \ - ${buildSpecs[$COMMON_CHECKOUT_INDEX]} +git clone "$REMOTE_REPO_BASE_ADDRESS"bl/setupscript.git +./setupscript/projectsetup.sh "${buildSpecs[$PROJECT_NAME_INDEX]}" "${buildSpecs[$PROJECT_CHECKOUT_INDEX]}" \ + "${buildSpecs[$COMMON_CHECKOUT_INDEX]}" cd application cppCheckStatus=$(runCppcheck $(pwd) $REMOTE_DIR $STATUS_REPORT) if [[ $cppCheckStatus -eq 1 ]] @@ -388,7 +390,7 @@ rm -rf "reportscripts" fi -git clone ssh://git@devapps.diality.us:7999/bl/reportscripts.git +git clone "$REMOTE_REPO_BASE_ADDRESS"bl/reportscripts.git # If this is a build only build, it is informal and it does not need code review report if [[ ${buildSpecs[$BUILD_ONLY_FLAG_INDEX]} == false ]] Index: build/unittest.sh =================================================================== diff -u -r2657bb855fa9bbb05646bc92f5b01db4c00ca1f2 -redecf77d9b1f05a460811ed954713d536a16ad47 --- build/unittest.sh (.../unittest.sh) (revision 2657bb855fa9bbb05646bc92f5b01db4c00ca1f2) +++ build/unittest.sh (.../unittest.sh) (revision edecf77d9b1f05a460811ed954713d536a16ad47) @@ -3,6 +3,7 @@ # Local example $./run.unittest.sh :0 5.12.5 /media/sf_VMSHARE PYCOMMON="" # use anything other that "" to use pycommon as SquishQt API lib source # TODO pycommon is not needed right? +REMOTE_REPO_BASE_ADDRESS="ssh://git@devapps.diality.us:7999/" function readTestsList() { TESTS_LIST=() @@ -127,7 +128,7 @@ echo " ------------------------------ Clone Denali " if [ -z "$RUN_FOR_LOCAL" ]; then - git clone ssh://git@devapps.diality.us:7999/bl/setupscript.git + git clone "$REMOTE_REPO_BASE_ADDRESS"bl/setupscript.git ./setupscript/projectsetup.sh ${buildSpecs[$PROJECT_NAME_INDEX]} ${buildSpecs[$PROJECT_CHECKOUT_INDEX]} \ ${buildSpecs[$COMMON_CHECKOUT_INDEX]} else @@ -137,7 +138,7 @@ echo " ------------------------------ Clone the Test Suites" if [ -z "$RUN_FOR_LOCAL" ]; then - git clone ssh://git@devapps.diality.us:7999/ui/testsuites.git testsuites + git clone "$REMOTE_REPO_BASE_ADDRESS"ui/testsuites.git testsuites local currentDir=$(pwd) @@ -444,7 +445,7 @@ mkdir "$sonarFolder" cd "$sonarFolder" || return # Clone the application and checkout the branch that is being built - git clone ssh://git@devapps.diality.us:7999/bl/setupscript.git + git clone "$REMOTE_REPO_BASE_ADDRESS"bl/setupscript.git ./setupscript/projectsetup.sh "${buildSpecs[$PROJECT_NAME_INDEX]}" "${buildSpecs[$PROJECT_CHECKOUT_INDEX]}" \ "${buildSpecs[$COMMON_CHECKOUT_INDEX]}" cd application || return