Bamboo
Last updated
Last updated
In this section we'll explain how to integrate Meterian with Bamboo pipeline.
After creating the plan, in the plan configuration dashboard, add a new Job:
Create a new Job and fill the field as displayed in the image
Select the newly created Job, add a new Task and select Docker as Task type
Now fill the field as specified in the image
Make sure you select "Run a Docker container", specify meterian/cli
as Docker image, METERIAN_API_TOKEN
as container environment variable and java -jar ~/meterian-cli.jar [Meterian CLI Options]
as container command.
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.
Learn more about the Meterian Client here.
Bamboo docker will download and set the Meterian container, which contains the latest version of the Meterian client and the building tools for all the supported languages, then Meterian will be launched against the project.
Finally, given the result of the scan, the Bamboo task will pass or it will fail.