Browse Source

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

vmshay 5 năm trước cách đây
mục cha
commit
760a430d76
1 tập tin đã thay đổi với 1 bổ sung2 xóa
  1. 1 2
      Jenkins/jenkinsfile

+ 1 - 2
Jenkins/jenkinsfile

@@ -4,8 +4,7 @@ def GetLog(build_url) {
     withCredentials([string(credentialsId: 'JenkinsAPI', variable: 'token')]){
 		def creds = 'admin:' + token
 		def auth = creds.bytes.encodeBase64().toString()
-    	responce = httpRequest(contentType: 'APPLICATION_JSON', 
-		httpMode: 'GET',
+    	responce = httpRequest(httpMode: 'GET',
 		url: 'http://' + strip + 'consoleText',
 		customHeaders:[[name:'Authorization', value:"Basic ${auth}"]])
     return responce