Преглед на файлове

Обновить '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',