Skip to content

Commit

Permalink
Merge pull request #119 from debricked/bitbucket-shared-pipeline-config
Browse files Browse the repository at this point in the history
Enable setting up integrations with shared pipeline configurations
  • Loading branch information
ProgHaj authored Sep 19, 2023
2 parents 8aba7c1 + 48379f9 commit 6061dd8
Showing 1 changed file with 14 additions and 10 deletions.
24 changes: 14 additions & 10 deletions examples/templates/Bitbucket/bitbucket-pipelines.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,19 @@
export: true

image:
name: atlassian/default-image:2

test: &test
step:
name: Debricked Scan
script:
- curl -L https://github.com/debricked/cli/releases/latest/download/cli_linux_x86_64.tar.gz | tar -xz debricked
- ./debricked scan
services:
- docker

definitions:
pipelines:
Debricked: &Debricked
- step:
name: "Debricked Scan"
script:
- curl -L https://github.com/debricked/cli/releases/latest/download/cli_linux_x86_64.tar.gz | tar -xz debricked
- ./debricked scan
services:
- docker

pipelines:
default:
- <<: *test
- <<: *Debricked

0 comments on commit 6061dd8

Please sign in to comment.