]> Frank Brehm's Git Trees - profitbricks/jenkins-build-scripts.git/commitdiff
modify
authorRobin Wittler <robin.wittler@profitbricks.com>
Tue, 2 Aug 2011 12:55:03 +0000 (14:55 +0200)
committerRobin Wittler <robin.wittler@profitbricks.com>
Tue, 2 Aug 2011 12:55:03 +0000 (14:55 +0200)
testgit_build.py

index 84942aec69ade2c3109eeca1a10f241f1675b855..22f4731f85ac1b6777370887018e739f9ada8d12 100755 (executable)
@@ -37,7 +37,7 @@ GIT_REPO_PATH = os.environ.get('GIT_REPO_PATH')
 GIT_REPO_NAME = os.path.basename(GIT_REPO_PATH)
 GIT_OLD_ID = os.environ.get('GIT_OLD_ID')
 GIT_NEW_ID = os.environ.get('GIT_NEW_ID')
-GIT_BRANCH_NAME = os.environ.get('GIT_BRANCH_NAME')
+GIT_BRANCH_NAME = os.environ.get('GIT_UPSTREAM_BRANCH')
 GIT_REMOTE_BRANCH_NAME = os.path.join('origin', '%s' %(GIT_BRANCH_NAME))
 GIT_TARGET_WORKSPACE = os.path.join(
         CWD,