Using the Java Thin client
Using AzureDevops with the Java Thin client
If you decide to not use the Docker image with your Azure pipeline, you will need to update the configuration file azure-pipelines.yml with this small snippet, which will download and invoke the client:
The requirement is for the base image to have java installed (most images do, see the Azure documentation for details). A working example of the non-native integration using the Java Thin client can be found here.
Please remember that, before invoking the client, you will also need to make sure that the relevant tools are installed and configured in your pipeline. So, for example, if you need to analyse a NodeJS project you will need to install, prior to Meterian, the required tooling, like in this example:
Meterian will be launched against the project source code every time a new change is committed and pushed in your repository. Rember to set the METERIAN_API_TOKEN environment variable, see the Azure Devops section for instructions.
Here's a list of integration examples for every language:
Integration example running on Windows VMs
If your pipeline is running on a windows VM here is an example snippet you should use or refer to
A live example can also be found here.
Last updated