浏览代码

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

vmshay 5 年之前
父节点
当前提交
1669c55cfb
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      Jenkins/jenkinsfile

+ 1 - 1
Jenkins/jenkinsfile

@@ -2,7 +2,7 @@
 def GetLog(build_url) {
 	def strip = build_url.replaceAll('http://','')
     withCredentials([string(credentialsId: 'JenkinsAPI', variable: 'token')]){
-		def creds = "admin:' + token
+		def creds = 'admin:' + token
 		def auth = creds.bytes.encodeBase64().toString()
     	responce = httpRequest(contentType: 'APPLICATION_JSON', 
 		httpMode: 'GET',