]> Frank Brehm's Git Trees - profitbricks/jenkins-build-scripts.git/commitdiff
debian_build.py: Remove unused code
authorBenjamin Drung <benjamin.drung@profitbricks.com>
Wed, 8 Oct 2014 13:07:42 +0000 (15:07 +0200)
committerBenjamin Drung <benjamin.drung@profitbricks.com>
Wed, 8 Oct 2014 13:07:42 +0000 (15:07 +0200)
debian_build.py

index 16101c7dcd034147af203fb72e0f9c432551989f..ce81a4094ce7fa213065fe47913dd4a4e6672989 100755 (executable)
@@ -410,20 +410,6 @@ def main():
     if re.match(ALSO_ADD_CIDB_BRANCHES_RE, ENV['GIT_BRANCH']):
         do_cidb = True
 
-    #FIXME: enable this once Florian acks.
-    #FIXME: get rid of jenkins parameter, instead use git remote
-    #if GIT_REPO_PATH.startswith('/srv/git/dev/'):
-    #    if ENV['GIT_BRANCH_NAME'] == 'pre-staging':
-    #        version = '%s~develop%s+%s+%s' %(version, daily_date, BUILD_NUMBER,
-    #                                         curr_commit_hexsha[0:7])
-    #        changelog_distro = 'pre-staging'
-    #    else:
-    #        # use shorter date because we can
-    #        daily_date = datetime.datetime.now().strftime('%Y%m%d')
-    #        version = '%s~alpha%s+%s+%s' %(version, daily_date, BUILD_NUMBER,
-    #                                       curr_commit_hexsha[0:7])
-    #        changelog_distro = 'unstable'
-
     # show what we got so far
     logger.info('Changelog distribution: "{old_dist}" => "{new_dist}"'.format(
         old_dist=curr_dist,