diff --git a/README.md b/README.md index f70a60f..0e59b63 100644 --- a/README.md +++ b/README.md @@ -29,4 +29,8 @@ Here you find templates for integrating your repository with us. ## Travis CI - Add Debricked token variable. [Read more](https://debricked.com/docs/integrations/ci-build-systems/travis.html) -- [See template](.travis.yml) \ No newline at end of file +- [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) \ No newline at end of file diff --git a/bitbucket-pipelines.yml b/bitbucket-pipelines.yml new file mode 100644 index 0000000..11ea224 --- /dev/null +++ b/bitbucket-pipelines.yml @@ -0,0 +1,15 @@ +image: + name: atlassian/default-image:2 + +test: &test + step: + name: Test + script: + - pipe: debricked/debricked-scan:1.4.1 + variables: + DEBRICKED_TOKEN: $DEBRICKED_TOKEN + # For all options, please check https://bitbucket.org/debricked/debricked-scan + +pipelines: + default: + - <<: *test \ No newline at end of file