[Qa-jenkins-scm] [jenkins.debian.net] 01/02: reproducible_openwrt|lede: remove 2nd git clone

Holger Levsen holger at layer-acht.org
Wed Oct 12 21:33:18 UTC 2016


This is an automated email from the git hooks/post-receive script.

holger pushed a commit to branch master
in repository jenkins.debian.net.

commit 95e53b50f5130b7b9dba679ae0be2864df634e40
Author: Alexander Couzens <lynxis at fe80.eu>
Date:   Wed Oct 12 23:25:05 2016 +0200

    reproducible_openwrt|lede: remove 2nd git clone
    
    Signed-off-by: Holger Levsen <holger at layer-acht.org>
---
 bin/reproducible_openwrt_common.sh | 9 +--------
 1 file changed, 1 insertion(+), 8 deletions(-)

diff --git a/bin/reproducible_openwrt_common.sh b/bin/reproducible_openwrt_common.sh
index e391aa2..171c5d7 100644
--- a/bin/reproducible_openwrt_common.sh
+++ b/bin/reproducible_openwrt_common.sh
@@ -272,14 +272,7 @@ openwrt_build() {
 	trap node_cleanup_tmpdirs INT TERM EXIT
 
 	# openwrt/lede is checkouted under /download
-	cd $TMPBUILDDIR
-
-	# checkout the repo
-	echo "============================================================================="
-	echo "$(date -u) - Cloning $TYPE git repository."
-	echo "============================================================================="
-	git clone -b $OPENWRT_GIT_BRANCH $OPENWRT_GIT_REPO $TYPE
-	cd $TYPE
+	cd $TMPBUILDDIR/$TYPE
 
 	# set tz, date, core, ..
 	openwrt_apply_variations $RUN

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/qa/jenkins.debian.net.git



More information about the Qa-jenkins-scm mailing list