|
@@ -4,7 +4,7 @@ def GetLog(url) {
|
|
withCredentials([string(credentialsId: 'JenkinsAPI', variable: 'TOKEN')]){
|
|
withCredentials([string(credentialsId: 'JenkinsAPI', variable: 'TOKEN')]){
|
|
responce = httpRequest(httpMode: 'GET',
|
|
responce = httpRequest(httpMode: 'GET',
|
|
url: 'http://admin:$TOKEN@$link/consoleText',
|
|
url: 'http://admin:$TOKEN@$link/consoleText',
|
|
- validResponces: '200')
|
|
|
|
|
|
+ validResponceCodes: '200')
|
|
return responce
|
|
return responce
|
|
}
|
|
}
|
|
}
|
|
}
|