Ver código fonte

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

vmshay 5 anos atrás
pai
commit
296d08d217
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1 1
      Jenkins/jenkinsfile

+ 1 - 1
Jenkins/jenkinsfile

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