Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
85 commits
Select commit Hold shift + click to select a range
3cc457d
Enable JDK 25 builds
uhafner Sep 23, 2025
ee3069b
Merge remote-tracking branch 'origin/main' into jdk25
uhafner Sep 25, 2025
eb49610
Run all JDK workflows even if the first one fails
uhafner Sep 25, 2025
f7391db
Switch Java distribution in GitHub pipelines to Eclipse Temurin
uhafner Sep 29, 2025
5e2756d
Merge remote-tracking branch 'origin/main' into jdk25
uhafner Sep 29, 2025
737f3f2
Bump io.jenkins.plugins:plugin-util-api
dependabot[bot] Sep 29, 2025
dcbb964
Bump org.jvnet.hudson.plugins:analysis-pom
dependabot[bot] Sep 29, 2025
5b1c14b
Merge pull request #1085 from jenkinsci/dependabot/maven/org.jvnet.hu…
uhafner Oct 8, 2025
16829af
Bump org.jenkins-ci.main:jenkins-core from 2.529 to 2.531
dependabot[bot] Oct 8, 2025
e810f60
Bump github/codeql-action from 3 to 4
dependabot[bot] Oct 8, 2025
22482e8
Remove version for plugin-util, it is part of the BOM
uhafner Oct 8, 2025
c629128
Do not upload the code coverage reports to CodeCov anymore
uhafner Oct 8, 2025
73b0c33
Merge pull request #1084 from jenkinsci/dependabot/maven/io.jenkins.p…
uhafner Oct 8, 2025
3e53202
Merge pull request #1088 from jenkinsci/dependabot/maven/org.jenkins-…
uhafner Oct 8, 2025
c79fc41
Merge pull request #1087 from jenkinsci/dependabot/github_actions/git…
uhafner Oct 8, 2025
ee4685c
Bump org.jvnet.hudson.plugins:analysis-pom
dependabot[bot] Oct 8, 2025
6517b12
Bump json-unit-assertj.version from 4.1.1 to 5.0.0
dependabot[bot] Oct 13, 2025
f4667ae
Bump org.jenkins-ci:acceptance-test-harness
dependabot[bot] Oct 13, 2025
484d202
Bump org.jenkins-ci.main:jenkins-core from 2.531 to 2.532
dependabot[bot] Oct 14, 2025
11744da
Bump io.netty:netty-bom from 4.2.6.Final to 4.2.7.Final
dependabot[bot] Oct 15, 2025
71d4a33
Bump umbrelladocs/action-linkspector from 1.3.7 to 1.4.0
dependabot[bot] Oct 16, 2025
c5c8473
Bump org.testcontainers:testcontainers from 1.21.3 to 2.0.1
dependabot[bot] Oct 17, 2025
e6a9baa
Merge pull request #1096 from jenkinsci/dependabot/maven/org.testcont…
uhafner Oct 18, 2025
7b0fd3f
Merge pull request #1093 from jenkinsci/dependabot/maven/io.netty-net…
uhafner Oct 18, 2025
2c50c6b
Merge pull request #1095 from jenkinsci/dependabot/github_actions/umb…
uhafner Oct 18, 2025
e5ef4ae
Merge pull request #1091 from jenkinsci/dependabot/maven/org.jenkins-…
uhafner Oct 18, 2025
ec76b5e
Merge pull request #1090 from jenkinsci/dependabot/maven/json-unit-as…
uhafner Oct 18, 2025
516f800
Merge pull request #1089 from jenkinsci/dependabot/maven/org.jvnet.hu…
uhafner Oct 18, 2025
c56aebf
Merge pull request #1092 from jenkinsci/dependabot/maven/org.jenkins-…
uhafner Oct 18, 2025
2fe9085
Bump org.jvnet.hudson.plugins:analysis-pom
dependabot[bot] Oct 20, 2025
fe2bd07
Merge pull request #1097 from jenkinsci/dependabot/maven/org.jvnet.hu…
uhafner Oct 21, 2025
dee20a5
Split quality monitor into 2 separate actions
uhafner Oct 21, 2025
6ff2c0e
Bump org.jenkins-ci.main:jenkins-core from 2.532 to 2.533
dependabot[bot] Oct 21, 2025
eeccee0
Merge pull request #1098 from jenkinsci/quality-monitor
uhafner Oct 21, 2025
014d2a1
Adjust quality gates
uhafner Oct 26, 2025
eecf1e4
Merge pull request #1099 from jenkinsci/dependabot/maven/org.jenkins-…
uhafner Oct 26, 2025
362c47c
Bump org.jvnet.hudson.plugins:analysis-pom
dependabot[bot] Oct 28, 2025
223ad8c
Fix warnings
uhafner Oct 29, 2025
0fe2bd2
Reduce branch coverage threshold
uhafner Oct 30, 2025
544def6
Suppress PMD warnings
uhafner Oct 30, 2025
b8ed4de
Remove unused dependency to Eclipse collections
uhafner Oct 30, 2025
0900354
Fix warnings in UI module
uhafner Oct 30, 2025
c517b19
Bump org.jenkins-ci.main:jenkins-core from 2.533 to 2.535
dependabot[bot] Nov 4, 2025
9d6ab58
Merge pull request #1104 from jenkinsci/dependabot/maven/org.jvnet.hu…
uhafner Nov 5, 2025
28dce52
Do not fail fast when running builds in a matrix
uhafner Nov 8, 2025
99a74e4
Fix javac warnings
uhafner Nov 9, 2025
ed0fe9f
Reduce qualitt gate for branch coverage
uhafner Nov 9, 2025
48e7cd1
Merge pull request #1108 from jenkinsci/dependabot/maven/org.jenkins-…
uhafner Nov 9, 2025
020be18
Bump org.jenkins-ci:acceptance-test-harness
dependabot[bot] Nov 9, 2025
c6a4ec3
Bump com.fasterxml.jackson.core:jackson-databind from 2.20.0 to 2.20.1
dependabot[bot] Nov 9, 2025
fffd8cb
Bump actions/upload-artifact from 4 to 5
dependabot[bot] Nov 9, 2025
05aff84
Merge pull request #1109 from jenkinsci/dependabot/maven/org.jenkins-…
uhafner Nov 10, 2025
5cec670
Merge pull request #1106 from jenkinsci/dependabot/maven/com.fasterxm…
uhafner Nov 10, 2025
971a7ea
Merge pull request #1101 from jenkinsci/dependabot/github_actions/act…
uhafner Nov 10, 2025
2ca9744
Bump org.jenkins-ci.main:jenkins-core from 2.535 to 2.536
dependabot[bot] Nov 11, 2025
b576bef
Bump edu.hm.hafner:codingstyle-pom from 5.36.0 to 5.39.0
dependabot[bot] Nov 11, 2025
5e7767e
Bump org.jenkins-ci:acceptance-test-harness
dependabot[bot] Nov 11, 2025
4e130c7
Use Java 21 to run Jenkins security scanner
uhafner Nov 12, 2025
5c2b752
Merge pull request #1116 from jenkinsci/dependabot/maven/org.jenkins-…
uhafner Nov 12, 2025
05fd751
Merge pull request #1114 from jenkinsci/dependabot/maven/org.jenkins-…
uhafner Nov 12, 2025
7d5f011
Merge pull request #1115 from jenkinsci/dependabot/maven/edu.hm.hafne…
uhafner Nov 12, 2025
620e114
Bump org.jenkins-ci.tools:maven-hpi-plugin
dependabot[bot] Nov 12, 2025
3f2b5d7
Bump org.jvnet.hudson.plugins:analysis-pom
dependabot[bot] Nov 12, 2025
cc63453
Merge pull request #1111 from jenkinsci/dependabot/maven/org.jenkins-…
uhafner Nov 12, 2025
4a481f1
Do not use Java 17 anymore for build
uhafner Nov 12, 2025
d8da839
Bump version of analysis-pom to 11.2908.va_a_0dc7dddeb_1
uhafner Nov 13, 2025
347e7f7
Bump org.jenkins-ci:acceptance-test-harness
dependabot[bot] Nov 14, 2025
996ec88
Bump org.testcontainers:testcontainers from 2.0.1 to 2.0.2
dependabot[bot] Nov 14, 2025
2d1bb89
Bump json-unit-assertj.version from 5.0.0 to 5.1.0
dependabot[bot] Nov 17, 2025
782b21a
Bump org.jenkins-ci.main:jenkins-core from 2.536 to 2.538
dependabot[bot] Nov 19, 2025
87f183d
Bump actions/checkout from 5 to 6
dependabot[bot] Nov 20, 2025
8cb2405
Merge pull request #1119 from jenkinsci/dependabot/maven/json-unit-as…
uhafner Nov 24, 2025
0e65db8
Merge pull request #1122 from jenkinsci/dependabot/github_actions/act…
uhafner Nov 24, 2025
d9bb0fb
Merge pull request #1121 from jenkinsci/dependabot/maven/org.jenkins-…
uhafner Nov 24, 2025
430efcf
Merge pull request #1118 from jenkinsci/dependabot/maven/org.testcont…
uhafner Nov 24, 2025
c290459
Merge pull request #1113 from jenkinsci/dependabot/maven/org.jvnet.hu…
uhafner Nov 24, 2025
66d67c7
Merge pull request #1117 from jenkinsci/dependabot/maven/org.jenkins-…
uhafner Nov 25, 2025
ba42fc5
Bump org.jenkins-ci.main:jenkins-core from 2.538 to 2.539
dependabot[bot] Nov 25, 2025
8e4b932
Merge pull request #1123 from jenkinsci/dependabot/maven/org.jenkins-…
uhafner Nov 26, 2025
31fcd00
Use latest parent pom that fixes the javac compiler args
uhafner Nov 28, 2025
a6ed7f6
Enable JDK 25 builds
uhafner Sep 23, 2025
3620255
Switch Java distribution in GitHub pipelines to Eclipse Temurin
uhafner Sep 29, 2025
4477c9a
Use latest parent pom that fixes the javac compiler args
uhafner Nov 28, 2025
746e3e7
Bump JDK version in Jenkinsfile to Java 21 and 25
uhafner Nov 28, 2025
2a69e61
Merge remote-tracking branch 'origin/jdk25' into jdk25
uhafner Nov 28, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 32 additions & 0 deletions .github/quality-gates.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
{
"qualityGates": [
{
"metric": "tests-success-rate",
"name": "Tests Success Rate",
"threshold": 100.0,
"criticality": "FAILURE"
},
{
"metric": "line",
"threshold": 80.0,
"criticality": "UNSTABLE"
},
{
"metric": "branch",
"threshold": 75.0,
"criticality": "UNSTABLE"
},
{
"metric": "bugs",
"name": "Potential Bugs",
"threshold": 0.0,
"criticality": "FAILURE"
},
{
"metric": "style",
"name": "Style Violations",
"threshold": 0.0,
"criticality": "FAILURE"
}
]
}
145 changes: 145 additions & 0 deletions .github/quality-monitor.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,145 @@
{
"tests": {
"name": "Tests",
"tools": [
{
"id": "junit",
"name": "Unit Tests",
"pattern": "**/target/surefire-reports/TEST*forensics*.xml"
},
{
"id": "junit",
"icon": "rocket",
"name": "Integration Tests",
"pattern": "**/target/failsafe-reports/TEST*.xml"
},
{
"id": "junit",
"icon": "no_entry",
"name": "Architecture Tests",
"pattern": "**/target/surefire-reports/TEST*archunit*.xml"
}
]
},
"analysis": [
{
"name": "Style",
"id": "style",
"tools": [
{
"id": "checkstyle",
"pattern": "**/target/**checkstyle-result.xml"
},
{
"id": "pmd",
"pattern": "**/target/pmd-*/pmd.xml"
},
{
"id": "java",
"icon": "coffee",
"pattern": "**/maven.log"
}
]
},
{
"name": "Bugs",
"id": "bugs",
"icon": "bug",
"tools": [
{
"id": "spotbugs",
"sourcePath": "src/main/java",
"pattern": "**/target/spotbugsXml.xml"
},
{
"id": "error-prone",
"pattern": "**/maven.log"
}
]
},
{
"name": "API Problems",
"id": "api",
"icon": "no_entry_sign",
"tools": [
{
"id": "revapi",
"sourcePath": "src/main/java",
"pattern": "**/target/revapi-result.json"
}
]
},
{
"name": "Vulnerabilities",
"id": "vulnerabilities",
"icon": "shield",
"tools": [
{
"icon": "shield",
"id": "owasp-dependency-check",
"icon": "shield",
"pattern": "**/target/dependency-check-report.json"
}
]
}
],
"coverage": [
{
"name": "Code Coverage",
"tools": [
{
"id": "jacoco",
"metric": "line",
"sourcePath": "src/main/java",
"pattern": "**/target/site/jacoco/jacoco.xml"
},
{
"id": "jacoco",
"metric": "branch",
"sourcePath": "src/main/java",
"pattern": "**/target/site/jacoco/jacoco.xml"
}
]
}
],
"metrics": {
"name": "Software Metrics",
"tools": [
{
"id": "metrics",
"pattern": "**/metrics/pmd.xml",
"metric": "CYCLOMATIC_COMPLEXITY"
},
{
"id": "metrics",
"pattern": "**/metrics/pmd.xml",
"metric": "COGNITIVE_COMPLEXITY"
},
{
"id": "metrics",
"pattern": "**/metrics/pmd.xml",
"metric": "NPATH_COMPLEXITY"
},
{
"id": "metrics",
"pattern": "**/metrics/pmd.xml",
"metric": "LOC"
},
{
"id": "metrics",
"pattern": "**/metrics/pmd.xml",
"metric": "NCSS"
},
{
"id": "metrics",
"pattern": "**/metrics/pmd.xml",
"metric": "COHESION"
},
{
"id": "metrics",
"pattern": "**/metrics/pmd.xml",
"metric": "WEIGHT_OF_CLASS"
}
]
}
}
4 changes: 2 additions & 2 deletions .github/workflows/check-md-links.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ jobs:
name: 'Check Markdown links'
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v5
- uses: umbrelladocs/action-linkspector@v1.3.7
- uses: actions/checkout@v6
- uses: umbrelladocs/action-linkspector@v1.4.0
with:
github_token: ${{ secrets.github_token }}
reporter: github-pr-check
Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,19 +10,20 @@ jobs:
build:

strategy:
fail-fast: false
matrix:
platform: [ubuntu-latest, macos-latest, windows-latest]
jdk: [17, 21]
jdk: [21, 25]

runs-on: ${{ matrix.platform }}
name: on ${{ matrix.platform }} with JDK ${{ matrix.jdk }}

steps:
- uses: actions/checkout@v5
- uses: actions/checkout@v6
- name: Set up JDK ${{ matrix.jdk }}
uses: actions/setup-java@v5
with:
distribution: 'corretto'
distribution: 'temurin'
java-version: '${{ matrix.jdk }}'
check-latest: true
cache: 'maven'
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
language: [ java ]

steps:
- uses: actions/checkout@v5
- uses: actions/checkout@v6

- name: Setup Java
uses: actions/setup-java@v5
Expand All @@ -38,7 +38,7 @@ jobs:
maven-version: 3.9.11

- name: Initialize CodeQL
uses: github/codeql-action/init@v3
uses: github/codeql-action/init@v4
with:
languages: ${{ matrix.language }}
queries: +security-and-quality
Expand All @@ -47,7 +47,7 @@ jobs:
run: mvn -V --color always -ntp clean verify -Pskip

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3
uses: github/codeql-action/analyze@v4
with:
upload: false
output: sarif-results
Expand All @@ -62,6 +62,6 @@ jobs:
output: sarif-results/${{ matrix.language }}.sarif

- name: Upload SARIF results
uses: github/codeql-action/upload-sarif@v3
uses: github/codeql-action/upload-sarif@v4
with:
sarif_file: sarif-results/${{ matrix.language }}.sarif
35 changes: 0 additions & 35 deletions .github/workflows/coverage.yml

This file was deleted.

4 changes: 2 additions & 2 deletions .github/workflows/jenkins-security-scan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,5 @@ jobs:
security-scan:
uses: jenkins-infra/jenkins-security-scan/.github/workflows/jenkins-security-scan.yaml@v2
with:
java-cache: 'maven' # Optionally enable use of a build dependency cache. Specify 'maven' or 'gradle' as appropriate.
# java-version: 21 # Optionally specify what version of Java to set up for the build, or remove to use a recent default.
java-cache: 'maven'
java-version: 21
59 changes: 59 additions & 0 deletions .github/workflows/quality-monitor-build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
name: 'Quality Monitor Build'

on:
pull_request:

jobs:
build:
runs-on: [ubuntu-latest]
name: Create quality reports

steps:
- name: Checkout PR
uses: actions/checkout@v6
- name: Set up JDK 21
uses: actions/setup-java@v5
with:
distribution: 'temurin'
java-version: 21
check-latest: true
cache: 'maven'
- name: Set up Maven
uses: stCarolas/setup-maven@v5
with:
maven-version: 3.9.11
- name: Cache the NVD database
uses: actions/cache@v4
with:
path: ~/.m2/repository/org/owasp/dependency-check-data
key: dependency-check
- name: Check if quality monitor reports mutation coverage
run: |
FILE='.github/quality-monitor.json'
PATTERN='target/pit-reports/mutations.xml'
if [ -f "$FILE" ]; then
if grep -q "$PATTERN" "$FILE"; then
echo "PIT=-Ppit" >> "$GITHUB_ENV"
fi
fi
- name: Build with Maven
env:
NVD_API_KEY: ${{ secrets.NVD_API_KEY }}
OSS_INDEX_TOKEN: ${{ secrets.OSS_INDEX_TOKEN }}
PIT: ${{ env.PIT }}
BROWSER: chrome-container
run: |
mvn -V --color always -ntp clean verify $PIT -Pci -Powasp | tee maven.log
if [ "${PIPESTATUS[0]}" != "0" ]; then
exit 1;
fi
mv -fv maven.log target/maven.log
- name: Upload Quality Reports
uses: actions/upload-artifact@v5
with:
name: quality-reports
path: |
**/target/**/*.json
**/target/**/*.xml
**/target/**/*.log

Loading
Loading