eclipse-platform / .github

Common contribution content for eclipse-platform repositories
https://www.eclipse.org/eclipse/
5 stars 10 forks source link

Compiler warnings not shown #144

Closed jukzi closed 4 months ago

jukzi commented 11 months ago

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

image

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:

11:28:16.247 [WARNING] /home/jenkins/agent/workspace/eclipse.platform.ui_PR-986/tools/bundles/org.eclipse.e4.tools.emf.ui/src/org/eclipse/e4/tools/emf/ui/internal/common/properties/ProjectOSGiTranslationProvider.java:[7] 
    import java.security.AccessController;
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
The type AccessController has been deprecated since version 17 and marked for removal

The same effect is visible in the pull request which shows empty annotations:

image

Bananeweizen commented 8 months ago

things to check would be:

jukzi commented 7 months ago

experiment in: https://github.com/eclipse-jdt/eclipse.jdt.ui/pull/996 need to use:

recordIssues tools: [eclipse(), mavenConsole(), javaDoc()], qualityGates: [[threshold: 1, type: 'DELTA', unstable: true]]

akurtakov commented 5 months ago

Do you consider this one done?

jukzi commented 4 months ago

done.