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