Hello Gonzalo,

The suggested way to use FOSSology in CI environments is by using the scanner 
image you mentioned.
https://github.com/fossology/fossology/wiki/FOSSology-scanners-in-CI
You can find the relevant code and Dockerfile in 
https://github.com/fossology/fossology/tree/master/utils/automation

The docker image essentially contains the scanner binaries, and the Wiki page 
explains how to use them with GitLab/Travis and now with GitHub Actions as well.
We do not have yet tried it with Jenkins. But we are open to have PR for the 
same.

For the REST API, you can find the documentations for the relevant endpoints at 
https://github.com/fossology/fossology/blob/master/src/www/ui/api/documentation/openapi.yaml
There is also a python project which provides these endpoints as a library. It 
can be used to write a custom program which integrates with your environment.
You can find out more about the same at the project: 
https://fossology.github.io/fossology-python/

With best regards,
Gaurav Mishra

From: fossology@lists.fossology.org <fossology@lists.fossology.org> On Behalf 
Of Ayora, Gonzalo via lists.fossology.org
Sent: 15 August 2023 12:43
To: fossology@lists.fossology.org
Subject: [FOSSology] CI/CD Confirmation


Hello everyone,



My name is Gonzalo, and I just started with Fossology. I have just noticed 
there is a REST API interface with which one can trigger analysis jobs. I would 
just like to confirm that this is the official/suggested way to integrate 
Fossology into Jenkins/Bamboo/(your CI/CD platform of choice).





I also noticed there seems to be "scanner images" for GitLab and Travis?

https://github.com/fossology/fossology/wiki/FOSSology-scanners-in-C



 Are there any plans to develop this image as well for Jenkins?




Greetings,

Gonzalo



-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#3513): https://lists.fossology.org/g/fossology/message/3513
Mute This Topic: https://lists.fossology.org/mt/100753858/21656
Group Owner: fossology+ow...@lists.fossology.org
Unsubscribe: https://lists.fossology.org/g/fossology/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-


Reply via email to