]> Frank Brehm's Git Trees - profitbricks/jenkins-build-scripts.git/commitdiff
set default GIT_DEBIAN_BRANCH to 'debian'
authorRobin Wittler <robin.wittler@profitbricks.com>
Wed, 3 Aug 2011 12:50:24 +0000 (14:50 +0200)
committerRobin Wittler <robin.wittler@profitbricks.com>
Wed, 3 Aug 2011 12:50:24 +0000 (14:50 +0200)
testgit_build.py

index 8f5dfe61204b06a83225de2f8e2ae34810ce4783..38f9baa702b99cdc09bf957423a6427c5b2046c3 100755 (executable)
@@ -46,6 +46,9 @@ GIT_TARGET_WORKSPACE = os.path.join(
         '%s-build%s' %(BUILD_ID, BUILD_NUMBER)
 )
 
+if not GIT_DEBIAN_BRANCH:
+    GIT_DEBIAN_BRANCH = 'debian'
+
 GIT_TARGET_DIR = os.path.join(
         GIT_TARGET_WORKSPACE,
         os.path.basename(GIT_REPO_PATH)