|
@@ -1,6 +1,7 @@
|
|
|
#!groovy
|
|
|
def GetLog(url) {
|
|
|
def link = url.replaceAll("http://","")
|
|
|
+ println(link)
|
|
|
withCredentials([string(credentialsId: 'JenkinsAPI', variable: 'TOKEN')]){
|
|
|
responce = httpRequest(httpMode: 'GET',
|
|
|
url: 'http://admin:$TOKEN@$link/consoleText',
|