Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
Deepika-QA
@Deepika-QA
has anyone used specflow living document
dschaitu322
@dschaitu322
Hello Everyone,
can someone help me building Jenkins dsl publisher step for allure
publishers {
allure(['allure-results'])
}
fescobar
@fescobar
@dschaitu322 for pipeline or job?
dschaitu322
@dschaitu322
above code not working with Jenkins DSL and everytime I need to add Postbuild action manually
I'm using DSL jobs
pipeline script is working fine with Jenkins file
fescobar
@fescobar

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

that code is fine, works for me

what is the error?
@dschaitu322
dschaitu322
@dschaitu322
No error observed, Allure not reflecting in Post build action
fescobar
@fescobar
check the logs if it's executing that
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