Explorar o código

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

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

+ 2 - 2
Jenkins/jenkinsfile

@@ -1,8 +1,8 @@
 #!groovy
 def GetLog() {
-    withCredentials([string(credentialsId: 'JenkinsAPI', variable: 'token')])
+    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
 }