]> Frank Brehm's Git Trees - profitbricks/jenkins-build-scripts.git/commitdiff
fix common_code: use correct dict name to access GIT_REPO_PATH
authorMathias Klette <mathias.klette@profitbricks.com>
Tue, 30 Apr 2013 14:17:42 +0000 (16:17 +0200)
committerMathias Klette <mathias.klette@profitbricks.com>
Tue, 30 Apr 2013 14:17:42 +0000 (16:17 +0200)
common_code.py

index cc85d8cc47e51d2db2c919519f27222fdb818b3d..0b13caf1b68a7a02c56cda453d83020a40ecf5b5 100755 (executable)
@@ -63,6 +63,6 @@ BUILD_URL = ENV['BUILD_URL']
 CWD = ENV['WORKSPACE']
 
 GIT_REPO_PATH = ENV['GIT_REPO_PATH']
-GIT_REPO_NAME = os.path.basename(result['GIT_REPO_PATH'])
+GIT_REPO_NAME = os.path.basename(ENV['GIT_REPO_PATH'])
 GIT_BRANCH_NAME = ENV['GIT_BRANCH_NAME']
 GIT_COMMITTER_EMAIL = ENV['GIT_COMMITTER_EMAIL']