diff --git a/.github/workflows/codecov.yml b/.github/workflows/codecov.yml index 14a4489..a0c821a 100644 --- a/.github/workflows/codecov.yml +++ b/.github/workflows/codecov.yml @@ -3,7 +3,7 @@ name: 'Generate Coverage Report' on: push: branches: - - master + - main pull_request: jobs: @@ -12,15 +12,13 @@ jobs: name: Coverage on Ubuntu steps: - uses: actions/checkout@v4 - - name: Set up JDK 17 - uses: actions/setup-java@v4 + - name: Set up JDK 17 and Maven + uses: s4u/setup-maven-action@v1.15.0 with: - distribution: 'temurin' + java-distribution: 'temurin' java-version: '17' - check-latest: true - cache: 'maven' - name: Generate coverage with JaCoCo - run: mvn clean verify jacoco:prepare-agent test integration-test jacoco:report + run: mvn clean jacoco:prepare-agent test jacoco:report - name: Upload coverage to Codecov uses: codecov/codecov-action@v4 diff --git a/pom.xml b/pom.xml index d0da946..ac60b55 100644 --- a/pom.xml +++ b/pom.xml @@ -1,18 +1,21 @@ 4.0.0 + org.jenkins-ci.plugins plugin - 4.88 + 5.2 + org.jenkins-ci.plugins badge ${revision}${changelist} hpi Badge - https://github.com/jenkinsci/badge-plugin + Add Badges for a build and extend the build summary + https://github.com/${gitHubRepo} @@ -49,26 +52,30 @@ - 2.440.3 - 2.4 -SNAPSHOT jenkinsci/badge-plugin + 2.0 + + 2.479 + ${jenkins.baseline}.1 + 2.4 Max Low false - 2.0 + io.jenkins.tools.bom - bom-2.440.x - 3435.v238d66a_043fb_ + bom-${jenkins.baseline}.x + 3559.vb_5b_81183b_d23 pom import + io.jenkins.plugins