HIVE-10583 : Switch precommit from ASF to Github repo to avoid clone failures 
(Szehon, reviewed by Xuefu)"


Project: http://git-wip-us.apache.org/repos/asf/hive/repo
Commit: http://git-wip-us.apache.org/repos/asf/hive/commit/2baa1e99
Tree: http://git-wip-us.apache.org/repos/asf/hive/tree/2baa1e99
Diff: http://git-wip-us.apache.org/repos/asf/hive/diff/2baa1e99

Branch: refs/heads/llap
Commit: 2baa1e99c474901f7a123c70d6abaadd6711c599
Parents: 07fcb09
Author: Szehon Ho <[email protected]>
Authored: Sun May 3 00:26:51 2015 -0700
Committer: Szehon Ho <[email protected]>
Committed: Sun May 3 00:27:40 2015 -0700

----------------------------------------------------------------------
 dev-support/jenkins-execute-build.sh    | 2 +-
 dev-support/jenkins-execute-hms-test.sh | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hive/blob/2baa1e99/dev-support/jenkins-execute-build.sh
----------------------------------------------------------------------
diff --git a/dev-support/jenkins-execute-build.sh 
b/dev-support/jenkins-execute-build.sh
index 492aa5f..3b41b0b 100644
--- a/dev-support/jenkins-execute-build.sh
+++ b/dev-support/jenkins-execute-build.sh
@@ -51,7 +51,7 @@ fi
 test -d hive/build/ || mkdir -p hive/build/
 cd hive/build/
 rm -rf hive
-git clone --depth 1 https://git-wip-us.apache.org/repos/asf/hive.git
+git clone --depth 1 https://github.com/apache/hive.git
 cd hive/testutils/ptest2
 
 mvn clean package -DskipTests -Drat.numUnapprovedLicenses=1000 
-Dmaven.repo.local=$WORKSPACE/.m2

http://git-wip-us.apache.org/repos/asf/hive/blob/2baa1e99/dev-support/jenkins-execute-hms-test.sh
----------------------------------------------------------------------
diff --git a/dev-support/jenkins-execute-hms-test.sh 
b/dev-support/jenkins-execute-hms-test.sh
index 584f517..52a9453 100644
--- a/dev-support/jenkins-execute-hms-test.sh
+++ b/dev-support/jenkins-execute-hms-test.sh
@@ -95,7 +95,7 @@ build_ptest2() {
 
        test -d $path || mkdir -p $path
        rm -rf $path
-       git clone --depth 1 -b $BRANCH 
https://git-wip-us.apache.org/repos/asf/hive.git $path/ || return 1
+       git clone --depth 1 -b $BRANCH https://github.com/apache/hive.git 
$path/ || return 1
        cd $path/testutils/ptest2
        mvn clean package -DskipTests -Drat.numUnapprovedLicenses=1000 
-Dmaven.repo.local=$WORKSPACE/.m2 || return 1
 
@@ -170,7 +170,7 @@ create_publish_file() {
 if patch_contains_hms_upgrade "$PATCH_URL"; then
        ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -i 
$SSH_KEY $SSH_HOST "
                rm -rf hive/ &&
-               git clone --depth 1 -b $BRANCH 
https://git-wip-us.apache.org/repos/asf/hive.git &&
+               git clone --depth 1 -b $BRANCH 
https://github.com/apache/hive.git &&
                cd hive/ &&
                curl ${PATCH_URL} | bash -x 
testutils/ptest2/src/main/resources/smart-apply-patch.sh - &&
                sudo bash -x testutils/metastore/execute-test-on-lxc.sh --patch 
\"${PATCH_URL}\" --branch $BRANCH

Reply via email to