Sfoglia il codice sorgente

Обновить 'Jenkins/jenkinsfile'

vmshay 5 anni fa
parent
commit
3ecd42c07c
1 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  1. 2 2
      Jenkins/jenkinsfile

+ 2 - 2
Jenkins/jenkinsfile

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