]> Frank Brehm's Git Trees - profitbricks/jenkins-build-scripts.git/commitdiff
check if GIT_DEBIAN_BRANCH is 'NONE'
authorRobin Wittler <robin.wittler@profitbricks.com>
Wed, 3 Aug 2011 12:51:49 +0000 (14:51 +0200)
committerRobin Wittler <robin.wittler@profitbricks.com>
Wed, 3 Aug 2011 12:51:49 +0000 (14:51 +0200)
testgit_build.py

index 38f9baa702b99cdc09bf957423a6427c5b2046c3..9122589fab6a5217a3f1f2297520bfd46156a649 100755 (executable)
@@ -46,7 +46,7 @@ GIT_TARGET_WORKSPACE = os.path.join(
         '%s-build%s' %(BUILD_ID, BUILD_NUMBER)
 )
 
-if not GIT_DEBIAN_BRANCH:
+if GIT_DEBIAN_BRANCH == 'NONE':
     GIT_DEBIAN_BRANCH = 'debian'
 
 GIT_TARGET_DIR = os.path.join(