File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -35,12 +35,13 @@ configure_git_ssl_verification() {
35
35
add_pullrequest_metadata_basic () {
36
36
# $1: pull request number
37
37
# $2: pull request repository
38
+ # $3: skip ssl verification
38
39
local repo_name=$( basename " $2 " | sed " s/.git$//" )
39
40
local repo_project=$( basename $( dirname " $2 " ) )
40
41
41
42
# parse uri and retrieve host
42
43
uri_parser " $2 "
43
- local repo_host=" ${uri_schema} ://${uri_address} "
44
+ local repo_host=" ${uri_schema} ://${uri_address} " $( getBasePathOfBitbucket )
44
45
45
46
local title=$( set -o pipefail; bitbucket_pullrequest " $repo_host " " $repo_project " " $repo_name " " $1 " " " " $3 " | jq -r ' .title' )
46
47
local commit=$( git rev-parse HEAD)
@@ -86,6 +87,7 @@ add_pullrequest_metadata_commit() {
86
87
pullrequest_metadata () {
87
88
# $1: pull request number
88
89
# $2: pull request repository
90
+ # $3: skip ssl verification
89
91
90
92
local source_commit=$( git rev-list --parents -1 $( git rev-parse HEAD) | awk ' {print $3}' )
91
93
local target_commit=$( git rev-list --parents -1 $( git rev-parse HEAD) | awk ' {print $2}' )
You can’t perform that action at this time.
0 commit comments