diff --git a/README.md b/README.md index 13ac976..f80902d 100644 --- a/README.md +++ b/README.md @@ -49,3 +49,7 @@ Different CI/CD tools offer different support for this. Below you can find docs ## Travis CI - Add Debricked token variable. [Read more](https://debricked.com/docs/integrations/ci-build-systems/travis.html) - [See template](.travis.yml) + +## Bitbucket +- Add Debricked token variable. [Read more](https://debricked.com/docs/integrations/ci-build-systems/bitbucket.html) +- [See template](bitbucket-pipelines.yml) diff --git a/bitbucket-pipelines.yml b/bitbucket-pipelines.yml new file mode 100644 index 0000000..53ebbd5 --- /dev/null +++ b/bitbucket-pipelines.yml @@ -0,0 +1,16 @@ +pipelines: + default: + - step: + name: "Generate dependencies file" + image: maven:3-jdk-11 + script: + - mvn dependency:tree -DoutputFile=.debricked-maven-dependencies.tgf -DoutputType=tgf + artifacts: + - '**.debricked-maven-dependencies.tgf' + - step: + name: Debricked-scan + script: + - pipe: debricked/debricked-scan:1.4.1 + variables: + DEBRICKED_TOKEN: $DEBRICKED_TOKEN + # For all options, please check https://bitbucket.org/debricked/debricked-scan \ No newline at end of file