]> Frank Brehm's Git Trees - profitbricks/jenkins-build-scripts.git/commitdiff
debian_build: shorten name for log messages
authorMathias Klette <mathias.klette@profitbricks.com>
Wed, 5 Jun 2013 20:48:24 +0000 (22:48 +0200)
committerMathias Klette <mathias.klette@profitbricks.com>
Wed, 5 Jun 2013 20:48:24 +0000 (22:48 +0200)
debian_build.py

index 4d53e118ae9e2fa2a4f0063c0df38b74b2d5723c..35d1280f45c03df3ecba169910e8b38313480eff 100755 (executable)
@@ -29,7 +29,7 @@ from lib import git_helper
 
 
 # from common_code
-logger = logger_init(__file__)
+logger = logger_init(re.match('^(.*/jenkins_build_script/)(.*)',__file__).groups()[1])
 
 # jenkins environment - parameters
 ENV.setdefault('NO_UPLOAD', '')