From 4c15ad01c5672624c00d4fa74edcbdeedcc35d7c Mon Sep 17 00:00:00 2001 From: William Petit Date: Thu, 19 Sep 2024 13:41:34 +0200 Subject: [PATCH] feat(debian): ignore ssl errors when checking packages --- vars/debian.groovy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vars/debian.groovy b/vars/debian.groovy index 079a4b1..f553ca6 100644 --- a/vars/debian.groovy +++ b/vars/debian.groovy @@ -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')