jenkins 生成allure时报错 ERROR: Step ‘Allure Report’ aborted due to exception时,百度了很久没有找到原因,仔细查看构建时控制台输出的日之时,看到了报错的地方,jerkins自动安装Allure Commandline时安装失败了


找到问题就很好解决了,就进入/Users/xxxx/.jenkins/tools/ru.yandex.qatools.allure.jenkins.tools.AllureCommandlineInstallation/目录,手动创建allures目录

allures目录创建成功,手动现在allure-commandline-2.13.5.zip 文件并解压,将解压文件移动到/Users/xxxx/.jenkins/tools/ru.yandex.qatools.allure.jenkins.tools.AllureCommandlineInstallation/allures目录内

使用Jenkins重新构建,报告构建成功了

网友评论