浏览代码

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

vmshay 5 年之前
父节点
当前提交
6473928a5c
共有 1 个文件被更改,包括 2 次插入2 次删除
  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
 }