0

Hi I am very new to the python BDD and looking to generate a allure report in Jenkins . However when I have integrated the allure in jenkins the report is coming blank.enter image description here

This is my build script:enter image description here

and this is post build configuration: enter image description here

I have referred this link Allure Jenkins behave BDD report generating blank report and other links as well;however no success.

Can anyone please help me

AGaur
  • 185
  • 1
  • 1
  • 15

1 Answers1

0

In Jenkins - Dashboard->Manage Jenkins->Install "Allure Jenkins" and "ShiningPanda Plugin"

Then Goto Manage Jenkins->Global Tool Configuration

Click on Allure Commandline Installations->enter Allure in Name Click on Allure Commandline Installations->enter Allure in Name

In Configuration->in Build Steps->click on Custom Python Builder In Configuration->in Build Steps->click on Custom Python Builder

In Home section->enter you python installation path->open cmd and enter->where python->enter In Home section->enter you python installation path->open cmd and enter->where python->enter

then again add second Custom Python Builder and enter command-> behave -f allure_behave.formatter:AllureFormatter -o allure-results features/bankmanagerlogin.feature -D browser=chrome -D env=UAT then again add second Custom Python Builder and enter command->
behave -f allure_behave.formatter:AllureFormatter -o allure-results features/bankmanagerlogin.feature -D browser=chrome -D env=UAT

Add allure report Add allure report

BDL
  • 21,052
  • 22
  • 49
  • 55