Closed andrcuns closed 6 years ago
@baev is this bug going to be fixed?
is there any workaround for this issue ?
+1
+1
is still does not work
I cannot see allure-history trend on pipeline jobs. I have installed 2.26.0 plugin version.
try this line "allure report: 'allure_reports', results: [[path: 'allure_results']]"
Trends are not displayed because the job is failing all the time. As soon as it will be executed with success status the trends graph will appear with info about all previous builds.
Hello Team,
Issue still seeing in Jenkins - log says Allure report was successfully generated but empty coming, same is working with normal Jenkins job that uses post-build section to perform allure reports.
Jenkins version : 2.209 allure plugin version : 2.28.1
below is a snippet of the problem
Report successfully generated to /home/allure_pipeline/allure-report Allure report was successfully generated. Creating artifact for the build. Artifact was added to the build.
i'm using within post build section as below :
always { node('build-machine') { sh 'mkdir -p $WORKSPACE/{allure-report,reports}' allure includeProperties: false, jdk: '', results: [[path: 'reports/']] } }
even I have tried by putting it as a stage.
tage('reports') { steps { script { allure([ includeProperties: false, jdk: '', properties: [], reportBuildPolicy: 'ALWAYS', results: [[path: 'reports/']] ]) } } }
I have tried most of the possible ways, let me know if there are any problems the way I'm doing?
Thanks in advance, Sachin Das
@giedriusramas I came up to one more 'workaround'. (hope that could help somebody) To make Allure Trend and Allure report menu item on left panel to be presented, even when no green/pass builds exists: Failed builds in fact must be in status Unstable (this is due to misinterpretation of statuses by allure-report and jenkins)
To achieve this, you could add to your groovy script:
if (currentBuild.currentResult == 'FAILURE') { currentBuild.rawBuild.@result = hudson.model.Result.UNSTABLE
}``
Issue
When reports are generated in jenkins Freestyle jobs, allure plugin adds test result trend on the jobs front page. This doesn't happen if it is a Pipeline job.
Context
Jenkins version: 2.66
Job type: Pipeline
Allure plugin version: 2.23
Allure commandline version: 2.4.1
Problem description
Describe your problem in a meaningful way:
Logs & Traces
Please include any relevant log that could serve to better understand the source of your issue Freestyle job screenshot:
Pipeline job screenshot: