From: Holger Levsen Date: Wed, 31 Aug 2011 16:20:39 +0000 (+0200) Subject: checkout GIT_UPSTREAM_BRANCH before building X-Git-Url: https://git.uhu-banane.de/?a=commitdiff_plain;h=ae08668bb0d7da141071261333123cdefd5d2850;p=profitbricks%2Fjenkins-build-scripts.git checkout GIT_UPSTREAM_BRANCH before building --- diff --git a/build.py b/build.py index c3a52f3..266989a 100755 --- a/build.py +++ b/build.py @@ -261,7 +261,7 @@ if __name__ == '__main__': repo = git.repo.Repo() # hacked by holger - cmd = ['/usr/bin/git', 'checkout', 'develop'] + cmd = ['/usr/bin/git', 'checkout', GIT_UPSTREAM_BRANCH] subprocess.check_call(cmd) if repo.active_branch != 'master' and GIT_DEBIAN_BRANCH != 'master':