[Qa-jenkins-scm] [jenkins.debian.net] 01/02: openwrt: implement OPENWRT_GIT_BRANCH
Holger Levsen
holger at moszumanska.debian.org
Mon Dec 7 14:52:17 UTC 2015
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 7f8026443d2457f5a2108cdffefcd5bdba8c06b6
Author: Alexander Couzens <lynxis at fe80.eu>
Date: Mon Dec 7 14:11:05 2015 +0100
openwrt: implement OPENWRT_GIT_BRANCH
choose the branch for the git checkout
---
bin/reproducible_openwrt.sh | 2 ++
1 file changed, 2 insertions(+)
diff --git a/bin/reproducible_openwrt.sh b/bin/reproducible_openwrt.sh
index c42d152..d70bd8d 100755
--- a/bin/reproducible_openwrt.sh
+++ b/bin/reproducible_openwrt.sh
@@ -5,6 +5,7 @@
# released under the GPLv=2
OPENWRT_GIT_REPO=git://git.openwrt.org/openwrt.git
+OPENWRT_GIT_BRANCH=master
DEBUG=false
. /srv/jenkins/bin/common-functions.sh
common_init "$@"
@@ -165,6 +166,7 @@ echo "$(date -u) - Cloning OpenWrt git repository."
echo "============================================================================="
git clone --depth 1 $OPENWRT_GIT_REPO openwrt
cd openwrt
+git checkout $OPENWRT_GIT_BRANCH
OPENWRT="$(git log -1)"
OPENWRT_VERSION=$(git describe --always)
echo "This is openwrt $OPENWRT_VERSION."
--
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