Browse Source

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

vmshay 5 years ago
parent
commit
760a430d76
1 changed files with 1 additions and 2 deletions
  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