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