-
Bug
-
Resolution: Fixed
-
Minor
-
None
-
Jenkins: V1.493
Warnings-Plugin: V4.18
Static Analysis Utilities: V1.48
OS: Windows XP, Mac OS X
In some situations the source code files, displaying the warnings are empty.
Reason:
In some setups the default encoding was not set. This caused an exception in the class HealthAwareRecorder.java in
private void print(final FileOutputStream outputStream, final String message,
final Object... arguments) throws IOException
The default encoding was an empty string and therefore the write function threw the IOException "Unknown Encoding".
This resulted in jumping out of the logging function to print the statement, that the path to the source file is wrong.
Fixed/Workaround by setting the Default Encoding in the configuration setting to "UTF-8"
- is duplicated by
-
JENKINS-15952 Checkstyle project wont transfer all files from slave to master
-
- Resolved
-
Code changed in jenkins
User: Ulli Hafner
Path:
src/main/java/hudson/plugins/analysis/core/HealthAwareRecorder.java
src/main/java/hudson/plugins/analysis/util/EncodingValidator.java
src/test/java/hudson/plugins/analysis/util/EncodingValidatorTest.java
http://jenkins-ci.org/commit/analysis-core-plugin/3b9fbe464d1b04c8a2520652fb94e855b8a5ba91
Log:
[FIXED JENKINS-16222] Ignore invalid encodings when reading files.
–
You received this message because you are subscribed to the Google Groups "Jenkins Commits" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-commits+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.