Uploaded image for project: 'Data Management'
  1. Data Management
  2. DM-33567

Suppress download progress messages when running maven

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Done
    • Resolution: Done
    • Fix Version/s: None
    • Component/s: ts_middleware
    • Labels:
      None

      Description

      When running maven commands (mvn), Java will download lots of stuff and the download progress messages are printed to stdout.  This is fine in a Terminal but on Jenkins, this progress is printed out across hundreds and hundreds of separate lines.  This makes parsing the console output very difficult. 

      As such, please add the --no-transfer-progress flag to all mvn commands.

      https://maven.apache.org/ref/3.6.1/maven-embedder/cli.html

       

      This includes the salgenerator and running the Java units in the Jenkinsfile.  There may be other instances, but I don't know for sure.

       

        Attachments

          Activity

          Hide
          rbovill Rob Bovill added a comment -
          Show
          rbovill Rob Bovill added a comment - PR reviewed in GitHub. https://github.com/lsst-ts/ts_sal/pull/181  

            People

            Assignee:
            dmills Dave Mills
            Reporter:
            rbovill Rob Bovill
            Reviewers:
            Rob Bovill
            Watchers:
            Dave Mills, Rob Bovill, Wouter van Reeven
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Jenkins

                No builds found.