From 61b88898d8e738393350dc1c8de28cbd32535037 Mon Sep 17 00:00:00 2001 From: Benjamin Bohard Date: Tue, 1 Mar 2022 16:21:31 +0100 Subject: [PATCH] Debug publication error --- vars/pulp.groovy | 1 + 1 file changed, 1 insertion(+) diff --git a/vars/pulp.groovy b/vars/pulp.groovy index b61c4ba..59392cf 100644 --- a/vars/pulp.groovy +++ b/vars/pulp.groovy @@ -101,6 +101,7 @@ def publishRepository( def postBody = JsonOutput.toJson(postContent) def response = httpRequest authentication: credentials, url: "https://${pulpHost}/pulp/api/v3/publications/deb/apt/", httpMode: 'POST', requestBody: postBody, contentType: 'APPLICATION_JSON', ignoreSslErrors: true def jsonResponse = readJSON text: response.content + println(jsonResponse) return waitForTaskCompletion(credentials, jsonResponse.task) }