|
@@ -2,10 +2,11 @@
|
|
|
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')
|
|
|
- return responce
|
|
|
- }
|
|
|
+ println(url)
|
|
|
+ //withCredentials([string(credentialsId: 'JenkinsAPI', variable: 'TOKEN')]){
|
|
|
+ //responce = httpRequest(httpMode: 'GET', url: 'http://admin:$TOKEN@$link/consoleText')
|
|
|
+ return url
|
|
|
+ //}
|
|
|
}
|
|
|
|
|
|
pipeline {
|