From: Mathias Klette Date: Mon, 17 Jun 2013 09:24:14 +0000 (+0200) Subject: debian_build: more logging when reset repository after build X-Git-Url: https://git.uhu-banane.de/?a=commitdiff_plain;h=bd8a64df02affe9bd60a1df06f85cbb739da5dba;p=profitbricks%2Fjenkins-build-scripts.git debian_build: more logging when reset repository after build --- diff --git a/debian_build.py b/debian_build.py index 424f911..e99f94b 100755 --- a/debian_build.py +++ b/debian_build.py @@ -462,7 +462,8 @@ if __name__ == '__main__': # .. remove last commit (the one where we added the changelog entry) # FIXME: when 'merge': reset only on original branch? # change checkout back to original branch? - gitrepo.git.reset('--soft', 'HEAD~1') + logger.info('Reset repository to HEAD~1 to revert develop changelog entry.') + logger.debug(gitrepo.git.reset('--soft', 'HEAD~1')) # .. now handle the result if ret: