Hi Ulli,

Thanks for your answer. Yes the job are executed on a slave. this file is only used by this plugin and is still present inside the workspace at the end of the build.

I have tested with a simple example. A freeStyle Job, and the Warning plugin will scan the console log with the javac parser.

And I have still this error

Started by user manu
[EnvInject] - Loading node environment variables.
Building remotely on slave1 (slave2 default selenium xvfb java github) in workspace /DATA/jenkins/workspace/testworkflowgrunt-ci-1
[WARNINGS] Parsing warnings in console log with parser Java Compiler (javac)
ERROR: Publisher hudson.plugins.warnings.WarningsPublisher aborted due to exception
java.lang.IllegalStateException: java.io.IOException: Underlying input stream returned zero bytes
	at org.apache.commons.io.LineIterator.hasNext(LineIterator.java:107)
	at hudson.plugins.warnings.parser.RegexpLineParser.parse(RegexpLineParser.java:84)
	at hudson.plugins.warnings.parser.ParserRegistry.parse(ParserRegistry.java:280)
	at hudson.plugins.warnings.parser.ParserRegistry.parse(ParserRegistry.java:259)
	at hudson.plugins.warnings.WarningsPublisher.parseConsoleLog(WarningsPublisher.java:382)
	at hudson.plugins.warnings.WarningsPublisher.perform(WarningsPublisher.java:324)
	at hudson.plugins.analysis.core.HealthAwarePublisher.perform(HealthAwarePublisher.java:152)
	at hudson.plugins.analysis.core.HealthAwareRecorder.perform(HealthAwareRecorder.java:347)
	at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
	at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:770)
	at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:734)
	at hudson.model.Build$BuildExecution.post2(Build.java:183)
	at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:683)
	at hudson.model.Run.execute(Run.java:1770)
	at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
	at hudson.model.ResourceController.execute(ResourceController.java:89)
	at hudson.model.Executor.run(Executor.java:240)
Caused by: java.io.IOException: Underlying input stream returned zero bytes
	at sun.nio.cs.StreamDecoder.readBytes(StreamDecoder.java:287)
	at sun.nio.cs.StreamDecoder.implRead(StreamDecoder.java:325)
	at sun.nio.cs.StreamDecoder.read(StreamDecoder.java:177)
	at java.io.InputStreamReader.read(InputStreamReader.java:184)
	at java.io.BufferedReader.fill(BufferedReader.java:154)
	at java.io.BufferedReader.readLine(BufferedReader.java:317)
	at java.io.BufferedReader.readLine(BufferedReader.java:382)
	at org.apache.commons.io.LineIterator.hasNext(LineIterator.java:96)
	... 16 more
[BFA] Scanning build for known causes...

[BFA] Done. 0s
Started calculate disk usage of build
Finished Calculation of disk usage of build in 0 seconds
Started calculate disk usage of workspace
Finished Calculation of disk usage of workspace in 0 seconds
Notifying upstream projects of job completion
Finished: FAILURE

In which directory/slave should be located the log file ?

Thanks Ulli

Manu

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira

--
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to