feat(debian): ignore ssl errors when checking packages

This commit is contained in:
wpetit 2024-09-19 13:41:34 +02:00
parent e2960e37c2
commit 4c15ad01c5

View File

@ -52,7 +52,7 @@ def listRepoPackages(Map params = [:]) {
def type = params.type ? params.type : 'binary'
def arch = params.arch ? params.arch : 'amd64'
def response = httpRequest(url: "${baseURL}/dists/${distrib}/${component}/${type}-${arch}/Packages")
def response = httpRequest(ignoreSslErrors: true, url: "${baseURL}/dists/${distrib}/${component}/${type}-${arch}/Packages")
def packages = [:]
def lines = response.content.split('\n')