From db030d2563377795d9e05b64d310ccda7bc671b0 Mon Sep 17 00:00:00 2001 From: Dong Ma Date: Fri, 4 Dec 2015 09:16:40 +0800 Subject: [PATCH] Correct the entry points of cucumber-testresult The entry point cucumber_testresult is incorrect given the style adopted for all the other entry points, it should be: cucumber-testresult=jenkins_jobs.modules.publishers:cucumber_testresult Change-Id: I60fcecb667cb5aa626e9ca7b9dcaa3dba3122cfa --- jenkins_jobs/modules/publishers.py | 2 +- setup.cfg | 2 +- tests/publishers/fixtures/cucumber_testresult.yaml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) 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 26b1463ec..66b87c041 100644 --- a/setup.cfg +++ b/setup.cfg @@ -165,7 +165,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