Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
fescobar
@fescobar
if you see in the logs to allure trying to collect results, it's because you are not using the right path
dschaitu322
@dschaitu322
when some code pushed to jenkins job dsl allure is getting removed, again user has to configure manually in post build action step
Allure configuration not taking from publisher
fescobar
@fescobar
@dschaitu322 that is something wrong with your configuration
you need to check what branch is taking when generates the dsl
dschaitu322
@dschaitu322
I tried something like this which is not helping
project / publishers << 'ru.yandex.qatools.allure.jenkins.AllureReportPublisher' {
includeProperties false
reportBuildPolicy 'ALWAYS'
results {
path 'automationReports/allure-results'
}
}
fescobar
@fescobar

No, it's fine how are you using the snippet here

publishers {
allure(['allure-results'])
}

it works perfect for me, you have another config wrong
the problem is when you re run the dsl generator again
also, check if you snippet is in the same level that steps{} (not inside)
dschaitu322
@dschaitu322
in my case I cannot see allure reflecting in POST build actions
fescobar
@fescobar
if you can share the complete dsl would be better, otherwise i cant help you
dschaitu322
@dschaitu322
remaining things like publishHtml, extendedEmail in publishers are reflecting immediately when configured in dsl
publishers {
extendedEmail {
recipientList('$DEFAULT_RECIPIENTS')
defaultSubject('$DEFAULT_SUBJECT')
        contentType('text/html')

        triggers {
            always {
                subject('$PROJECT_DEFAULT_SUBJECT')
                content('$DEFAULT_CONTENT')
                sendTo{
                    recipientList()
                }
             }
          }
       }
        archiveArtifacts {
            pattern('automationReports/**/*')
            pattern('${LOGGING_DIR}/*')
            fingerprint()
            allowEmpty()
        }
        publishHtml {
            report('allure-report') {
                reportName('Test Output')
            }
            report('test') {
                reportName('Allure Tests')
                keepAll()
                allowMissing()
                alwaysLinkToLastBuild()
            }
       }
        allure(['automationReports/allure-results/'])
fescobar
@fescobar
can you include the proper closed brackets
test your script just adding the allure result section
maybe is conflicting with another plugin/config
just create a simple dsl and check if the problem persist
on that way you can provide me a specific example and I can reproduce that in my env
dschaitu322
@dschaitu322
publishers {
extendedEmail {
recipientList('$DEFAULT_RECIPIENTS')
defaultSubject('$DEFAULT_SUBJECT')
        contentType('text/html')

        triggers {
            always {
                subject('$PROJECT_DEFAULT_SUBJECT')
                content('$DEFAULT_CONTENT')
                sendTo{
                    recipientList()
                }
             }
          }
       }
        archiveArtifacts {
            pattern('automationReports/**/*')
            pattern('${LOGGING_DIR}/*')
            fingerprint()
            allowEmpty()
        }
        publishHtml {
            report('allure-report') {
                reportName('Test Output')
            }
            report('test') {
                reportName('Allure Tests')
                keepAll()
                allowMissing()
                alwaysLinkToLastBuild()
            }
       }
       allure(['automationReports/allure-results/'])
    }
Vinothkumarautomation
@Vinothkumarautomation
Hi
I am getting this error No plugin found for prefix 'allure' in the current project and in the pl
ugin groups [org.apache.maven.plugins, org.codehaus.mojo] available from the rep
wat should to do
dmgant
@dmgant
Hi everyone, I was wondering if there is an easyway to remove the "UNKNOWN" and "BROKEN" categories from Allure2, I have been looking at the code but it seems to be referenced in multiple places.
I want to avoid huge changes if possible, I was wondering if there is already an option to remove these from the report.
Aionitoaie Andrei
@yozzz06_twitter
hello
i'm trying to add a new graph widget
and i keep receiving the error
TypeError: Widget is not a constructor
Igor Rubis
@igor-rubis
Does anyone have a working example of gradle+junit5+allure project?
I'm trying to set up a project from scratch with allure mabuals, but keep getting empty allure-results folder and a folder with usual junit test results. Like the allure test runner does not even start.
Sergey Tarabara
@Delphin1
Hi guys! Suggest me please allure and gatling integration example. IMHO this project doesn't work correctly https://github.com/biski/gatling2allure . Thx!
Aionitoaie Andrei
@yozzz06_twitter
is there anyone who can help with a new chart integration for the report ?
TypeError: Widget is not a constructor
anujtiwari24
@anujtiwari24
Hi can anyone help me with the integration of Allure with Serenity?
1 reply
Pavithra
@PavithraRavichandran
Hi
I want to share my allure report through email and it should be viewable for everyone. Is it possible to do?
Can you please help me in this?
3 replies
Ahamed Nazeem
@gnazgit
Hi @fescobar / All,
We have 2 queries,
  • We are trying to see if we can use s3 as the backend for allure docker service in order to store and retrieve results.
  • Another intention is to see if we can store the results history and retrieve any of the stored result at any time. For example, say we store 10 results based on a unique ID (1 to 10 in this case), we should be able to fetch any results by giving the ID in the end point to render the result.
    Please let me know if that's possible and reference for the same.
    Thank you!
    CC: @deepakguna
2 replies
Jakoc Rivas Sime
@JakocRivas
hello
is it possible to merge 2 allure reports that are on the same directory?
Elumalai Kumar
@elumalai_kumar7_twitter
All, Just little help needed here for allure reports. I am trying to use the package allure-playwright: "*" and generate the report. Reports are not getting loaded, and shows your internet access is blocked (firewall or antivirus software may have blocked the connection) any help highly appreciated here.
This is on local. I used to generate the report using allure serve
Adam Cunnington
@adamcunnington-gdt_gitlab
Hi. I am using pytest allure integration https://github.com/allure-framework/allure-python/tree/master/allure-pytest. Something really fundamental is completely confusing me - we pass --alluredir at the pytest command but as far as I can tell, this does not actually impact location of the reports, only location of the metadata. Some allure internals then know how to find the report (which is always in /tmp/) from the metadata. Am I missing something? How am I supposed to control the location of the reports?!
Perhaps with pytest's --basetemp - but still, how do i explicitly specify the output location of THIS specific report
Adam Cunnington
@adamcunnington-gdt_gitlab
Or maybe I should use allure generate directly?
Adam Cunnington
@adamcunnington-gdt_gitlab
Ok and --report-dir completely does not work. I keep getting "--report-dir=foo does not exists"
even though I am CLEARLY creating it just before ha
oh the --long-arg= syntax is not supported.
fescobar
@fescobar
@adamcunnington-gdt_gitlab check this example (skip the docker section)
https://github.com/fescobar/allure-docker-service-examples/tree/master/allure-docker-python-pytest-example
dmgant
@dmgant
Does anyone know if Allure3 will ever be public or is that meant to be propietary? Of course this is a great tool, my concern is that Allure2 uses "legacy" stuff for the front end (Backbone.js) and adding plugins, widgets based on that might be the equivalent as slowly digging a hole for myself... I have already created a few widgets for the overview tab, the test results block and also new tabs.
I was wondering on "simply" building something on Vue that reads the JSON stuff that Java generates
I read somewhere that Allure3 will be based on react, but these were news from a few years ago