1.一键安装allure的shell脚本:

  1. #!/bin/bash
  2. #sudo wget https://github.com/allure-framework/allure2/releases/download/2.13.9/allure-2.13.9.zip
  3. sudo wget https://cooling37.coding.net/p/ubuntu2021/d/ubuntu2020/git/raw/master/allure/allure-2.17.3.zip
  4. sudo cp allure-2.17.3.zip /opt
  5. sudo unzip allure-2.17.3.zip
  6. sudo mv allure-2.17.3 /opt/
  7. ln -s /opt/allure-2.17.3/bin/allure /usr/bin/allure
  8. echo "allure install ssuccess!!!"
  9. allure --version

2.安装过程中的手动输入


image.png

3.安装成功的标志
image.png

4. jenkins配置allure
image.png