Skip to content

Commit

Permalink
HIVE-10583 : Switch precommit from ASF to Github repo to avoid clone …
Browse files Browse the repository at this point in the history
…failures (Szehon, reviewed by Xuefu)"
  • Loading branch information
szehon committed May 3, 2015
1 parent 07fcb09 commit 2baa1e9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion dev-support/jenkins-execute-build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions dev-support/jenkins-execute-hms-test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 2baa1e9

Please sign in to comment.