Bitbucket CI \ CD

Fossa supports Bitbucket CI \ CD pipeline runs out of the box. Simply follow the example below and run fossa with or without CI \ CD tests.


image: python:3.8

pipelines:
default:
- parallel:
- step:
name: Install FOSSA CLI
script:
- >
curl -H 'Cache-Control: no-cache' https://raw.githubusercontent.com/fossas/fossa-cli/master/install-latest.sh | bash
- export FOSSA_API_KEY=$FOSSA_API_KEY
- fossa analyze
- fossa test # optional test fail PR if issues are found based on UI filters

Pipeline with FOSSA API KEY variable

Pipeline with FOSSA API KEY variable

Sample Results with CI \\ CD checks

Sample Results with CI \ CD checks