Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Require Java 11 and Jenkins 2.361.4 or newer #126

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion Jenkinsfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
#!/usr/bin/env groovy

/* `buildPlugin` step provided by: https://github.com/jenkins-infra/pipeline-library */
buildPlugin()
buildPlugin(configurations: [
[ platform: 'linux', jdk: '11' ],
[ platform: 'windows', jdk: '11' ],
// Compilation fails on Java 17
// [ platform: 'linux', jdk: '17' ],
Comment on lines +7 to +8
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

])
13 changes: 4 additions & 9 deletions checkstyle_rules.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,11 @@
-->
<module name="Checker">
<property name="severity" value="error"/>
<module name="LineLength">
<property name="ignorePattern" value="^ *\* *[^ ]+$"/>
<property name="max" value="140"/>
</module>
<module name="TreeWalker">
<property name="cacheFile" value="checkstyle-cachefile"/>
<property name="tabWidth" value="4"/>
<module name="AvoidStarImport"/>
<module name="ConstantName"/>
Expand All @@ -28,10 +31,6 @@
</module>
<module name="JavadocMethod">
<property name="severity" value="warning"/>
<property name="allowUndeclaredRTE" value="true"/>
<property name="allowThrowsTagsForSubclasses" value="true"/>
<property name="allowMissingPropertyJavadoc" value="true"/>
<property name="allowMissingThrowsTags" value="true"/>
</module>
<module name="JavadocVariable"/>
<module name="JavadocStyle">
Expand All @@ -45,10 +44,6 @@
<property name="tokens" value="LITERAL_CATCH,LITERAL_DO,LITERAL_ELSE,LITERAL_FINALLY,LITERAL_FOR,LITERAL_IF,LITERAL_SWITCH,LITERAL_SYNCHRONIZED,LITERAL_TRY,LITERAL_WHILE"/>
</module>
<module name="OuterTypeNumber"/>
<module name="LineLength">
<property name="ignorePattern" value="^ *\* *[^ ]+$"/>
<property name="max" value="140"/>
</module>
<module name="LocalFinalVariableName"/>
<module name="LocalVariableName"/>
<module name="MemberName"/>
Expand Down
3 changes: 2 additions & 1 deletion checkstyle_suppressions.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@
Eclipse plug-in.
-->
<suppress checks="." files=".*[\\/]grammars[\\/]Generated[a-zA-Z]*\.java"/>
<suppress checks="." files=".*generated-sources.*"/>
<suppress checks="." files=".*[\\/]src[\\/]test[\\/]"/>
<suppress checks="." files=".*[\\/]checkstyle[\\/]gui[\\/]"/>
<suppress checks="ParameterNumberCheck" files="BuildPipelineView.java"/>
</suppressions>
</suppressions>
6 changes: 0 additions & 6 deletions findbugs-exclude.xml

This file was deleted.

238 changes: 0 additions & 238 deletions pmd_rules.xml

This file was deleted.

Loading