)
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)
)
else:
raise Exception('No git_committer_email found')
-
+
gbp = git_buildpackage.GitBuildPackage(
upstream_branch=GIT_UPSTREAM_BRANCH,
debian_branch=GIT_DEBIAN_BRANCH,
'This is the return value of git-buildpackage: %s'
%(ret)
)
+ exit_ok()
#class GitBuildPackage(object):
# def __init__(self, upstream_branch=None,