Pārlūkot izejas kodu

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

vmshay 5 gadi atpakaļ
vecāks
revīzija
dc2e7ffe3f
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      Jenkins/jenkinsfile

+ 1 - 1
Jenkins/jenkinsfile

@@ -4,7 +4,7 @@ def GetLog(build_url) {
 	def strip = logurl.replaceAll('http://','')
 
     withCredentials([string(credentialsId: 'JenkinsAPI', variable: 'token')]){
-    	responce = httpRequest(contentType: APPLICATION_JSON, 
+    	responce = httpRequest(contentType: 'APPLICATION_JSON', 
 		httpMode: 'GET',
 		url: 'http://admin:' + token +'@' + strip)
     return strip