diff --git a/jenkins_jobs/modules/publishers.py b/jenkins_jobs/modules/publishers.py index f16e7e7c8..125fd4fb1 100644 --- a/jenkins_jobs/modules/publishers.py +++ b/jenkins_jobs/modules/publishers.py @@ -978,7 +978,7 @@ def junit(parser, xml_parent, data): def cucumber_testresult(parser, xml_parent, data): - """yaml: cucumber + """yaml: cucumber-testresult Publish cucumber test results. Requires the Jenkins :jenkins-wiki:`cucumber testresult `. diff --git a/setup.cfg b/setup.cfg index 65b1cee2c..afdae64c0 100644 --- a/setup.cfg +++ b/setup.cfg @@ -164,7 +164,7 @@ jenkins_jobs.publishers = copy-to-master=jenkins_jobs.modules.publishers:copy_to_master coverage=jenkins_jobs.modules.publishers:coverage cppcheck=jenkins_jobs.modules.publishers:cppcheck - cucumber_testresult=jenkins_jobs.modules.publishers:cucumber_testresult + cucumber-testresult=jenkins_jobs.modules.publishers:cucumber_testresult description-setter=jenkins_jobs.modules.publishers:description_setter disable-failed-job=jenkins_jobs.modules.publishers:disable_failed_job display-upstream-changes=jenkins_jobs.modules.publishers:display_upstream_changes diff --git a/tests/publishers/fixtures/cucumber_testresult.yaml b/tests/publishers/fixtures/cucumber_testresult.yaml index fe156e182..d37daf31c 100644 --- a/tests/publishers/fixtures/cucumber_testresult.yaml +++ b/tests/publishers/fixtures/cucumber_testresult.yaml @@ -1,3 +1,3 @@ publishers: -- cucumber_testresult: +- cucumber-testresult: results: nosetests.xml