Skip to content
This repository has been archived by the owner on Sep 11, 2023. It is now read-only.

add bitbucket template #5

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
16 changes: 16 additions & 0 deletions bitbucket-pipelines.yml
Original file line number Diff line number Diff line change
@@ -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