0
votes

getting the following error. screenshot is also attached. basically .bat is not getting generated.

ERROR: Step ‘Allure Report’ aborted due to exception: 
java.io.IOException: Failed to rename C:\Users\dell\.jenkins\tools\ru.yandex.qatools.allure.jenkins.tools.AllureCommandlineInstallation\allure2\allure-2.4.1 to C:\Users\dell\.jenkins\tools\ru.yandex.qatools.allure.jenkins.tools.AllureCommandlineInstallation\allure2\allure-2.4.1.__rename
3
Welcome to Stack Overflow! Please read How to Ask, especially the part about minimal reproducible example (MCVE), and How much research effort is expected? This will help you debug your own programs and solve problems for yourself. If you do this and are still stuck you can come back and post your MCVE, what you tried, and the execution result including any error messages so we can better help you. - JeffC
Permissions to access the file in the error? - Naman

3 Answers

0
votes

Now its working.

There is problem in allure command installation.

Maven central installer is giving error

Tried by giving link in jenkins global tool configuration and its working Link : https://bintray.com/qameta/generic/download_file?file_path=io%2Fqameta%2Fallure%2Fallure%2F2.4.1%2Fallure-2.4.1.zip

0
votes

I faced the same issue when configured with the latest version of Maven under Jenkins->Global Tool Configurations->Allure Commandline. Once i downgraded the Maven version I was able to generate allure reports successfully.

-1
votes

I had the same problem. In my case it was enough to delete allure-jenkins plugin from the list of plugins in Jenkins.