我尝试过以下命令:
curl -o allure-2.13.8.tgz -Ls https://dl.bintray.com/qameta/generic/io/qameta/allure/allure/2.13.8/allure-2.13.8.tgz
sudo tar -zxvf allure-2.13.8.tgz -C /opt/
但我看到了以下问题:
gzip: stdin: not in gzip format
tar: Child returned status 1
tar: Error is not recoverable: exiting now
有什么建议么?
答案1
我使用了错误的网址。
curl -o allure-2.13.8.tgz -OLs https://repo.maven.apache.org/maven2/io/qameta/allure/allure-commandline/2.13.8/allure-commandline-2.13.8.tgz
sudo tar -zxvf allure-2.13.8.tgz -C /opt/
sudo ln -s /opt/allure-2.13.8/bin/allure /usr/bin/allure
allure --version