Mauvaise variable suite à réécriture
All checks were successful
Cadoles/Jenkins/pipeline/head This commit looks good

This commit is contained in:
Benjamin Bohard 2022-02-10 15:05:22 +01:00
parent fe3c728823
commit 493e9afd64

View File

@ -132,7 +132,7 @@ def distributePublication(
def postBody = JsonOutput.toJson(bodyContent)
response = httpRequest authentication: credentials, url: "https://${pulpHost}${url}", httpMode: httpMode, requestBody: postBody, contentType: 'APPLICATION_JSON', ignoreSslErrors: true, validResponseCodes: "100:399"
jsonResponse = readJSON text: response.content
if (distribution) {
if (distributionHREF) {
waitForTaskCompletion(credentials, jsonResponse.task)
return [url]
} else {