def build_pre_release(): try: print("Building pre-release") build.build_pre_release() except Exception, e: print(str(e)) traceback.print_exc()
def build_pre_release(): try: cert_dst_path = os.path.join("scripts", "cert.pfx") if not os.path.exists(cert_dst_path): shutil.copyfile(cert_path(), cert_dst_path) print("Building pre-release") build.build_pre_release() except Exception, e: print(str(e)) traceback.print_exc() raise
def build_pre_release(): try: cert_dst_path = os.path.join("scripts", "cert.pfx") if not os.path.exists(cert_dst_path): shutil.copyfile(cert_path(), cert_dst_path) print("Building pre-release") build.build_pre_release() except BaseException, e: s = str(e) print(s) # a bit of a hack. not every kind of failure should stop the buildbot if not ignore_pre_release_build_error(s): traceback.print_exc() raise