Verifies the integrety of the projects, as builds are executed immediately after a code change was detected. This plan provides no artifiacts (use a nightly build instead).

Build: #2994 was successful Changes by Guus der Kinderen

Stages & jobs

  1. Default Stage

  2. Continuous Integration

Build result summary

Details

Completed
Queue duration
< 1 second
Duration
8 minutes
Labels
None
Agent
mesonet-ah.agron.iastate.edu
Revision
2f680fa1541b9225722999306132074c609fd465
Total tests
1728
Successful since
#2937 ()

Tests

Code commits

Author Commit Message Commit date
Guus der Kinderen Guus der Kinderen 2f680fa1541b9225722999306132074c609fd465 (code review) Bump  from v4 to v5
Guus der Kinderen Guus der Kinderen cc41c7e22019370b9eabe10baac28fc0b4723a80 CI / GitHub workflow: Cache Maven Wrapper artifacts
Our GitHub workflow uses the 'maven' cache that's provided by the `actions/setup-java` action.

I was surprised to see the following build failure earlier today:

```
Run ./mvnw -B install --file pom.xml
  ./mvnw -B install --file pom.xml
  shell: /usr/bin/bash -e {0}
  env:
    CI: true
    REGISTRY: ghcr.io
    IMAGE_NAME: openfire
    JAVA_HOME: /opt/hostedtoolcache/Java_Zulu_jdk/25.0.3-9/x64
    JAVA_HOME_25_X64: /opt/hostedtoolcache/Java_Zulu_jdk/25.0.3-9/x64
Error: Exception in thread "main" java.io.IOException: Server returned HTTP response code: 429 for URL: https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.6.3/apache-maven-3.6.3-bin.zip
        at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1713)
        at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1305)
        at java.base/sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:223)
        at org.apache.maven.wrapper.DefaultDownloader.downloadInternal(DefaultDownloader.java:100)
        at org.apache.maven.wrapper.DefaultDownloader.download(DefaultDownloader.java:86)
        at org.apache.maven.wrapper.Installer.createDist(Installer.java:84)
        at org.apache.maven.wrapper.WrapperExecutor.execute(WrapperExecutor.java:160)
        at org.apache.maven.wrapper.MavenWrapperMain.main(MavenWrapperMain.java:73)
Error: Process completed with exit code 1.
```

This shows that Maven is still being downloaded, instead of the wrapped version being cached/used.

Apparently, the 'maven' cache from the `actions/setup-java` action does not cache these artifacts. With the changes in this commit, they now should.

Shared artifacts

Artifact File size
Unpacked project files 267 MB