jenkinsci / cucumber-living-documentation-plugin

https://plugins.jenkins.io/cucumber-living-documentation/
https://plugins.jenkins.io/cucumber-living-documentation/
MIT License
15 stars 11 forks source link

java.nio.file.NoSuchFileException: asciidoctor.css #31

Open jkimrey opened 4 years ago

jkimrey commented 4 years ago

After upgrading the plugin to the latest version we are getting the following error when we try to view the HTML reports:

java.nio.file.NoSuchFileException: .... /builds/102/cucumber-living-documentation/themes/asciidoctor.css

Any suggestions on what needs to be changed to utilize the latest version of the plugin?

Thanks.

rmpestano commented 4 years ago

Hi @jkimrey, we're investigating this bug, for now, I'd suggest you to rollback.

What's the OS your Jenkins instance is running?

jkimrey commented 4 years ago

@rmpestano - It's running on RHEL 7.7. Thanks

lszucsPmi commented 4 years ago

Hi, I have the same issue after a fresh installation.

Plugin version: 3.0 OS: Ubuntu 16.04.7 LTS Jenkins: 2.235.5 Cucumber version: 6.6.0

NehalDamania commented 4 years ago

We too are getting the same error with plugin version: 3.0. With Jenkins running inside a docker container

rmpestano commented 4 years ago

Hey guys, sorry for the inconvenience.

This is not so easy to fix issue. Integration tests (which spin up a jenkins instance) pass and it also work when jenkins is running on MacOS (my dev env), can someone else confirm that it's working on macos?

Looks like it's not working on Windows and Linux. I also managed to upgrade the plugin docker image and reproduce there as well: docker run --rm -it --name jenkins-living-docs -p 8080:8080 -v /var/jenkins_home rmpestano/jenkins-living-documentation:3.0

This is related to jenkins classpath and I'm investigating another approach because I've made all possible changes in the plugin classpath in order to use different jruby/asciidoctor/asciidoctorJ version but without success.

For now, please downgrade the plugin version.

rmpestano commented 3 years ago

Hi @NehalDamania, @jkasztur and @lszucsPmi,

can you try with the following snapshot? you'll need to download and install on your Jenkins installation:

https://repo.jenkins-ci.org/snapshots/org/jenkins-ci/plugins/cucumber-living-documentation/3.1-SNAPSHOT/cucumber-living-documentation-3.1-20201121.114606-3.hpi

Let me know if it fixes the issue for you.