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 committed Sep 15, 2023
1 parent cc1b7b7 commit 55c56ea
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion examples/v1beta1/bitbucket-server/triggerbinding.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,6 @@ spec:
- name: gitrevision
value: $(body.changes[0].ref.displayId)
- name: gitrepositoryurl
value: $(body.repository.links.clone[0].href)
value: $(body.pullRequest.fromRef.repository.links.clone[?(@.name=="ssh")].href)


0 comments on commit 55c56ea

Please sign in to comment.