Explorar o código

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

vmshay %!s(int64=5) %!d(string=hai) anos
pai
achega
a19d1cd4ee
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      Jenkins/jenkinsfile

+ 1 - 1
Jenkins/jenkinsfile

@@ -2,7 +2,7 @@
 def GetLog() {
     withCredentials([string(credentialsId: 'JenkinsAPI', variable: 'token')])
     responce = httprequest(httpMode: 'GET',
-      url: 'http//admin:token@${BUILD_URL}/consoleText',
+      url: 'http//admin:$token@${BUILD_URL}/consoleText',
       validResponces: '200')
     return responce
 }