Skip to content
This repository was archived by the owner on Nov 19, 2024. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
142 commits
Select commit Hold shift + click to select a range
6b64fde
Implemented QualityGate Workflow
jwalteri Nov 11, 2021
65b3a13
Added documentation
jwalteri Nov 11, 2021
5308f83
Fixed warnings
jwalteri Nov 11, 2021
85565b0
Fixed warnings
jwalteri Nov 11, 2021
cced44f
Fixed warnings
jwalteri Nov 11, 2021
9de11c6
Rebase coverage-model refactoring on master branch.
uhafner Nov 6, 2022
e194761
Fix some missing files and add security filter for coverage-model.
uhafner Nov 7, 2022
b485fbe
Add a symbol for the new column.
uhafner Nov 7, 2022
1312a15
Remove unused variable.
uhafner Nov 7, 2022
4115a6a
Fix source code rendering for change coverage.
uhafner Nov 7, 2022
a2de94e
Fix assertion of file path on Windows.
uhafner Nov 7, 2022
f9a9201
Rename column so that JobDSL has a unique ID.
uhafner Nov 7, 2022
3469370
Disable test that reads the XML file.
uhafner Nov 7, 2022
0ab9093
Add missing views for coverage column.
uhafner Nov 8, 2022
568329f
Removed obsolte methods.
uhafner Nov 11, 2022
5440271
Move computation of delta coverage to model.
uhafner Nov 16, 2022
64197e2
Bump version of coverage-model to 0.2.0.
uhafner Nov 16, 2022
26cf67a
Use new `FileScanner` base class of plugin-util.
uhafner Nov 16, 2022
483633e
Refactoring of base class.
uhafner Nov 17, 2022
fd87d5b
Rename visitor to `AgentFileVisitor`.
uhafner Nov 17, 2022
e0b00ff
Merge branch 'JENKINS-66994' into coverage-model
uhafner Nov 17, 2022
4c775fd
Update quality gates to new model.
uhafner Nov 20, 2022
f7e1ccc
Use new class name `FileVisitorResult` when scanning the workspace.
uhafner Nov 21, 2022
7f7a597
Add quality gates.
uhafner Nov 21, 2022
d2899e4
Add info error view to show reporter log messages.
uhafner Nov 22, 2022
5b9e235
Fix Stapler properties of quality gate.
uhafner Nov 23, 2022
a02b016
Simplify the summary view: use a tag lib for repeating elements.
uhafner Nov 26, 2022
49b5cc9
Improve formatting of build results.
uhafner Nov 27, 2022
1f776e1
Use new constructor parameter to silently log empty files.
uhafner Nov 30, 2022
560e6e5
Merge remote-tracking branch 'origin/master' into coverage-model
uhafner Nov 30, 2022
9e7946e
Fix logging texts during quality gate evaluation.
uhafner Nov 30, 2022
a9339b1
Make serialization of values more compact.
uhafner Dec 3, 2022
5ad4a91
Store the values in a node in a list and not in a map.
uhafner Dec 3, 2022
1e8b4ab
Improve serialization of maps and sets.
uhafner Dec 3, 2022
31e9356
Improve serialization for action as well.
uhafner Dec 4, 2022
5867286
Add test cases from old model.
uhafner Dec 4, 2022
b24872c
Improve formatting of tooltips: show more details.
uhafner Dec 4, 2022
9fe448b
Introduce step that records coverage results.
uhafner Dec 8, 2022
1eedb6d
Fix testcase: branch coverage is not stored if undefined.
uhafner Dec 12, 2022
b2cc4ea
Add and improve configuration and help texts.
uhafner Dec 14, 2022
e66b960
Fix PR link.
uhafner Dec 15, 2022
f3cb873
Fix GitHub link checks for MD files.
uhafner Dec 15, 2022
16c325e
Remove autograding from jenkins plugins.
uhafner Dec 15, 2022
d127668
Skip RevAPI.
uhafner Dec 16, 2022
0ffbf09
Add support for multiple coverage actions.
uhafner Dec 19, 2022
d6b63eb
Add another source file for the source code test.
uhafner Dec 20, 2022
ce8febe
Fix initialization order of build action saving.
uhafner Dec 20, 2022
844982e
Replace checkbox with select for status evaluation.
uhafner Dec 23, 2022
189f53a
Use the quality gate model for coverage columns as well.
uhafner Dec 29, 2022
d48eec6
Fix path to coverage files.
uhafner Dec 29, 2022
7b5e68d
Remove a lot of unused code from old model.
uhafner Dec 31, 2022
893a063
Use new parent POM and move some classes to plugin-util.
uhafner Jan 4, 2023
ecacf29
Add a first implementation of the remote API.
uhafner Jan 4, 2023
f3d82a4
Fix missing version for plugin-util.
uhafner Jan 5, 2023
8a59ddc
Add other values to remote API.
uhafner Jan 7, 2023
35b553c
Add delta values to remote API.
uhafner Jan 7, 2023
cd9d95e
Refactor quality gates: now the single results are stored as well.
uhafner Jan 8, 2023
6d51c83
Fix messages during quality gate evaluation.
uhafner Jan 8, 2023
afdab0c
Improve naming of enum constants.
uhafner Jan 9, 2023
e4e15f2
Cleanup JavaDoc and messages.
uhafner Jan 9, 2023
a4c74b9
Remove CodeDeltaException.java.
uhafner Jan 9, 2023
b5fb988
Remove deprecated code and refactor some classes.
uhafner Jan 10, 2023
dd138a3
Fix compile error.
uhafner Jan 10, 2023
32af6a2
Move quality gates and evaluation skeleton to util package.
uhafner Jan 12, 2023
6d12e99
Add exception test.
uhafner Jan 12, 2023
092332c
Move quality gates and evaluation skeleton to util package.
uhafner Jan 12, 2023
23402e3
Use a base class for table models.
uhafner Jan 12, 2023
9d9c5bf
Use tooltips to show all available values.
uhafner Jan 12, 2023
22018f2
Rearrange packages.
uhafner Jan 13, 2023
6cc9e4c
Restructure packages even more.
uhafner Jan 16, 2023
97a7296
Use new generic iterable of ECharts module.
uhafner Jan 16, 2023
a7dcf07
Start integration of mutation coverage.
uhafner Jan 17, 2023
8b5d0ad
Fix trend charts what multiple results are available (e.g. PIT).
uhafner Jan 18, 2023
c884c01
Add mutation coverage to tables and trend charts.
uhafner Jan 20, 2023
4894c96
Fix test cases.
uhafner Jan 21, 2023
f44e578
Make file column sort correctly.
uhafner Jan 23, 2023
83205d3
Fix rendering of missing survived mutations.
uhafner Jan 23, 2023
225f9ce
Fix coloring of mutation coverage in source files.
uhafner Jan 25, 2023
976603b
Fix checkstyle warnings.
uhafner Jan 26, 2023
2b58ec9
Fix SpotBugs warnings.
uhafner Jan 26, 2023
ec78242
Fix PMD warnings.
uhafner Jan 26, 2023
f842025
Merge remote-tracking branch 'origin/master' into coverage-model
uhafner Jan 26, 2023
e2e7139
Improve coloring and padding of coverage cells.
uhafner Feb 1, 2023
40d0372
Remove methods that are now part of the Formatter.
uhafner Feb 1, 2023
e7066d1
Move quality gate resources to renamed package.
uhafner Feb 2, 2023
d08fcce
Remove file path validation since the files are now stored in a set.
uhafner Feb 2, 2023
cc8e394
Ignore casting warning.
uhafner Feb 2, 2023
a2310c9
Add support for source code retention strategy MODIFIED.
uhafner Feb 2, 2023
5bfe305
Show only available metrics in tree map.
uhafner Feb 3, 2023
d79a471
Merge new API changes.
uhafner Feb 5, 2023
e09ae5a
Remove snapshot dependency.
uhafner Feb 5, 2023
cdcbaae
Restore to released git forensics version.
uhafner Feb 5, 2023
fe45ac2
Add Modified Files Coverage and GitHub Checks API
fo-code Feb 5, 2023
28b6270
Fix selected URL for job action.
uhafner Feb 5, 2023
7aa867f
Fix stubs in actions in job action tests.
uhafner Feb 5, 2023
5686bea
Add Modified Files Coverage and GitHub Checks API
fo-code Feb 5, 2023
444c8ca
Merge branch 'file-change-coverage' of https://github.com/fo-code/cod…
fo-code Feb 11, 2023
bf9b3a5
Rename Change Coverage to Modified Lines Coverage an fix tests
fo-code Feb 11, 2023
e6901d6
Refactoring of model.
uhafner Feb 14, 2023
42a5ee9
Renaming of changes.
uhafner Feb 14, 2023
c35c60a
Fix checks publisher tests
fo-code Feb 16, 2023
eb78397
Add a toggle to show only changed files in absolute coverage table.
uhafner Feb 28, 2023
14f40ac
Merge branch 'coverage-model' into file-change-coverage
uhafner Mar 1, 2023
24c9815
Merge with latest renames in coverage model.
uhafner Mar 1, 2023
f727183
Fix typo.
uhafner Mar 1, 2023
8c97776
Fix typo.
uhafner Mar 1, 2023
8719661
Fix typo.
uhafner Mar 1, 2023
9c05d7a
Remove @since
uhafner Mar 1, 2023
5709d5c
Remove @since
uhafner Mar 1, 2023
96b4228
Do not create tree nodes that do not have a value attached.
uhafner Mar 1, 2023
7eb5c4f
Add incremental versions of dependencies.
uhafner Mar 1, 2023
cacc7df
Add incremental version of forensics-plugin.
uhafner Mar 1, 2023
495ece7
Fix for review comments
fo-code Mar 1, 2023
1a6c504
Use latest incremental version of plugin-util.
uhafner Mar 3, 2023
f41892d
Add customization options for checks.
uhafner Mar 3, 2023
af27993
Add different types of single lines.
uhafner Mar 7, 2023
afb110e
Bump version of coverage-model to 0.15.0.
uhafner Mar 7, 2023
d7f922e
Delete unused table model.
uhafner Mar 7, 2023
5b483c4
Simplify assertions.
uhafner Mar 7, 2023
377d093
Add test for ALL_LINES.
uhafner Mar 7, 2023
9a9232a
Merge pull request #556 from fo-code/file-change-coverage
uhafner Mar 8, 2023
18a7cd0
Merge remote-tracking branch 'origin/master' into coverage-model
uhafner Mar 8, 2023
7036c8f
Move coverage-model to new package edu.hm.hafner.coverage.
uhafner Mar 9, 2023
90d5b39
Bump analysis-POM version to 6.2.0.
uhafner Mar 9, 2023
8ade682
Fix some minor bugs.
uhafner Mar 10, 2023
c560e21
Update documentation.
uhafner Mar 10, 2023
79e2a03
Use different symbols in cards.
uhafner Mar 10, 2023
29a2a18
Bump version of of echarts to 5.4.0-2.
uhafner Mar 10, 2023
814a84f
Fix title texts in table.
uhafner Mar 10, 2023
2507bf0
Exclude libraries that are part of plugin-util.
uhafner Mar 10, 2023
47be59c
Bump version of JS libs.
uhafner Mar 10, 2023
92640e3
Remove usage of safe controls. This is default in Jenkins now.
uhafner Mar 10, 2023
51c8763
Fix missing namespace.
uhafner Mar 11, 2023
4a99c06
Fix images appearing twice due to same name in tag libs.
uhafner Mar 11, 2023
aa57578
Bump version of jquery-api to 3.6.3-1.
uhafner Mar 12, 2023
7ddc7b9
Bump version of plugin-util to 3.0.0.
uhafner Mar 12, 2023
a0deb1a
Bump version of font-awesome to 6.3.0-1.
uhafner Mar 12, 2023
e1ac98d
Bump version of bootstrap to 5.2.2-1.
uhafner Mar 12, 2023
9e731de
Bump version of data-tables to 1.13.3-1.
uhafner Mar 12, 2023
2d7b2ef
Bump version of echarts to 5.4.0-2
uhafner Mar 12, 2023
91b81d7
Bump version of prism to 1.29.0-3.
uhafner Mar 12, 2023
7a5ab20
Bump version of forensics to 2.0.0.
uhafner Mar 12, 2023
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
10 changes: 10 additions & 0 deletions .github/check-md-links.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"httpHeaders": [
{
"urls": ["https://github.com/", "https://guides.github.com/", "https://help.github.com/", "https://docs.github.com/"],
"headers": {
"Accept-Encoding": "zstd, br, gzip, deflate"
}
}
]
}
11 changes: 11 additions & 0 deletions .github/workflows/assign-pr.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
name: 'Auto Assign PR'

on: pull_request_target

jobs:
add-reviews:
runs-on: ubuntu-latest
steps:
- uses: kentaro-m/[email protected]
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"
5 changes: 3 additions & 2 deletions .github/workflows/check-md-links.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Check Markdown links
name: 'Check Markdown links'

on: push

Expand All @@ -9,4 +9,5 @@ jobs:
- uses: actions/checkout@v3
- uses: gaurav-nelson/github-action-markdown-link-check@v1
with:
check-modified-files-only: 'yes'
check-modified-files-only: 'no'
config-file: '.github/check-md-links.json'
51 changes: 51 additions & 0 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
name: "CodeQL"

on:
push:
branches:
- master
- main
pull_request:
branches:
- master
- main
schedule:
- cron: "32 3 * * 0"

jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
permissions:
actions: read
contents: read
security-events: write

strategy:
fail-fast: false
matrix:
language: [ java ]

steps:
- name: Checkout
uses: actions/checkout@v3

- name: Setup Java
uses: actions/setup-java@v3
with:
distribution: temurin
java-version: 11

- name: Initialize CodeQL
uses: github/codeql-action/init@v2
with:
languages: ${{ matrix.language }}
queries: +security-and-quality

- name: Autobuild
uses: github/codeql-action/autobuild@v2

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2
with:
category: "/language:${{ matrix.language }}"
11 changes: 4 additions & 7 deletions .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,13 @@ on:
push:
branches:
- master
- main
pull_request:

jobs:
coverage:

runs-on: [ubuntu-latest]
runs-on: ubuntu-latest
name: Coverage on Ubuntu

steps:
Expand All @@ -20,14 +21,10 @@ jobs:
distribution: 'temurin'
java-version: '11'
check-latest: true
cache: 'maven'
- name: Generate coverage with JaCoCo
env:
BROWSER: firefox-container
run: mvn -V --color always -ntp clean verify jacoco:prepare-agent test integration-test jacoco:report --file plugin/pom.xml '-Dgpg.skip'

run: mvn -V --color always -ntp clean verify --file pom.xml '-Dgpg.skip'
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
with:
files: 'target/site/jacoco/jacoco.xml'
token: ${{secrets.CODECOV_TOKEN}}
file: ./plugin/target/site/jacoco/jacoco.xml
14 changes: 14 additions & 0 deletions .github/workflows/enforce-labels.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
name: Enforce PR labels

on:
pull_request:
types: [unlabeled]
jobs:
enforce-label:
runs-on: ubuntu-latest
steps:
- uses: yogevbd/[email protected]
with:
REQUIRED_LABELS_ANY: "bug,feature,enhancement,deprecated,removed,tests,documentation,internal,dependencies"
REQUIRED_LABELS_ANY_DESCRIPTION: "Maintainer needs to assign at least one label before merge"
BANNED_LABELS: "banned"
2 changes: 2 additions & 0 deletions .github/workflows/sync-labels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,10 @@ on:
push:
branches:
- master
- main
paths:
- .github/labels.yml
- .github/workflows/sync-labels.yml

jobs:
build:
Expand Down
6 changes: 3 additions & 3 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ def configurations = [

buildPlugin(failFast: false, configurations: configurations, timeout: 90,
checkstyle: [qualityGates: [[threshold: 1, type: 'NEW', unstable: true]],
filters:[includePackage('io.jenkins.plugins.coverage.model')]],
filters:[includePackage('io.jenkins.plugins.coverage.metrics')]],
pmd: [qualityGates: [[threshold: 1, type: 'NEW', unstable: true]],
filters:[includePackage('io.jenkins.plugins.coverage.model')]],
filters:[includePackage('io.jenkins.plugins.coverage.metrics')]],
spotbugs: [qualityGates: [[threshold: 1, type: 'NEW', unstable: true]],
filters:[includePackage('io.jenkins.plugins.coverage.model')]])
filters:[includePackage('io.jenkins.plugins.coverage.metrics')]])
Loading