From: Robin Wittler Date: Thu, 4 Aug 2011 12:19:40 +0000 (+0200) Subject: add more logging stuff X-Git-Url: https://git.uhu-banane.org/?a=commitdiff_plain;h=65f7f34136979f05f59ce74a6ae30f8503269664;p=profitbricks%2Fjenkins-build-scripts.git add more logging stuff --- diff --git a/testgit_build.py b/testgit_build.py index 03f4668..99384b8 100755 --- a/testgit_build.py +++ b/testgit_build.py @@ -133,12 +133,12 @@ def remove_git_target_workspace(): ) logger.debug(_str) raise Exception(_str) - return cmdobj except Exception, error: logger.exception(error) raise else: logger.info('deleted %s' %(GIT_TARGET_WORKSPACE)) + return cmdobj def exit_ok(): send_email(SMTP_BUILD_SUCCESS) @@ -191,7 +191,7 @@ if __name__ == '__main__': ) else: raise Exception('No git_committer_email found') - + gbp = git_buildpackage.GitBuildPackage( upstream_branch=GIT_UPSTREAM_BRANCH, debian_branch=GIT_DEBIAN_BRANCH, @@ -205,6 +205,7 @@ if __name__ == '__main__': 'This is the return value of git-buildpackage: %s' %(ret) ) + exit_ok() #class GitBuildPackage(object): # def __init__(self, upstream_branch=None,