Skip to content

Commit

Permalink
[JENKINS-53863] - Update JTH to 2.41.1 and enable testing with JDK 11
Browse files Browse the repository at this point in the history
  • Loading branch information
oleg-nenashev committed Nov 13, 2018
1 parent e3af0f3 commit 46824ec
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ properties([buildDiscarder(logRotator(numToKeepStr: '50', artifactNumToKeepStr:

// see https://github.com/jenkins-infra/documentation/blob/master/ci.adoc for information on what node types are available
def buildTypes = ['Linux', 'Windows']
def jdks = [8]
def jdks = [8, 11]

def builds = [:]
for(i = 0; i < buildTypes.size(); i++) {
Expand Down
11 changes: 11 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -760,5 +760,16 @@ THE SOFTWARE.
<failIfNoTests>false</failIfNoTests>
</properties>
</profile>
<profile>
<id>jdk11</id>
<properties>
<!-- TODO: https://issues.jenkins-ci.org/browse/JENKINS-53788 (JDK11 issue on CI) -->
<doclint>none</doclint>
<maven.javadoc.skip>true</maven.javadoc.skip>
</properties>
<activation>
<jdk>11</jdk>
</activation>
</profile>
</profiles>
</project>
3 changes: 3 additions & 0 deletions src/findbugs/findbugs-excludes.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@
<Bug pattern="UMAC_UNCALLABLE_METHOD_OF_ANONYMOUS_CLASS"/>
<!-- TODO: It's a real issue, but the code is flooded by it right now-->
<Bug pattern="DM_DEFAULT_ENCODING"/>
<!-- TODO: Remove once we migrate to SpotBugs with full Java support (JENKINS-53720)-->
<!-- This check works unreliably on JDK 11 which tries doing some code generation for annotated fields-->
<Bug pattern="RCN_REDUNDANT_NULLCHECK_WOULD_HAVE_BEEN_A_NPE"/>
</Or>
</Match>
</FindBugsFilter>
2 changes: 1 addition & 1 deletion test/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ THE SOFTWARE.
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>jenkins-test-harness</artifactId>
<version>2.36</version>
<version>2.41.1</version>
<scope>test</scope>
<exclusions>
<exclusion>
Expand Down

0 comments on commit 46824ec

Please sign in to comment.