Closed powersfoss closed 12 years ago
As an additional test, I created a directory d:\JenkinsBuildAgent\workspace\MyApp\target with cucumber.json file in it directly on our Jenkins master server and re-ran the job. The job was successful. So that seems to be the nature of the defect. The plugin is only checkin the Jenkins master server and not the actual Jenkins build agent box for the target directory.
Well spotted :) this fix will be in the next release
Sent from my iPhone
On 25 May 2012, at 17:14, powersfossreply@reply.github.com wrote:
JENKINS JOB WORKSPACE: d:\jenkinsbuildagent\workspace\MyApp\ CUCUMBER JSON FILE LOCATION: d:\jenkinsbuildagent\workspace\MyApp\target\cucumber.json
CUCUMBER REPORT PUBLISHER CONFIG: JSON REPORTS PATH: target
When the Jenkins job is run, the Publisher plugin cannot find the target directory:
[CucumberReportPublisher] Compiling Cucumber Html Reports ... ERROR: Publisher net.masterthought.jenkins.CucumberReportPublisher aborted due to exception java.lang.IllegalStateException: basedir d:\JenkinsBuildAgent\workspace\MyApp\target does not exist. at org.apache.tools.ant.DirectoryScanner.scan(DirectoryScanner.java:879) at net.masterthought.jenkins.CucumberReportPublisher.findJsonFiles(CucumberReportPublisher.java:41) at net.masterthought.jenkins.CucumberReportPublisher.perform(CucumberReportPublisher.java:61)
Reply to this email directly or view it on GitHub: https://github.com/masterthought/jenkins-cucumber-jvm-reports-plugin-java/issues/10
I would be interested in a solution to this one as well
Fixed and will be in pending release
Thank you, sir! Really looking forward to using your plugin with all of our Cucumber CI jobs.
On May 26, 2012, at 1:57 PM, Kingsley Hendricksereply@reply.github.com wrote:
Fixed and will be in pending release
Reply to this email directly or view it on GitHub: https://github.com/masterthought/jenkins-cucumber-jvm-reports-plugin-java/issues/10#issuecomment-5949219
Sure :) - I have just released version 0.0.10 - so hopefully it will work on your slaves without a problem :)
Works, great, thanks!
Verified fixed. Lovin' it!
On Sat, May 26, 2012 at 2:59 PM, Kingsley Hendrickse < reply@reply.github.com
wrote:
Sure :) - I have just released version 0.0.10 - so hopefully it will work on your slaves without a problem :)
Reply to this email directly or view it on GitHub:
JENKINS JOB WORKSPACE: d:\jenkinsbuildagent\workspace\MyApp\ CUCUMBER JSON FILE LOCATION: d:\jenkinsbuildagent\workspace\MyApp\target\cucumber.json
CUCUMBER REPORT PUBLISHER CONFIG: JSON REPORTS PATH: target
When the Jenkins job is run, the Publisher plugin cannot find the target directory:
[CucumberReportPublisher] Compiling Cucumber Html Reports ... ERROR: Publisher net.masterthought.jenkins.CucumberReportPublisher aborted due to exception java.lang.IllegalStateException: basedir d:\JenkinsBuildAgent\workspace\MyApp\target does not exist. at org.apache.tools.ant.DirectoryScanner.scan(DirectoryScanner.java:879) at net.masterthought.jenkins.CucumberReportPublisher.findJsonFiles(CucumberReportPublisher.java:41) at net.masterthought.jenkins.CucumberReportPublisher.perform(CucumberReportPublisher.java:61)