Jenkins and plugins versions report
Environment
What Operating System are you using (both controller, and any agents involved in the problem)?
OS Version - MacOS monterey 12.6.8
Jenkins Version - 2.346.3
Cucumber Reports Plugin Version - 5.7.3
Reproduction steps
- Add below property in yaml file for Cucumber Report under publish -
publishers:
- cucumber-reports:
json-reports-path: ""
file-include-pattern: '**/cucumber-report.json'
failed-steps-number: 1
skipped-steps-number: -1
pending-steps-number: -1
undefined-steps-number: -1
failed-scenarios-number: -1
failed-features-number: -1
failed-scenarios-percentage: 100.0
skipped-steps-percentage: 100.0
failed-features-percentage: 100.0
build-status: FAILURE
sorting-method: ALPHABETICAL
- Run the Yaml file to reflect the changes in Jenkins job configuration
- Verify the cucumber Report configuration in job config
Expected Results
Cucumber report advance option in job config should show all the parameters defined in yaml file.
Actual Results
Below parameters are not reflecting in Jenkins job config for cucumber report -
failed-scenarios-percentage: 100.0
skipped-steps-percentage: 100.0
failed-features-percentage: 100.0
The value is for above properties is showing as default(Zero) instead of 100.0
Anything else?
Jenkins Documentation also don't have the mentioned percentage parameters for Cucumber Report -
https://jenkins-job-builder.readthedocs.io/en/latest/publishers.html#publishers.cucumber-reports