Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generate Cucumber Report with Tags Excluded #1111

Open
fajaranshari opened this issue Sep 5, 2023 · 1 comment
Open

Generate Cucumber Report with Tags Excluded #1111

fajaranshari opened this issue Sep 5, 2023 · 1 comment

Comments

@fajaranshari
Copy link

Hi, I have a question. in jenkinsfile I want to exclude tags overview and report-tag HTML to not be generated because we have an issue with disk usage. I tried to use

def conf() { def configuration = new net.masterthought.cucumber.Configuration( new File("${Configs.final_report}"), 'Your Project Name' ) configuration.setTagsToExcludeFromChart(".*") return configuration }
and call the conf() on

cucumber fileIncludePattern: 'all_test_result.json', jsonReportDirectory: "${Configs.final_report}", buildStatus: 'FAILURE', failedScenariosNumber: 0, trendsLimit: 25 pluginConfig: [ [$class: 'CucumberTestResultArchiver'], [$class: 'CucumberReportPublisher', config: conf] ]
But seems like the tags-overview still generated. Do you have a suggestion?
Thank you

@damianszczepanik
Copy link
Owner

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants