Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Jenkins pipeline and behat compatibility ? #3

Closed
mickaelperrin opened this issue Oct 5, 2016 · 3 comments
Closed

Jenkins pipeline and behat compatibility ? #3

mickaelperrin opened this issue Oct 5, 2016 · 3 comments

Comments

@mickaelperrin
Copy link

Hi,

I am trying to implement your plugin in a Jenkins pipeline.

I added to my Jenkinsfile the following line:

// Generate living documentation
step([$class: 'CukedoctorPublisher', featuresDir: "${_paths.src}/reports/behat", numbered: true, sectAnchors: true, toc: 'RIGHT', format: 'HTML', title: 'Documentation'])

However, the plugin fail without any output, nor in the console output, nor in the Jenkins log.

I successfully use the json file with the slack send plugin.

Could you tell me if this is possible to use this plugin with the new Jenkins 2 pipeline ? is this plugin also compatible with behat tests ?

Thanks

@rmpestano
Copy link
Contributor

Hi @mickaelperrin,

Unfortunately the plugin is not compatible with jenkins2 pipeline yet, will leave this issue opened as soon we implement it.

For the Behat tests as soon as you enable the json formatter, see this issue it should work.

@mickaelperrin
Copy link
Author

Thanks for the quick answer.

I can confirm that cukedoctor is compatible with behat. I successfully generated the documentation manually using the jar.

Currently I am working on generating the documentation in my pipeline by directly calling the jar also.

@rmpestano
Copy link
Contributor

👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants