From: Mathias Klette Date: Tue, 30 Apr 2013 14:17:42 +0000 (+0200) Subject: fix common_code: use correct dict name to access GIT_REPO_PATH X-Git-Url: https://git.uhu-banane.net/?a=commitdiff_plain;h=9de976ac411aae357487169c183244ab1b4bde31;p=profitbricks%2Fjenkins-build-scripts.git fix common_code: use correct dict name to access GIT_REPO_PATH --- diff --git a/common_code.py b/common_code.py index cc85d8c..0b13caf 100755 --- a/common_code.py +++ b/common_code.py @@ -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']