Do job DSL support the cucumber living documentation?

38 views
Skip to first unread message

Sai Kishore

unread,
Nov 29, 2016, 8:47:52 AM11/29/16
to job-dsl-plugin
I can see the config xml for the jenkins job with cucumber living documentation configured,can any one help me to write job DSL groovy script

config.xml:
<com.github.cukedoctor.jenkins.CukedoctorPublisher plugin="cucumber-livin...@1.0.6">
<featuresDir>json-reports</featuresDir>
<numbered>true</numbered>
<sectAnchors>true</sectAnchors>
<toc>LEFT</toc>
<format>pdf</format>
<title>Living Documentation</title>
<hideFeaturesSection>false</hideFeaturesSection>
<hideSummary>false</hideSummary>
<hideScenarioKeyword>false</hideScenarioKeyword>
<hideStepTime>false</hideStepTime>
<hideTags>false</hideTags>
<cukedoctorProjectAction>
<documentationPage>documentation.html</documentationPage>
<project class="project" reference="../../../.."/>
</cukedoctorProjectAction>
</com.github.cukedoctor.jenkins.CukedoctorPublisher>

Victor Martinez

unread,
Nov 29, 2016, 10:04:54 AM11/29/16
to job-dsl-plugin
You can find further details in the wiki page:

On Tuesday, 29 November 2016 13:47:52 UTC, Sai Kishore wrote:
I can see the config xml for the jenkins job with cucumber living documentation configured,can any one help me to write job DSL groovy script

config.xml:
<com.github.cukedoctor.jenkins.CukedoctorPublisher plugin="cucumber-living-docume...@1.0.6">

Sai Kishore

unread,
Nov 29, 2016, 10:23:05 AM11/29/16
to job-dsl-plugin
Hey Thank you for your reply, I don't see their is a support for cucumber living documentation plugin support..

Thanks
Sai kishore

Victor Martinez

unread,
Nov 29, 2016, 5:12:20 PM11/29/16
to job-dsl-plugin

There is support as suggested in the previous wiki page, which refers to:

So, if you are based on JobDSL 1.46+ then you can use the  Automatically Generated DSL feature, for instance:



Cheers
Reply all
Reply to author
Forward
0 new messages