Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in / Register
  • C CI-CD Pipelines
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 2
    • Issues 2
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Merge requests 7
    • Merge requests 7
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Container Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Open Subsurface Data Universe Software
  • Platform
  • CI-CD Pipelines
  • Merge requests
  • !186

Maven output as file

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged David Diederich requested to merge maven-output-as-file into master Feb 26, 2021
  • Overview 0
  • Commits 17
  • Pipelines 2
  • Changes 1

For unknown reasons, displaying the build output as it runs creates a lot of delay in the compile-and-unit-test job. This MR improves performance by caching the output locally (on the runner), then uploading the file in whole once maven completes rather than giving incremental updates.

There's an abbreviated output included for at-a-glance review. The full logs are available as a job artifact, named 'maven-output.txt'. There's one such output for each parent POM (usually one in the main directory and one in "testing"). There's also a separate output file for the 'mvn test' execution, which is 'maven-test-output.txt'.

Some examples from the Schema Service:

  • Latest master build, took 48 minutes
  • Successful build, took 4.5 minutes
  • Failed build, I introduced a compile error just so you could see what a failed build would look like.
Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: maven-output-as-file