Allure Report in Azure DevOps Pipelines for Playwright .net tests has an error: JAVA_HOME is not set and no 'java' #2568
-
I try to run a that yml in Azure DevOps Pipelines:
All go smooth to the point publish allure report. I got an error:
What am I doing wrong? It seems pretty easy on this web: https://allurereport.org/docs/integrations-azure/ |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
The issue is that you're running it on |
Beta Was this translation helpful? Give feedback.
-
Thank you @baev for answer.
|
Beta Was this translation helpful? Give feedback.
The issue is that you're running it on
playwright/dotnet
container, which doesn't have Java installed. Default Azure agents have Java pre-installed, but since you're running tasks in the playwright container, you must add steps to install JRE.