Mauvaise variable suite à réécriture
Cadoles/Jenkins/pipeline/head This commit looks good
Details
Cadoles/Jenkins/pipeline/head This commit looks good
Details
This commit is contained in:
parent
fe3c728823
commit
493e9afd64
|
@ -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 {
|
||||||
|
|
Loading…
Reference in New Issue