Generic CI
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
Set the METERIAN_API_TOKEN
Specify a secret variable named “METERIAN_API_TOKEN” in the “Environment” section of your CI platform
Integration with Meterian-Docker-Scanner
Easy version
Pre-requisites: Docker, Bash and WGet
In the CI taks / Pipeline add this snippet:
Advanced version
Pre-requisites: Docker
In the CI taks / Pipeline add this snippet:
What does it do?
The latest version of the Meterian Dockerized client will be downloaded into the CI machine and it will run the Meterian analysis against your project
Integration with the Meterian Client
Pre-requisites: Java8, Languages package managers
In the CI tasks / Pipeline add this snippet:
What does it do?
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.
Learn more about the Meterian Client here.
Last updated
Was this helpful?