🛒 Installing ecoCode
The main way to install ecoCode plugins is through your SonarQube Marketplace. However, it is also possible to download them from GitHub releases.
Install from Marketplace
-
In your SonarQube interface, go under .
-
Search for "ecoCode".
-
Click Install on the wanted lines.
Manually install a GitHub release
-
Find a download the desired GitHub release.
-
Place the obtained file in
<sonarqube-home>/extensions/plugins. -
Restart the server.
GitHub releases locations
Historically, all ecoCode plugins were hosted in a single repository. In December 2023, we split it into one repository per plugin.
Thus, depending on the version you want, you may need to check one repository or the other.
| Plugin | Single repository | Dedicated repository |
|---|---|---|
Java |
From 0.x to 1.4.3: ecocode |
Since 1.5.0: ecoCode-java |
PHP |
From 0.x to 1.3.1: ecocode |
Since 1.4.0: ecoCode-php |
Python |
From 0.x to 1.3.1: ecocode |
Since 1.4.0: ecoCode-python |
Javascript |
From 0.x to 1.3.0: ecocode |
Since 1.4.0: ecoCode-javascript |
C# |
N/A |
Since 0.x: ecocode |
Android |
N/A |
|
iOS |
N/A |