jenkins 执行python脚本 断言失败就可以构建失败

可以配合try: 那个语句去搭配

原文地址:https://www.cnblogs.com/kaibindirver/p/10068529.html