From c8a50ae72922e63296a50c850fdf82444282289f Mon Sep 17 00:00:00 2001 From: Mathias Klette Date: Tue, 30 Apr 2013 18:46:27 +0200 Subject: [PATCH] set some default which we use to define as parameters in jenkins --- common_code.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/common_code.py b/common_code.py index 9871484..8910113 100755 --- a/common_code.py +++ b/common_code.py @@ -42,6 +42,8 @@ def exit_error(): ENV = os.environ ENV.setdefault('ARGV',' '.join(sys.argv)) ENV.setdefault('NO_UPLOAD','') +ENV.setdefault('GIT_REPO_PATH','') # find out without need of Jenkins parameters +ENV.setdefault('GIT_BRANCH_NAME',ENV['GIT_BRANCH']) BIN_GIT = '/usr/bin/git' BIN_RM = '/bin/rm' -- 2.39.5