Skip to content

Commit

Permalink
Fix bitbucket server example when both SSH and HTTPS enabled
Browse files Browse the repository at this point in the history
Fix the bitbucket server example when it has both SSH and HTTPS.
  • Loading branch information
khrm authored and tekton-robot committed Sep 20, 2023
1 parent 6feab85 commit fad25af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/v1beta1/bitbucket-server/triggerbinding.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ spec:
- name: gitrevision
value: $(body.changes[0].ref.displayId)
- name: gitrepositoryurl
value: $(body.repository.links.clone[0].href)
value: $(body.repository.links.clone[?(@.name=="ssh")].href)

0 comments on commit fad25af

Please sign in to comment.