You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@beam.apache.org by "Beam JIRA Bot (Jira)" <ji...@apache.org> on 2020/09/13 17:08:04 UTC
[jira] [Updated] (BEAM-10090) Java 11 Precommit failing tasks
[ https://issues.apache.org/jira/browse/BEAM-10090?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Beam JIRA Bot updated BEAM-10090:
---------------------------------
Labels: stale-assigned (was: )
> Java 11 Precommit failing tasks
> -------------------------------
>
> Key: BEAM-10090
> URL: https://issues.apache.org/jira/browse/BEAM-10090
> Project: Beam
> Issue Type: Improvement
> Components: build-system
> Reporter: Pawel Pasterz
> Assignee: Kenneth Knowles
> Priority: P2
> Labels: stale-assigned
> Time Spent: 2.5h
> Remaining Estimate: 0h
>
> This is the aggregate for all failing tasks in Java 11 Precommit job
>
> Jenkins job URL [https://builds.apache.org/job/beam_PreCommit_Java11_Phrase/11/]
> Groovy script
> {code:groovy}
> import PrecommitJobBuilder
> import CommonJobProperties as properties
> PrecommitJobBuilder builder = new PrecommitJobBuilder(
> scope: this,
> nameBase: 'Java11',
> gradleTask: ':javaPreCommit',
> commitTriggering: false,
> gradleSwitches: [
> '-Pdockerfile=Dockerfile-java11',
> '-PdisableSpotlessCheck=true',
> '-PcompileAndRunTestsWithJava11',
> "-Pjava11Home=${properties.JAVA_11_HOME}",
> '--info' // for debug purposes
> ], // spotless checked in separate pre-commit
> triggerPathPatterns: [
> '^model/.*$',
> '^sdks/java/.*$',
> '^runners/.*$',
> '^examples/java/.*$',
> '^examples/kotlin/.*$',
> '^release/.*$',
> ],
> excludePathPatterns: [
> '^sdks/java/extensions/sql/.*$'
> ]
> )
> builder.build {
> publishers {
> archiveJunit('**/build/test-results/**/*.xml')
> recordIssues {
> tools {
> errorProne()
> java()
> checkStyle {
> pattern('**/build/reports/checkstyle/*.xml')
> }
> configure { node ->
> node / 'spotBugs' << 'io.jenkins.plugins.analysis.warnings.SpotBugs' {
> pattern('**/build/reports/spotbugs/*.xml')
> }
> }
> }
> enabledForFailure(true)
> }
> jacocoCodeCoverage {
> execPattern('**/build/jacoco/*.exec')
> }
> }
> }
> {code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)