diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml
index 0a54b0b757..31a2acf963 100644
--- a/.github/workflows/coverage.yml
+++ b/.github/workflows/coverage.yml
@@ -1,4 +1,4 @@
-name: 'Generate coverage report'
+name: 'CodeCov'
on:
push:
@@ -11,20 +11,25 @@ jobs:
coverage:
runs-on: ubuntu-latest
- name: Coverage on Ubuntu
+ name: Create and upload coverage report
steps:
- uses: actions/checkout@v4
- - name: Set up JDK 11
+ - name: Set up JDK 21
uses: actions/setup-java@v4
with:
distribution: 'temurin'
- java-version: '11'
+ java-version: '21'
check-latest: true
+ cache: 'maven'
+ - name: Set up Maven
+ uses: stCarolas/setup-maven@v4.5
+ with:
+ maven-version: 3.9.6
- name: Generate coverage with JaCoCo
- run: mvn -V --color always -ntp clean verify --file pom.xml '-Dgpg.skip'
+ run: mvn -V --color always -ntp clean verify '-Dgpg.skip'
- name: Upload coverage to Codecov
- uses: codecov/codecov-action@v3
+ uses: codecov/codecov-action@v3.1.4
with:
files: 'target/site/jacoco/jacoco.xml'
token: ${{secrets.CODECOV_TOKEN}}
diff --git a/plugin/pom.xml b/plugin/pom.xml
index a1c9ca0439..c9711268ba 100644
--- a/plugin/pom.xml
+++ b/plugin/pom.xml
@@ -25,6 +25,8 @@
-SNAPSHOT
${project.groupId}.warnings.ng
+ 2.426.2
+
11.14.0
${analysis-model-api.version}
1.7.8
@@ -196,6 +198,7 @@
org.jenkins-ci.plugins
dashboard-view
true
+ 2.509.v67818f5f88fc
org.jenkins-ci.plugins
diff --git a/plugin/src/main/java/io/jenkins/plugins/analysis/core/model/DetailsTableModel.java b/plugin/src/main/java/io/jenkins/plugins/analysis/core/model/DetailsTableModel.java
index ba505066ab..b73bcbb4bd 100644
--- a/plugin/src/main/java/io/jenkins/plugins/analysis/core/model/DetailsTableModel.java
+++ b/plugin/src/main/java/io/jenkins/plugins/analysis/core/model/DetailsTableModel.java
@@ -57,7 +57,7 @@ public abstract class DetailsTableModel extends TableModel {
* @param descriptionProvider
* renders the description text
* @param jenkinsFacade
- * Jenkins facade to replaced with a stub during unit tests
+ * Jenkins facade to be replaced with a stub during unit tests
*/
protected DetailsTableModel(final Report report, final FileNameRenderer fileNameRenderer,
final AgeBuilder ageBuilder, final DescriptionProvider descriptionProvider,