[ 
https://issues.apache.org/jira/browse/BEAM-10090?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Kenneth Knowles updated BEAM-10090:
-----------------------------------

This Jira ticket has a pull request attached to it, but is still open. Did the 
pull request resolve the issue? If so, could you please mark it resolved? This 
will help the project have a clear view of its open issues.

> 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
>            Priority: P3
>          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.20.1#820001)

Reply via email to