Comments (7)
@eroshenkoam All is fine with latest plugin and cli. Thank you!
from allure-plugin.
@F1ashhimself, can you build plugin from #84 and check it?
from allure-plugin.
Still the same...
from allure-plugin.
Context
- Allure Jenkins Plugin 2.15
- Allure Commandline 1.52
- Jenkins 2.54
It seems that ALLURE_HOME
is not set correctly on plugin level.
I've added some lines in allure.bat file for debugging and replace the logic to always reset ALLURE_HOME
and it worked!
@REM find and validate allure home directory
echo "Before: %ALLURE_HOME%"
set "ALLURE_HOME=%~dp0.."
echo "After: %ALLURE_HOME%"
if not exist "%ALLURE_HOME%\bin\allure.bat" (
echo Invalid ALLURE_HOME: %ALLURE_HOME% is not a valid allure commandline directory >&2
goto error
)
Jenkins log:
[TEST_JOB] $ C:\jenkins\qatools\tools\ru.yandex.qatools.allure.jenkins.tools.AllureCommandlineInstallation\default\bin\allure.bat generate "C:\jenkins\qatools\workspace\TEST_JOB\allure-results" -o "C:\jenkins\qatools\workspace\TEST_JOB\allure-report"
"Before: /C:\jenkins\qatools\tools\ru.yandex.qatools.allure.jenkins.tools.AllureCommandlineInstallation\default"
"After: C:\jenkins\qatools\tools\ru.yandex.qatools.allure.jenkins.tools.AllureCommandlineInstallation\default\bin\.."
16:44:26 Report successfully generated to the directory <C:\jenkins\qatools\workspace\TEST_JOB\allure-report>. Use `allure report open` command to show the report.
Notice /
is added in front of the path before transformation. Could it be the issue?
from allure-plugin.
I've got the same trouble "/" in front of ALLURE_HOME. Any attepmpts to reassign the value of ALLURE_HOME on Jenkins level havn't been successful.
from allure-plugin.
Still reproducible on matrix job
Allure Jenkins Plugin 2.20
CLI 1.5.4
Invalid ALLURE_HOME: C:\jenkins\workspace\regression\MARK\tests1\OS\win7\.. is not a valid allure commandline directory ERROR: Build step failed with exception ru.yandex.qatools.allure.jenkins.exception.AllurePluginException: Can not generate Allure Report, exit code: 1 at ru.yandex.qatools.allure.jenkins.AllureReportPublisher.generateReport(AllureReportPublisher.java:265) at ru.yandex.qatools.allure.jenkins.AllureReportPublisher.perform(AllureReportPublisher.java:186) at hudson.tasks.BuildStepCompatibilityLayer.perform(BuildStepCompatibilityLayer.java:81) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20) at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:735) at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:676) at hudson.model.Build$BuildExecution.post2(Build.java:186) at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:621) at hudson.model.Run.execute(Run.java:1760) at hudson.matrix.MatrixRun.run(MatrixRun.java:146) at hudson.model.ResourceController.execute(ResourceController.java:97) at hudson.model.Executor.run(Executor.java:405)
from allure-plugin.
@F1ashhimself we tested this issue all day long but didn't reproduce it.
Can you install the latest version of plugin and try it one more time?
from allure-plugin.
Related Issues (20)
- Release planned ?
- Build Graph - TREND
- Allure report is not showing text execution body
- Occasionally got PermissionError when build starts
- Allure Report Disappearing Jenkins Build
- Uninstallation of Allure plug is not done
- Allure report not displayed in BDD format (with given/when/then steps) when generated on Jenkins HOT 1
- 2.31.x breaks "Restart from Stage" with FileAlreadyExistsException HOT 4
- Ability to set title for allure report when publishing results
- Cannot remove Allure plugin
- Running allure plugin inside a container throws error: AllureCommandlineInstallation/Allure_2.21.0/bin/allure: no such file or directory: unknown
- not able to view graphical reports for allure
- Allure is not visible in Post-build action dropdown on Jenkins job HOT 3
- Not able to disable auto copy of history data in allure-results in a job
- Expose a column to show passed/failed statistics on jenkins view.
- Getting "hudson.remoting.Channel$CallSiteStackTrace: Remote call to JNLP4-connect connection" exception in jenkins
- I am able to run Cypress tests using a freestyle job on local jenkins setup, but allure-results doesn't generate
- Multiple duplicate Allure reports from parallel Jenkins r
- allure plugin report not archived on artifactory when using artifactory artifact manager plugin.
- Can't find a way to pass JVM parameters to `allure` from Jenkins pipeline HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from allure-plugin.