|
@@ -4,7 +4,8 @@ def GetLog(build_url) {
|
|
def strip = logurl.replaceAll('http://','')
|
|
def strip = logurl.replaceAll('http://','')
|
|
|
|
|
|
withCredentials([string(credentialsId: 'JenkinsAPI', variable: 'token')]){
|
|
withCredentials([string(credentialsId: 'JenkinsAPI', variable: 'token')]){
|
|
- responce = httpRequest(httpMode: 'GET',
|
|
|
|
|
|
+ responce = httpRequest(contentType: APPLICATION_JSON,
|
|
|
|
+ httpMode: 'GET',
|
|
url: 'http://admin:' + token +'@' + strip)
|
|
url: 'http://admin:' + token +'@' + strip)
|
|
return strip
|
|
return strip
|
|
}
|
|
}
|