diff options
Diffstat (limited to 'cmd')
-rw-r--r-- | cmd/serve.go | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/cmd/serve.go b/cmd/serve.go index 5f0362744b..b99ab8fcd6 100644 --- a/cmd/serve.go +++ b/cmd/serve.go @@ -5,6 +5,7 @@ package cmd import ( + "crypto/tls" "fmt" "os" "os/exec" @@ -219,7 +220,9 @@ func runServ(c *cli.Context) { strings.TrimPrefix(task.RefName, "refs/heads/") log.GitLogger.Trace("Trigger task: %s", reqURL) - resp, err := httplib.Head(reqURL).Response() + resp, err := httplib.Head(reqURL).SetTLSClientConfig(&tls.Config{ + InsecureSkipVerify: true, + }).Response() if err == nil { resp.Body.Close() if resp.StatusCode/100 != 2 { |