baev / allure-cli-depricated

Allure Command Line Tool
Other
20 stars 7 forks source link

Unable to generate the reports with proxy #43

Open meesala9 opened 9 years ago

meesala9 commented 9 years ago

With the latest version of allure-cli(2.4), we are unable to upgrade the version of the allure with command allure upgrade.

Also switch bundles is also not working. Please suggest!!

vania-pooh commented 9 years ago

Summon @baev

baev commented 9 years ago

You should download bundle http://central.maven.org/maven2/ru/yandex/qatools/allure/allure-bundle/1.4.17/allure-bundle-1.4.17.jar by yourself and place it into ~/.allure/bundles/1.4.17/allure-bundle.jar

then you should replace config ~/.allure/config.xml with the following:

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<config locale="en">
    <reportPath>allure-report</reportPath>
    <currentVersion>1.4.17</currentVersion>
    <previousVersion>1.4.17</previousVersion>
    <installedVersions>
        <version>1.4.17</version>
    </installedVersions>
</config>
meesala9 commented 9 years ago

@baev: I tried the steps mentioned by you, but still facing problems to generate the report I am trying to execute the reports in windows machine Below are the steps I have followed to generate the allure, Kindly correct me if I am missing anywhere

  1. Downloaded the allure-cli 2.4 version from Git, extracted and placed in a folder with name 'allure' on desktop
  2. Downloaded the bundle and placed in the path '/desktop/allure/bundles/1.4.17/allure-bundle.jar'
  3. Created a config.xml file and placed in the allure folder

Folder look like the below image

Following are the steps followed for generation of the report image

Error Image while switching the bundles image

vania-pooh commented 9 years ago

@meesala9 your bundles directory name is incorrect. Should be <user.dir>/.allure/bundles (with dot).

meesala9 commented 9 years ago

@vania-pooh : Thanks for correction, I have created the .allure folder and placed the bundles folder and config.xml file.

When I try to run the allure switch 1.4.17, I am still getting the error.

Below are the screen shots of the directory and execution commands: image

image

image

Please correct if I am missing anywhere.

Thanks in advance for your valuable time

vania-pooh commented 9 years ago

@meesala9 <user.dir>/.allure/bundles means something like C:\Users\myuser.allure\bundles in Windows terms.

meesala9 commented 9 years ago

@vania-pooh: I could able to generate the reports in my machine. It's working perfectly.

Also, I did observe an issue, when I followed the same steps in the Virtual machine. Below is the screen shot: image

Can you please suggest, if you have solution!!

vania-pooh commented 9 years ago

@meesala9 hmm, no idea. Summon @baev.