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

Delete Quietly Error #43

Closed
msaperst opened this issue Dec 3, 2012 · 6 comments
Closed

Delete Quietly Error #43

msaperst opened this issue Dec 3, 2012 · 6 comments

Comments

@msaperst
Copy link

msaperst commented Dec 3, 2012

I am new to using this plugin, and I am trying to get it to work with some webdriver tests using cucumber-jvm framework. When I try to include this plugin as a post build step, I get the below error.
I am not running Jenkins, I am running Hudson, could this have something to do with it? Additionally, I am running on an https site, with the port forwarded [https://192.168.1.12/hudson/ is my base url]. I was unable to find much information about updating the Plugin Path URL. Could this have something to do with it?
Thanks

[CucumberReportPublisher] Compiling Cucumber Html Reports ...
[CucumberReportPublisher] detected this build is running on the master
[CucumberReportPublisher] copying json to reports directory: /var/lib/hudson/jobs/Cosmic Comix/builds/2012-12-03_16-03-30/cucumber-html-reports
[CucumberReportPublisher] Generating HTML reports
FATAL: org.apache.commons.io.FileUtils.deleteQuietly(Ljava/io/File;)Z
java.lang.NoSuchMethodError: org.apache.commons.io.FileUtils.deleteQuietly(Ljava/io/File;)Z
at net.masterthought.cucumber.ReportBuilder.copyResource(ReportBuilder.java:180)
at net.masterthought.cucumber.ReportBuilder.generateReports(ReportBuilder.java:46)
at net.masterthought.jenkins.CucumberReportPublisher.perform(CucumberReportPublisher.java:101)
at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19)
at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:541)
at hudson.model.AbstractBuild$AbstractRunner.performAllBuildStep(AbstractBuild.java:527)
at hudson.model.AbstractBuild$AbstractRunner.performAllBuildStep(AbstractBuild.java:515)
at hudson.model.Build$RunnerImpl.post2(Build.java:152)
at hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:499)
at hudson.model.Run.run(Run.java:1199)
at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
at hudson.model.ResourceController.execute(ResourceController.java:88)
at hudson.model.Executor.run(Executor.java:123)

@kingsleyh
Copy link
Contributor

Hi

What version of java are you running on? Thats a strange error which could be to do with your java installation - I haven't run the plugin on Hudson before so it could be that also. There is some info on the GitHub wiki about the plugin path URL - in your case it should be something like /hudson/ if I remember correctly
Sent from my iPad

On 3 Dec 2012, at 21:15, theposob notifications@github.com wrote:

I am new to using this plugin, and I am trying to get it to work with some webdriver tests using cucumber-jvm framework. When I try to include this plugin as a post build step, I get the below error.
I am not running Jenkins, I am running Hudson, could this have something to do with it? Additionally, I am running on an https site, with the port forwarded [https://192.168.1.12/hudson/ is my base url]. I was unable to find much information about updating the Plugin Path URL. Could this have something to do with it?
Thanks

[CucumberReportPublisher] Compiling Cucumber Html Reports ...
[CucumberReportPublisher] detected this build is running on the master
[CucumberReportPublisher] copying json to reports directory: /var/lib/hudson/jobs/Cosmic Comix/builds/2012-12-03_16-03-30/cucumber-html-reports
[CucumberReportPublisher] Generating HTML reports
FATAL: org.apache.commons.io.FileUtils.deleteQuietly(Ljava/io/File;)Z
java.lang.NoSuchMethodError: org.apache.commons.io.FileUtils.deleteQuietly(Ljava/io/File;)Z
at net.masterthought.cucumber.ReportBuilder.copyResource(ReportBuilder.java:180)
at net.masterthought.cucumber.ReportBuilder.generateReports(ReportBuilder.java:46)
at net.masterthought.jenkins.CucumberReportPublisher.perform(CucumberReportPublisher.java:101)
at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19)
at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:541)
at hudson.model.AbstractBuild$AbstractRunner.performAllBuildStep(AbstractBuild.java:527)
at hudson.model.AbstractBuild$AbstractRunner.performAllBuildStep(AbstractBuild.java:515)
at hudson.model.Build$RunnerImpl.post2(Build.java:152)
at hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:499)
at hudson.model.Run.run(Run.java:1199)
at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
at hudson.model.ResourceController.execute(ResourceController.java:88)
at hudson.model.Executor.run(Executor.java:123)


Reply to this email directly or view it on GitHub.

@msaperst
Copy link
Author

msaperst commented Dec 3, 2012

I'm running Java 1.6.0_17. I've also tried updating the path, but that doesn't seem to do it. I can try running against a different jdk, do you have any particular suggestions that are known to work with the plugin?

@kingsleyh
Copy link
Contributor

did you get this working?

@msaperst
Copy link
Author

No, I never did

@kingsleyh
Copy link
Contributor

I suspect it's related to running on hudson then. The plugin was designed for jenkins and as far as I know nobody else has tried to run it on hudson.

--K

On 23 Jan 2013, at 13:52, Max Saperstone notifications@github.com wrote:

No, I never did


Reply to this email directly or view it on GitHub.

@kingsleyh
Copy link
Contributor

Can't reproduce - could be related to running hudson instead of jenkins or could be related to versions of java

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