Closed jukzi closed 4 months ago
things to check would be:
experiment in: https://github.com/eclipse-jdt/eclipse.jdt.ui/pull/996 need to use:
eclipse()
instead of java()
in Jenkinsfile
https://github.com/jenkinsci/warnings-ng-plugin/blob/main/SUPPORTED-FORMATS.mdpom.xml
https://tycho.eclipseprojects.io/doc/latest/tycho-compiler-plugin/compile-mojo.html#useProjectSettings
<build>
<plugins>
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-compiler-plugin</artifactId>
<configuration>
<useProjectSettings>true</useProjectSettings>
</configuration>
</plugin>
</plugins>
</build>
Jenkins
file: https://github.com/jenkinsci/warnings-ng-plugin/blob/main/doc/Documentation.md#quality-gate-configurationrecordIssues tools: [eclipse(), mavenConsole(), javaDoc()], qualityGates: [[threshold: 1, type: 'DELTA', unstable: true]]
-Dmaven.compiler.failOnWarning=false
in JenkinsfileDo you consider this one done?
done.
When creating a PR a jenkins jobs runs that checks for compiler warnings. But all of them are shown empty. example: https://ci.eclipse.org/platform/job/eclipse.platform.ui/job/PR-986/2/java/fileName.-320603757/source.26df7935-bc10-47b7-b2f9-be5c4e44dee4/#7
in the logfile https://ci.eclipse.org/platform/job/eclipse.platform.ui/job/PR-986/2/consoleText one could find there is error message in the next liness. for example:
The same effect is visible in the pull request which shows empty annotations: