1
0
mirror of https://github.com/mc1arke/sonarqube-community-branch-plugin.git synced 2025-02-21 19:20:09 +02:00

364 Commits

Author SHA1 Message Date
dependabot[bot]
c850433236 Bump org.junit:junit-bom from 5.10.2 to 5.10.3
Bumps [org.junit:junit-bom](https://github.com/junit-team/junit5) from 5.10.2 to 5.10.3.
- [Release notes](https://github.com/junit-team/junit5/releases)
- [Commits](https://github.com/junit-team/junit5/compare/r5.10.2...r5.10.3)

---
updated-dependencies:
- dependency-name: org.junit:junit-bom
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-08-10 20:11:10 +01:00
dependabot[bot]
1d0cd64c33 Bump org.mockito:mockito-core from 5.11.0 to 5.12.0
Bumps [org.mockito:mockito-core](https://github.com/mockito/mockito) from 5.11.0 to 5.12.0.
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v5.11.0...v5.12.0)

---
updated-dependencies:
- dependency-name: org.mockito:mockito-core
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-08-10 20:05:55 +01:00
Michael Clarke
a7ca8b6092 Update versions table with latest release 2024-08-10 19:56:43 +01:00
Michael Clarke
079b0d738c Return to SNAPSHOT version post release 2024-08-10 19:45:45 +01:00
GitHub
34813eb83f [Gradle Release Plugin] - new version commit: '1.20.1'. 2024-08-10 18:04:18 +00:00
Michael Clarke
eb3811ba9f Return to SNAPSHOT version post release 2024-08-10 19:02:33 +01:00
GitHub
425db80a6b [Gradle Release Plugin] - new version commit: '1.19.1'. 2024-04-08 10:16:13 +00:00
Michael Clarke
3353612233 Initiate release 1.19.0 1.19.0 2024-04-08 11:14:45 +01:00
Mykola Rybak
929154b68e #870: Update to SonarQube 10.4
Updates to the latest Sonarqube minor version, including changes
to the Github decorator to handle changes in the JTW library method
signatures inherited from Sonarqube core, and test only changes to
the Class Loader code built into Sonarqube.
2024-04-08 10:58:03 +01:00
dependabot[bot]
0901b66c9d Bump org.wiremock:wiremock from 3.4.2 to 3.5.2
Bumps [org.wiremock:wiremock](https://github.com/wiremock/wiremock) from 3.4.2 to 3.5.2.
- [Release notes](https://github.com/wiremock/wiremock/releases)
- [Commits](https://github.com/wiremock/wiremock/compare/3.4.2...3.5.2)

---
updated-dependencies:
- dependency-name: org.wiremock:wiremock
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-04-06 13:04:01 +01:00
Daniel Gut
8f014bc970
#785: Only minimise Github summary comments with same project key
The Github decorator was not checking the project key listed against a summary
comment so was minimising all summary comments when performing multiple
decorations against a mono-repository. To overcome this, the contents of the
summary comments are being retrieved and only the ones with a project key
matching the current project are being minimised during decoration.
2024-04-06 12:48:57 +01:00
Norbert Kelemen
e039e72fb3
#558: Use PNG images in generated reports
Some email clients block the loading of SVG images,
resulting in the summary reports not displaying 
cleanly. PNG equivalents of those images has been
generated and the report generation switched to use
them. The old SVG images have been retained to 
ensure that existing reports continue to render
where possible.
2024-03-16 13:39:09 +00:00
dependabot[bot]
2ddc5a7221 Bump org.mockito:mockito-core from 5.10.0 to 5.11.0
Bumps [org.mockito:mockito-core](https://github.com/mockito/mockito) from 5.10.0 to 5.11.0.
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v5.10.0...v5.11.0)

---
updated-dependencies:
- dependency-name: org.mockito:mockito-core
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-16 13:34:09 +00:00
dependabot[bot]
c9f000a789 Bump softprops/action-gh-release from 1 to 2
Bumps [softprops/action-gh-release](https://github.com/softprops/action-gh-release) from 1 to 2.
- [Release notes](https://github.com/softprops/action-gh-release/releases)
- [Changelog](https://github.com/softprops/action-gh-release/blob/master/CHANGELOG.md)
- [Commits](https://github.com/softprops/action-gh-release/compare/v1...v2)

---
updated-dependencies:
- dependency-name: softprops/action-gh-release
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-16 13:32:52 +00:00
dependabot[bot]
564094ec7f Bump com.fasterxml.jackson.datatype:jackson-datatype-jsr310
Bumps com.fasterxml.jackson.datatype:jackson-datatype-jsr310 from 2.16.1 to 2.17.0.

---
updated-dependencies:
- dependency-name: com.fasterxml.jackson.datatype:jackson-datatype-jsr310
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-16 13:32:13 +00:00
dependabot[bot]
895a89d751 Bump org.assertj:assertj-core from 3.25.1 to 3.25.3
Bumps [org.assertj:assertj-core](https://github.com/assertj/assertj) from 3.25.1 to 3.25.3.
- [Release notes](https://github.com/assertj/assertj/releases)
- [Commits](https://github.com/assertj/assertj/compare/assertj-build-3.25.1...assertj-build-3.25.3)

---
updated-dependencies:
- dependency-name: org.assertj:assertj-core
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-25 13:28:44 +00:00
dependabot[bot]
0d11e20a9d Bump org.junit:junit-bom from 5.10.1 to 5.10.2
Bumps [org.junit:junit-bom](https://github.com/junit-team/junit5) from 5.10.1 to 5.10.2.
- [Release notes](https://github.com/junit-team/junit5/releases)
- [Commits](https://github.com/junit-team/junit5/compare/r5.10.1...r5.10.2)

---
updated-dependencies:
- dependency-name: org.junit:junit-bom
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-25 13:17:20 +00:00
dependabot[bot]
f361eca641 Bump org.wiremock:wiremock from 3.3.1 to 3.4.2
Bumps [org.wiremock:wiremock](https://github.com/wiremock/wiremock) from 3.3.1 to 3.4.2.
- [Release notes](https://github.com/wiremock/wiremock/releases)
- [Commits](https://github.com/wiremock/wiremock/compare/3.3.1...3.4.2)

---
updated-dependencies:
- dependency-name: org.wiremock:wiremock
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-25 13:16:50 +00:00
dependabot[bot]
84914f68d6 Bump org.mockito:mockito-core from 5.8.0 to 5.10.0
Bumps [org.mockito:mockito-core](https://github.com/mockito/mockito) from 5.8.0 to 5.10.0.
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v5.8.0...v5.10.0)

---
updated-dependencies:
- dependency-name: org.mockito:mockito-core
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-25 13:12:09 +00:00
dependabot[bot]
cc89179150 Bump actions/cache from 3 to 4
Bumps [actions/cache](https://github.com/actions/cache) from 3 to 4.
- [Release notes](https://github.com/actions/cache/releases)
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md)
- [Commits](https://github.com/actions/cache/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/cache
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-25 13:11:44 +00:00
Krapp
2ed22ae05d Add docker-compose setup steps to README 2024-02-25 13:11:15 +00:00
dependabot[bot]
5e5ca504c4 Bump org.assertj:assertj-core from 3.25.0 to 3.25.1
Bumps [org.assertj:assertj-core](https://github.com/assertj/assertj) from 3.25.0 to 3.25.1.
- [Release notes](https://github.com/assertj/assertj/releases)
- [Commits](https://github.com/assertj/assertj/compare/assertj-build-3.25.0...assertj-build-3.25.1)

---
updated-dependencies:
- dependency-name: org.assertj:assertj-core
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-03 21:03:49 +00:00
Michael Clarke
914afdc230 Update versions table with the latest releases
Any version from before the last LTS version have been removed since we
typically only fix for the next release and backport to the LTS release
rather than fixing any issues in all available releases.
2024-01-01 17:06:49 +00:00
Michael Clarke
cc93d63465 Return to SNAPSHOT version post release 2024-01-01 16:29:40 +00:00
GitHub
8d234836a7 [Gradle Release Plugin] - new version commit: '1.18.1'. 2024-01-01 16:25:21 +00:00
Michael Clarke
9de5a9df65 Initiate release 1.18.0 1.18.0 2024-01-01 16:24:04 +00:00
Michael Clarke
77487160a4 #829: Add support for Sonarqube 10.3
The constants in `CeTaskCharacteristicsDto` have been moved into a new
class `CeTaskCharacteristics`, so the references in the plugin have
been updated.
2024-01-01 15:54:47 +00:00
Michael Clarke
a86b1e6457 Fix release task not creating any artefacts
When the release plugin was upgraded, the configuration was not altered
to set a pre-release task needing executed, so no plugin JAR was being
created as part of the release step. The `assemble` task is now being
set to ensure the JAR exists in the relevant output directory for
dependent steps to pick up.

(cherry picked from commit 4aba3e1584f53b3c77a2b5a519cfe9d27fd8e76f)
2024-01-01 15:45:59 +00:00
Michael Clarke
2172ed7eb5 Return to SNAPSHOT version post release 2024-01-01 14:30:56 +00:00
GitHub
e6d6b670f8 [Gradle Release Plugin] - new version commit: '1.17.1'. 2024-01-01 14:23:35 +00:00
Michael Clarke
56c109de52 Initiate release 1.17.0 1.17.0 2024-01-01 14:22:12 +00:00
Michael Clarke
77522bbea8 #738: Prevent missing pull request data from causing API errors
The scanner currently skips validation of a target branch if a Pull
Request is used to create a new project, so the resulting project fails
to load in front-end due to the Pull Request API treating the data on
that pull request as invalid. This is being overcome by validating that
a target branch exists for all Pull Request submissions and rejecting
the scan submission if the target branch is not found in Sonarqube.

Additionally, there's a delay between a Pull Request being recorded in
the database by the server component as a result of the call from the
scanner, and the Compute Engine recording the Pull Request details
(source, target, title etc.) against the branch. During this time the
Pull Request treats that Pull Request as invalid and throws an error,
meaning the project cannot be loaded through the UI, or the Pull
Requests listed through the API. As the Pull Request response fields
filled from the Pull Request data are not mandatory, those fields are
now only being completed if the Pull Request data is set on the branch
DTO rather than throwing an exception if the data isn't set.
2024-01-01 13:55:52 +00:00
dependabot[bot]
62a4422faa Bump org.assertj:assertj-core from 3.24.2 to 3.25.0
Bumps [org.assertj:assertj-core](https://github.com/assertj/assertj) from 3.24.2 to 3.25.0.
- [Release notes](https://github.com/assertj/assertj/releases)
- [Commits](https://github.com/assertj/assertj/compare/assertj-build-3.24.2...assertj-build-3.25.0)

---
updated-dependencies:
- dependency-name: org.assertj:assertj-core
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-01 13:53:33 +00:00
dependabot[bot]
d4f548c553 Bump org.javassist:javassist from 3.29.2-GA to 3.30.2-GA
Bumps [org.javassist:javassist](https://github.com/jboss-javassist/javassist) from 3.29.2-GA to 3.30.2-GA.
- [Release notes](https://github.com/jboss-javassist/javassist/releases)
- [Changelog](https://github.com/jboss-javassist/javassist/blob/master/Changes.md)
- [Commits](https://github.com/jboss-javassist/javassist/commits)

---
updated-dependencies:
- dependency-name: org.javassist:javassist
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-01 13:53:11 +00:00
dependabot[bot]
dbd4d873c2 Bump com.fasterxml.jackson.datatype:jackson-datatype-jsr310
Bumps com.fasterxml.jackson.datatype:jackson-datatype-jsr310 from 2.16.0 to 2.16.1.

---
updated-dependencies:
- dependency-name: com.fasterxml.jackson.datatype:jackson-datatype-jsr310
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-01 13:44:59 +00:00
Michael Clarke
45b667be43 Ensure correct coverage is reported to Sonarcloud
Since the Gradle upgrade and the associated Sonarqube plugin upgrade,
Sonarcloud has been reporting no coverage on the project's main branch.
This is due to the Sonarqube plugin no longer executing the test task
so have no coverage report available. The relevant pipeline steps are
being altered to run the `test` task before the Sonarqube task, and have
switched to the new `sonar` name for the task, as well as removing the
compile task dependency since this is implicit from the test task and
matches the future state of Sonarqube's Gradle plugin.
2023-12-31 14:15:42 +00:00
Michael Clarke
7dc4be9811 Fix reference license in project root
The project contains LGPL headings in all the source files and is
intended to be licensed as an LGPL project, but contains a GPL license
file in the project root. As contributors have been committing with LGPL
headers this switch is being made without any wider changes across the
project.
2023-12-31 13:42:28 +00:00
Michael Clarke
531f76adf2 #801: Add support for Sonarqube 10.2
The `checkProjectPermission` on Sonarqube's UserSession has been
replaced with `hasEntityPermission`, and the `mainBranchProjectUuid`
has been dropped from ComponentDTO, which has required a fix to set the
right UUID as the project UUID for the branch. Additionally, the
`MoreCollectors` map/identity collectors have been dropped from
Sonarqube core, so their references have been replaced with equivalent
`toMap` collectors from the JRE.
2023-12-31 13:11:21 +00:00
Michael Clarke
851127def2 Upgrade to the latest Gradle and plugin versions
Bumps to the latest Gradle version, plus upgrades to the latest versions
of all plugins in the build.gradle.
2023-12-31 13:06:22 +00:00
Michael Clarke
b8087c946e Remove references to deprecated Sonar logger
The Sonar logger has been deprecated in favour of SLF4J's Logger and
LoggerFactory, so the references have been replaced throughout the
plugin, and log lines updated to use formats and conditional execution.
Includes fixes to make Pi Test work in the Gradle build.
2023-12-31 12:51:28 +00:00
dependabot[bot]
18332f6a10 Update Wiremock to latest relocated version
Wiremock has relocated from `com.github.tomakehurst` to `org.wiremock`
so the Gradle reference has been updated, and the version bumped to the
latest release of this artefact.
2023-12-31 12:41:35 +00:00
Michael Clarke
3976b91e2e Return to SNAPSHOT version post release 2023-12-29 21:54:22 +00:00
GitHub
4df6129167 [Gradle Release Plugin] - new version commit: '1.16.1'. 2023-12-29 21:44:21 +00:00
Michael Clarke
ee89211f28 Initiate release 1.16.0 1.16.0 2023-12-29 21:42:53 +00:00
Michael Clarke
bcb10bcbfe #782: Fix container build for Sonarqube 10.1
Sonarqube 10.1 includes classes compiled with a Java 17 target, so the
plugin fails to compile in the container build that uses Java 11. The
build container is therefore being bumped to Java 17, and the
environment file configured to pin to Sonarqube 10.1 to allow repeated
builds.
2023-12-29 21:30:11 +00:00
bluebu
47899e861c #782: Add support for Sonarqube 10.1
Updates to the Sonarqube APIs for version 10.1
2023-12-29 19:49:22 +00:00
dependabot[bot]
32aace128b Bump org.junit:junit-bom from 5.10.0 to 5.10.1
Bumps [org.junit:junit-bom](https://github.com/junit-team/junit5) from 5.10.0 to 5.10.1.
- [Release notes](https://github.com/junit-team/junit5/releases)
- [Commits](https://github.com/junit-team/junit5/compare/r5.10.0...r5.10.1)

---
updated-dependencies:
- dependency-name: org.junit:junit-bom
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-12-29 16:21:18 +00:00
dependabot[bot]
184f1f7e2c Bump com.squareup.okhttp3:logging-interceptor from 4.11.0 to 4.12.0
Bumps [com.squareup.okhttp3:logging-interceptor](https://github.com/square/okhttp) from 4.11.0 to 4.12.0.
- [Changelog](https://github.com/square/okhttp/blob/master/CHANGELOG.md)
- [Commits](https://github.com/square/okhttp/compare/parent-4.11.0...parent-4.12.0)

---
updated-dependencies:
- dependency-name: com.squareup.okhttp3:logging-interceptor
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-12-29 16:16:41 +00:00
dependabot[bot]
51dad442c7 Bump actions/checkout from 3 to 4
Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-12-29 16:15:50 +00:00
dependabot[bot]
fec93b192a Bump com.fasterxml.jackson.datatype:jackson-datatype-jsr310
Bumps com.fasterxml.jackson.datatype:jackson-datatype-jsr310 from 2.15.2 to 2.16.0.

---
updated-dependencies:
- dependency-name: com.fasterxml.jackson.datatype:jackson-datatype-jsr310
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-12-29 16:15:28 +00:00