File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2,6 +2,9 @@ name: Java EA
22
33on : [push]
44
5+ env :
6+ MAVEN_ARGS : -V -B --no-transfer-progress -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false -Dmaven.wagon.httpconnectionManager.ttlSeconds=120
7+
58jobs :
69 test_jdk_ea :
710 strategy :
1821 with :
1922 java-version : ${{ matrix.java }}
2023 - name : ' Test'
21- run : ./mvnw -V -B --no-transfer-progress install -DskipDistribution=true
24+ run : ./mvnw ${MAVEN_ARGS} install -DskipDistribution=true
Original file line number Diff line number Diff line change @@ -5,6 +5,7 @@ on: [push, pull_request]
55env :
66 SONATYPE_USERNAME : ${{ secrets.SONATYPE_USERNAME }}
77 SONATYPE_PASSWORD : ${{ secrets.SONATYPE_PASSWORD }}
8+ MAVEN_ARGS : -V -B --no-transfer-progress -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false -Dmaven.wagon.httpconnectionManager.ttlSeconds=120
89
910jobs :
1011 test_jdk :
2223 with :
2324 java-version : ${{ matrix.java }}
2425 - name : ' Test'
25- run : ./mvnw -V -B --no-transfer-progress install -DskipDistribution=true
26+ run : ./mvnw ${MAVEN_ARGS} install -DskipDistribution=true
2627 linux :
2728 name : ' Linux JDK 8'
2829 runs-on : ubuntu-latest
3435 with :
3536 java-version : 8
3637 - name : ' Test'
37- run : ./mvnw -V -B --no-transfer-progress install
38+ run : ./mvnw ${MAVEN_ARGS} install
3839 - name : ' Generate coverage report'
3940 run : ./mvnw jacoco:report
4041 - name : ' Upload coverage to Codecov'
5253 with :
5354 java-version : 8
5455 - name : ' Test'
55- run : ./mvnw -V -B --no-transfer-progress install
56+ run : ./mvnw ${MAVEN_ARGS} install
5657 mac :
5758 name : ' Mac OS'
5859 runs-on : macos-latest
6364 with :
6465 java-version : 8
6566 - name : ' Test'
66- run : ./mvnw -V -B --no-transfer-progress install
67+ run : ./mvnw ${MAVEN_ARGS} install
You can’t perform that action at this time.
0 commit comments