summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDong Ma <winterma.dong@gmail.com>2015-12-04 09:16:40 +0800
committerDong Ma <winterma.dong@gmail.com>2015-12-04 09:16:40 +0800
commitdb030d2563377795d9e05b64d310ccda7bc671b0 (patch)
tree8278e740734237e696c5244e2b51af137330a79b
parentb96d18a9ba3aa927562d4411faad8a33feebdd24 (diff)
downloadpython-jenkins-job-builder-db030d2563377795d9e05b64d310ccda7bc671b0.tar.gz
python-jenkins-job-builder-db030d2563377795d9e05b64d310ccda7bc671b0.tar.xz
python-jenkins-job-builder-db030d2563377795d9e05b64d310ccda7bc671b0.zip
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
-rw-r--r--jenkins_jobs/modules/publishers.py2
-rw-r--r--setup.cfg2
-rw-r--r--tests/publishers/fixtures/cucumber_testresult.yaml2
3 files changed, 3 insertions, 3 deletions
diff --git a/jenkins_jobs/modules/publishers.py b/jenkins_jobs/modules/publishers.py
index f16e7e7c..125fd4fb 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
<Cucumber+Test+Result+Plugin>`.
diff --git a/setup.cfg b/setup.cfg
index 26b1463e..66b87c04 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 fe156e18..d37daf31 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