Mauvaise variable suite à réécriture
Cadoles/Jenkins/pipeline/head This commit looks good Details

This commit is contained in:
Benjamin Bohard 2022-02-10 15:05:22 +01:00
parent fe3c728823
commit 493e9afd64
1 changed files with 1 additions and 1 deletions

View File

@ -132,7 +132,7 @@ def distributePublication(
def postBody = JsonOutput.toJson(bodyContent) 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" 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 jsonResponse = readJSON text: response.content
if (distribution) { if (distributionHREF) {
waitForTaskCompletion(credentials, jsonResponse.task) waitForTaskCompletion(credentials, jsonResponse.task)
return [url] return [url]
} else { } else {