Uploaded image for project: 'Beam'
  1. Beam
  2. BEAM-10090

Java 11 Precommit failing tasks

Details

    • Improvement
    • Status: Open
    • P3
    • Resolution: Unresolved
    • None
    • None
    • build-system
    • None

    Description

      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

      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')
          }
        }
      }
      

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              pawel.pasterz Pawel Pasterz
              Votes:
              1 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 9h 10m
                  9h 10m