Skip to content
This repository has been archived by the owner on Apr 26, 2023. It is now read-only.

Releases: cnescatlab/sonar-hadolint-plugin

sonar-hadolint-plugin 1.1.0

23 Sep 14:33
2be5611
Compare
Choose a tag to compare

⭐ New Features

  • Sonar scanner not detecting/scanning hadolint report for Dockerfiles #26
  • Update Hadolint & Shellcheck rules #21
  • Update pom lib versions and SonarQube API #18
  • Update the CI/CD process to use GitHub Actions #17
  • Add a default value for the dockerfiles list property #16

🪲 Bug Fixes

  • Absolute report path for sonar.hadolint.reports.path #27

Sonar Hadolint Plugin version 1.0.0

22 Oct 17:00
Compare
Choose a tag to compare

SonarQube Hadolint Plugin 1.0.0

We are pleased to announce the SonarQube Hadolint Plugin version 1.0.0.
This plugin enables SonarQube's users to import hadolint results (in Checkstyle format only) into SonarQube.

SonarQube Compability

  • Mostly tested on SonarQube 7.9 LTS
  • Also works on SonarQube 8.0 to 8.5

Features

  • Add a Dockerfile language in SonarQube
  • Add a dedicated Quality Profile with Hadolint & Shellcheck rules
  • Allow SonarScanner to import results (in Checkstyle format only) from Hadolint into SonarQube
  • Add metrics on Number of lines, Number of lines of code & Number of lines of comment
  • Add specific highlighting when opening a Dockerfile in SonarQube web interface

Known limitations

  • A Dockerfile has no specific file extension, so it's impossible for SonarScanner to automatically identify them.
    • The scanner property to use to make this work is described in the README.