Integrating Meterian into your CI platform is very simple and it requires very few .steps.
In this section we will explain the different type of integrations.
The only prerequisite is a Meterian API Token
To retrieve a Meterian API Token visit the Meterian Dashboard; in your account select the tab "Tokens" and create a new one, or use an existing one.
API tokens are available only on paid account. To upgrade your subscription, please contact us.
Set the METERIAN_API_TOKEN
Specify a secret variable named “METERIAN_API_TOKEN” in the “Environment” section of your CI platform
The latest version of the Meterian Thin Client will be downloaded to the workspace of your CI task and it will run the Meterian analysis against your project.
The Meterian Thin Client is a Java native application written in Java8, so you will need a suitable JRE installed to your CI environment.
It also requires the package managers for the projects languages:
for example for a NodeJS application it will need to be running in a working NodeJS/NPM installation compatible with your project. This rule applies to every platform.