From: Mathias Klette Date: Thu, 20 Jun 2013 15:56:46 +0000 (+0200) Subject: debian_build: show environment, that gbp object creates, add FIXME X-Git-Url: https://git.uhu-banane.de/?a=commitdiff_plain;h=b5962ba03d7a0ebaeeb8f6cf2b43bb5c7f9ab787;p=profitbricks%2Fjenkins-build-scripts.git debian_build: show environment, that gbp object creates, add FIXME --- diff --git a/debian_build.py b/debian_build.py index 9fde8ec..ae16261 100755 --- a/debian_build.py +++ b/debian_build.py @@ -192,6 +192,7 @@ if __name__ == '__main__': # FIXME: tagging only works for squeeze this way, change it to make it multipledist compatible remote_tag = [tag for tag in gitrepo.tags if tag.name == new_tag] if len(remote_tag) > 0: + # FIXME: .id attribute but avl. in wheezy based git lib if remote_tag[0].commit.id == curr_commit_id: logger.debug('Tag was already created for this commit.') do_tagging = False @@ -446,9 +447,6 @@ if __name__ == '__main__': # # ACT IV: preparations are done, let's build # - logger.info('Current environment:\n\n{env}\n'.format(env=ENV)) - logger.info('Start building ...\n') - gbp = git_buildpackage.GitBuildPackage( upstream_branch=local_branch, debian_branch=local_branch, @@ -457,6 +455,8 @@ if __name__ == '__main__': pb_suite=pb_suite, git_commit_id=curr_commit_id[0:7], ) + logger.info('Current environment:\n\n{env}\n'.format(env=gbp.env)) + logger.info('Start building ...\n') ret = gbp.build() # .. remove last commit (the one where we added the changelog entry)