From b7c0f4e2abb07898c50f5acbe0354a5453bbe312 Mon Sep 17 00:00:00 2001 From: Benjamin Bohard Date: Wed, 9 Feb 2022 21:03:53 +0100 Subject: [PATCH] debug response --- vars/pulp.groovy | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/vars/pulp.groovy b/vars/pulp.groovy index d73dbd5..4f18b16 100644 --- a/vars/pulp.groovy +++ b/vars/pulp.groovy @@ -7,7 +7,8 @@ def exportPackages( ) { def exportTasks = [] packages.each { - def response = httpRequest authentication: credentials, url: "https://${pulpHost}/pulp/api/v3/content/deb/packages/", httpMode: 'POST', ignoreSslErrors: true, multipartName: "file", timeout: 900, responseHandle: 'NONE', uploadFile: "${it}" + println(it) + def response = httpRequest authentication: credentials, url: "https://${pulpHost}/pulp/api/v3/content/deb/packages/", httpMode: 'POST', ignoreSslErrors: true, multipartName: "file", timeout: 900, uploadFile: "${it}" println(response) def jsonResponse = readJSON text: response.content println(jsonResponse)