]> Frank Brehm's Git Trees - profitbricks/jenkins-build-scripts.git/commitdiff
update debian_build: move variable definition above so it's defined before first...
authorMathias Klette <mathias.klette@profitbricks.com>
Tue, 30 Apr 2013 17:39:17 +0000 (19:39 +0200)
committerMathias Klette <mathias.klette@profitbricks.com>
Tue, 30 Apr 2013 17:40:09 +0000 (19:40 +0200)
debian_build.py

index 3ba67cfedbb4928ebdf551b11d8ff78c7b4ad5fb..b3fa078e76e4f2055166e6993b856e743e2aab4c 100755 (executable)
@@ -46,6 +46,14 @@ DEFAULT_PARALLEL_JOBS = cpu_count() + 1
 JOB_URL = 'http://jenkins:80/job/%(flavour)s/buildWithParameters?token=BuildIt&'
 JOB_DELAY = '0sec'
 
+GIT_REPO_PATH = ENV['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']
+
+ENV.setdefault('NO_UPLOAD','')
+NO_UPLOAD = ENV['NO_UPLOAD']
+
 #unused: (except in in-active code)
 GIT_TARGET_WORKSPACE = os.path.join(
     CWD,
@@ -75,14 +83,6 @@ DPUT_OPTIONS_DEV = {
     }
 DPUT_CF = os.path.join(CWD, '..', 'dput.cf')
 
-GIT_REPO_PATH = ENV['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']
-
-ENV.setdefault('NO_UPLOAD','')
-NO_UPLOAD = ENV['NO_UPLOAD']
-
 AUTO_CHANGELOG_JOBS = (
     'ri-docs',
     'so-docs',